From dd27cf45660fcf39ac919a7ab478c780e6cbc7b9 Mon Sep 17 00:00:00 2001
From: Tom Zanussi <tom.zanussi@intel.com>
Date: Mon, 17 Sep 2012 13:10:52 -0500
Subject: [PATCH] meta: use profiling and latencytop features in yocto bsps

Where appropriate, add the standard profiling and latencytop features
to the meta-yocto-bsp BSPs.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
 bsp/beagleboard/beagleboard-preempt-rt.scc           | 4 ++++
 bsp/beagleboard/beagleboard-standard.scc             | 4 ++++
 bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-preempt-rt.scc | 4 ++++
 bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-standard.scc   | 4 ++++
 bsp/routerstationpro/routerstationpro-preempt-rt.scc | 3 +++
 bsp/routerstationpro/routerstationpro-standard.scc   | 3 +++
 6 files changed, 22 insertions(+)

diff --git a/bsp/beagleboard/beagleboard-preempt-rt.scc b/bsp/beagleboard/beagleboard-preempt-rt.scc
index aa71a94b7..1e7273a7a 100644
--- a/bsp/beagleboard/beagleboard-preempt-rt.scc
+++ b/bsp/beagleboard/beagleboard-preempt-rt.scc
@@ -5,3 +5,7 @@ define KARCH arm
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
 include beagleboard.scc
+
+# default policy for preempt-rt kernels
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
diff --git a/bsp/beagleboard/beagleboard-standard.scc b/bsp/beagleboard/beagleboard-standard.scc
index b5f6f260c..8e11bc5e0 100644
--- a/bsp/beagleboard/beagleboard-standard.scc
+++ b/bsp/beagleboard/beagleboard-standard.scc
@@ -6,3 +6,7 @@ include ktypes/standard
 branch beagleboard
 
 include beagleboard.scc
+
+# default policy for standard kernels
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-preempt-rt.scc b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-preempt-rt.scc
index 123988224..e8792aefe 100644
--- a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-preempt-rt.scc
+++ b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-preempt-rt.scc
@@ -6,3 +6,7 @@ define KARCH powerpc
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
 include fsl-mpc8315e-rdb.scc
+
+# default policy for preempt-rt kernels
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-standard.scc b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-standard.scc
index f5b9de0f9..00f8f65fb 100644
--- a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-standard.scc
+++ b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb-standard.scc
@@ -7,3 +7,7 @@ include ktypes/standard
 branch fsl-mpc8315e-rdb
 
 include fsl-mpc8315e-rdb.scc
+
+# default policy for standard kernels
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
diff --git a/bsp/routerstationpro/routerstationpro-preempt-rt.scc b/bsp/routerstationpro/routerstationpro-preempt-rt.scc
index 0b2d91114..92df8353b 100644
--- a/bsp/routerstationpro/routerstationpro-preempt-rt.scc
+++ b/bsp/routerstationpro/routerstationpro-preempt-rt.scc
@@ -5,3 +5,6 @@ define KARCH mips
 include ktypes/preempt-rt
 branch routerstationpro
 include routerstationpro.scc
+
+# default policy for preempt-rt kernels
+include features/profiling/profiling.scc
diff --git a/bsp/routerstationpro/routerstationpro-standard.scc b/bsp/routerstationpro/routerstationpro-standard.scc
index 208336092..384940c5e 100644
--- a/bsp/routerstationpro/routerstationpro-standard.scc
+++ b/bsp/routerstationpro/routerstationpro-standard.scc
@@ -6,3 +6,6 @@ include ktypes/standard
 branch routerstationpro
 
 include routerstationpro.scc
+
+# default policy for standard kernels
+include features/profiling/profiling.scc
-- 
GitLab