summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-07-05 21:13:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-07-25 09:27:27 +0200
commita6ce65b12175ba1cf1c56bdc70970d31461c1d95 (patch)
treeeff831d05e61665b62e877d0a44ca72c8c3c9b62 /common
parent32fe6b09c2869a9d4a4975cd6e9893b994c3e5c8 (diff)
downloadbarebox-a6ce65b12175ba1cf1c56bdc70970d31461c1d95.tar.gz
barebox-a6ce65b12175ba1cf1c56bdc70970d31461c1d95.tar.xz
uimage: introduce UIMAGE Kconfig symbol
Both the uimage command and the bootm command need uImage support, so add a Kconfig symbol for it to be able to select it properly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig3
-rw-r--r--common/Makefile4
2 files changed, 5 insertions, 2 deletions
diff --git a/common/Kconfig b/common/Kconfig
index b776031bad..9e4f6b331e 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -47,6 +47,9 @@ config BINFMT
bool
select FILETYPE
+config UIMAGE
+ bool
+
config GLOBALVAR
bool
diff --git a/common/Makefile b/common/Makefile
index a1926d346d..d99dfa271a 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -24,8 +24,8 @@ obj-$(CONFIG_CONSOLE_FULL) += console.o
obj-$(CONFIG_CONSOLE_SIMPLE) += console_simple.o
obj-$(CONFIG_DIGEST) += digest.o
obj-$(CONFIG_ENVIRONMENT_VARIABLES) += env.o
-obj-$(CONFIG_CMD_BOOTM) += image.o
-obj-$(CONFIG_CMD_BOOTM) += uimage.o
+obj-$(CONFIG_UIMAGE) += image.o
+obj-$(CONFIG_UIMAGE) += uimage.o
obj-y += startup.o
obj-y += misc.o
obj-y += memsize.o