this patch allows for per-arch/board/vendor Kconfig files (and thus
options) by generating vendors/Kconfig based on `find` in the vendors
dir. this way we can keep Blackfin options (like file format and dynamic
device nodes) in our own directories.
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
---
Index: Makefile
===================================================================
RCS file: /usr/local/src/uClinux/local-cvs/,v/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 11 Jun 2007 06:52:54 -0000 1.1.1.1
+++ Makefile 13 Jun 2007 02:55:16 -0000
@@ -102,8 +102,12 @@ tools/cksum: tools/sg-cksum/*.c
# running the kernel and other config scripts
#
+.PHONY: vendors/Kconfig
+vendors/Kconfig:
+ find vendors -mindepth 2 -name Kconfig | sed 's:^:source ../:' >
vendors/Kconfig
+
.PHONY: Kconfig
-Kconfig:
+Kconfig: vendors/Kconfig
@chmod u+x config/mkconfig
config/mkconfig > Kconfig
Index: config/Kconfig
===================================================================
RCS file: /usr/local/src/uClinux/local-cvs/,v/config/Kconfig,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Kconfig
--- config/Kconfig 11 Jun 2007 06:57:34 -0000 1.1.1.1
+++ config/Kconfig 13 Jun 2007 02:54:25 -0000
@@ -12,4 +12,6 @@ source ../lib/Kconfig
source ../user/Kconfig
+source ../vendors/Kconfig
+
#############################################################################
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev