Thread (15 messages) 15 messages, 6 authors, 2007-09-18

Re: [PATCH 2/7] powerpc: Changes the config mechanism for rheap

flat view

From: Kumar Gala <hidden>
Date: 2007-09-16 15:59:34

On Sep 16, 2007, at 5:53 AM, Sylvain Munaut wrote:
Instead of having in the makefile all the option that
requires rheap, we define a configuration symbol
and when needed we make sure it's selected.

Signed-off-by: Sylvain Munaut <redacted>
---
 arch/powerpc/Kconfig                   |    2 ++
 arch/powerpc/lib/Kconfig               |    3 +++
 arch/powerpc/lib/Makefile              |    5 +----
 arch/powerpc/platforms/Kconfig         |    2 ++
 arch/powerpc/platforms/Kconfig.cputype |    1 +
 5 files changed, 9 insertions(+), 4 deletions(-)
 create mode 100644 arch/powerpc/lib/Kconfig
This probably breaks arch/ppc in that you'll need to add the proper select PPC_LIB_RHEAP to its Kconfig(s) for 8xx & CPM2.
quoted hunk ↗ jump to hunk
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 00099ef..76063b9 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -634,6 +634,8 @@ source "fs/Kconfig"

 source "arch/powerpc/sysdev/qe_lib/Kconfig"

+source "arch/powerpc/lib/Kconfig"
+
 source "lib/Kconfig"

 menu "Instrumentation Support"
diff --git a/arch/powerpc/lib/Kconfig b/arch/powerpc/lib/Kconfig
new file mode 100644
index 0000000..f383ad4
why not just stick this in the toplevel powerpc/Kconfig
quoted hunk ↗ jump to hunk
--- /dev/null
+++ b/arch/powerpc/lib/Kconfig
@@ -0,0 +1,3 @@
+config PPC_LIB_RHEAP
+	bool
+	default n
Please add a help description here.

[snip]

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help