diff options
author | Nishanth Menon <x0nishan@ti.com> | 2008-06-05 19:45:19 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-06-05 19:45:19 +0200 |
commit | deaf6db1724e57be5c981808713919c1ca5e0766 (patch) | |
tree | 41c25b2dcc7374666db6ed71172bce8648915a61 /common | |
parent | 1ecafc5f8dc2bf793436264200422aea89ae1c7c (diff) | |
download | barebox-deaf6db1724e57be5c981808713919c1ca5e0766.tar.gz barebox-deaf6db1724e57be5c981808713919c1ca5e0766.tar.xz |
007-partitions
[Patch 07/17] U-Boot-V2:Common Make partitions configurable
Not all configurations of Uboot require partitions. This patch modifies partition compilation as configurable param
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 4 | ||||
-rw-r--r-- | common/Makefile | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig index 234b91f426..c0112a54e2 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -261,6 +261,10 @@ config OF_FLAT_TREE bool prompt "Open Firmware flat device tree support" +config PARTITION + bool + prompt "Enable Partitions" + config DEFAULT_ENVIRONMENT bool default y diff --git a/common/Makefile b/common/Makefile index 7aeba86c57..c5b47ea74d 100644 --- a/common/Makefile +++ b/common/Makefile @@ -11,7 +11,7 @@ obj-y += dlmalloc.o 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 |