Are we going to start using the config fragments we created a while ago?
(Or did we not reach consensus on that?)

If we could get them into a 'final' git location and start using them
for Ubuntu packaging, I can arrange for a mechanism to enable Android
builds to use them.

I have attached a couple of patches for the config fragments (3.5
removed the PERF_COUNTERS config).

-- 
Tixy



>From f783410df7369354105759c25425108c23c081d0 Mon Sep 17 00:00:00 2001
From: Jon Medhurst <t...@linaro.org>
Date: Wed, 6 Jun 2012 14:24:53 +0100
Subject: [PATCH 1/2] configs: Make CONFIG_MODULES part of linaro-base

CONFIG_MODULE was in both Ubuntu and Android configs so it would be
best if it is in the base config instead. Also, having
CONFIG_MODULE_UNLOAD in will enable the Gator module to be upgraded to a
later version via DKSM without rebooting, and allows for easier testing.

Signed-off-by: Jon Medhurst <t...@linaro.org>
---
 configs/android.conf     |    2 --
 configs/linaro-base.conf |    2 ++
 configs/ubuntu.conf      |    1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/configs/android.conf b/configs/android.conf
index 7dfeb01..b3290b5 100644
--- a/configs/android.conf
+++ b/configs/android.conf
@@ -1,5 +1,3 @@
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
 # CONFIG_THUMB2_KERNEL is not set
 CONFIG_IPV6=y
 # CONFIG_IPV6_SIT is not set
diff --git a/configs/linaro-base.conf b/configs/linaro-base.conf
index 80bdf69..c2f23b1 100644
--- a/configs/linaro-base.conf
+++ b/configs/linaro-base.conf
@@ -11,6 +11,8 @@ CONFIG_PERF_COUNTERS=y
 CONFIG_SLAB=y
 CONFIG_PROFILING=y
 CONFIG_OPROFILE=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
 CONFIG_NO_HZ=y
 CONFIG_HIGH_RES_TIMERS=y
 CONFIG_SMP=y
diff --git a/configs/ubuntu.conf b/configs/ubuntu.conf
index b8c74b8..2c6a13e 100644
--- a/configs/ubuntu.conf
+++ b/configs/ubuntu.conf
@@ -1,6 +1,5 @@
 # CONFIG_LOCALVERSION_AUTO is not set
 # CONFIG_COMPAT_BRK is not set
-CONFIG_MODULES=y
 CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
 CONFIG_SECCOMP=y
 CONFIG_CC_STACKPROTECTOR=y
-- 
1.7.10

>From 835531ed1c3bc4c8f500fe1260341e0b4baea475 Mon Sep 17 00:00:00 2001
From: Jon Medhurst <t...@linaro.org>
Date: Wed, 6 Jun 2012 14:29:52 +0100
Subject: [PATCH 2/2] configs: Replace CONFIG_PERF_COUNTERS with
 CONFIG_PERF_EVENTS

CONFIG_PERF_COUNTERS was removed in comit 392d65a9 (perf: Remove
PERF_COUNTERS config option)

Signed-off-by: Jon Medhurst <t...@linaro.org>
---
 configs/linaro-base.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/linaro-base.conf b/configs/linaro-base.conf
index c2f23b1..a0fa9d5 100644
--- a/configs/linaro-base.conf
+++ b/configs/linaro-base.conf
@@ -7,7 +7,7 @@ CONFIG_IKCONFIG_PROC=y
 CONFIG_LOG_BUF_SHIFT=16
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_EMBEDDED=y
-CONFIG_PERF_COUNTERS=y
+CONFIG_PERF_EVENTS=y
 CONFIG_SLAB=y
 CONFIG_PROFILING=y
 CONFIG_OPROFILE=y
-- 
1.7.10

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to