summaryrefslogtreecommitdiffstats
path: root/common/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-06-10 12:13:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-06-19 22:57:39 +0200
commit7d58f3f346a29c7a0026864cac7c4d3ad0d89d88 (patch)
tree4aeb18b0e972431bd461f7316edb3807fce6540b /common/Makefile
parent40c4e61554adc11822e68e0dc45f73e17a2a3094 (diff)
downloadbarebox-7d58f3f346a29c7a0026864cac7c4d3ad0d89d88.tar.gz
barebox-7d58f3f346a29c7a0026864cac7c4d3ad0d89d88.tar.xz
bootm: factor out code to make it usable from C
Much of the bootm code is implemented in the command itself. Move it to a common place to be able to call it from C aswell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 2f0bd34569..34eb7e41ee 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -42,6 +42,7 @@ obj-$(CONFIG_MODULES) += module.o
obj-$(CONFIG_FLEXIBLE_BOOTARGS) += bootargs.o
obj-$(CONFIG_BAREBOX_UPDATE) += bbu.o
obj-y += bootsource.o
+obj-$(CONFIG_BOOTM) += bootm.o
extra-$(CONFIG_MODULES) += module.lds
extra-y += barebox_default_env barebox_default_env.h