Not all configurations of Uboot require partitions. This patch modifies
partition compilation as configurable parameters.
Signed-off-by: Nishanth Menon<[EMAIL PROTECTED]>
---
common/Kconfig | 4 ++++
common/Makefile | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
Index: u-boot-v2.git/common/Kconfig
===================================================================
--- u-boot-v2.git.orig/common/Kconfig 2008-05-20 17:26:30.000000000 -0500
+++ u-boot-v2.git/common/Kconfig 2008-05-20 17:26:35.000000000 -0500
@@ -205,6 +205,10 @@
bool
prompt "Open Firmware flat device tree support"
+config PARTITION
+ bool
+ prompt "Enable Partitions"
+
config DEFAULT_ENVIRONMENT
bool
default y
Index: u-boot-v2.git/common/Makefile
===================================================================
--- u-boot-v2.git.orig/common/Makefile 2008-05-20 17:19:41.000000000 -0500
+++ u-boot-v2.git/common/Makefile 2008-05-20 17:26:35.000000000 -0500
@@ -11,7 +11,7 @@
obj-y += clock.o
obj-y += command.o
obj-y += console.o
-obj-y += partition.o
+obj-$(CONFIG_PARTITION) += partition.o
obj-y += env.o
obj-y += startup.o
obj-y += misc.o
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users