diff options
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/Makefile b/common/Makefile index 4b8cce0d01..6ca3d98350 100644 --- a/common/Makefile +++ b/common/Makefile @@ -11,17 +11,19 @@ obj-y += clock.o obj-y += command.o obj-$(CONFIG_CONSOLE_FULL) += console.o obj-$(CONFIG_CONSOLE_SIMPLE) += console_simple.o +obj-$(CONFIG_DIGEST) += digest.o obj-y += env.o obj-y += startup.o obj-y += misc.o obj-y += memsize.o obj-$(CONFIG_MENU) += menu.o +obj-$(CONFIG_PASSWORD) += password.o obj-$(CONFIG_MODULES) += module.o extra-$(CONFIG_MODULES) += module.lds ifdef CONFIG_DEFAULT_ENVIRONMENT -$(obj)/startup.o: include/barebox_default_env.h -$(obj)/env.o: include/barebox_default_env.h +$(obj)/startup.o: include/generated/barebox_default_env.h +$(obj)/env.o: include/generated/barebox_default_env.h ENV_FILES := $(shell cd $(srctree); for i in $(CONFIG_DEFAULT_ENVIRONMENT_PATH); do find $${i} -type f -exec readlink -f {} \;; done) @@ -30,5 +32,5 @@ endif # ifdef CONFIG_DEFAULT_ENVIRONMENT barebox_default_env: $(ENV_FILES) $(Q)$(srctree)/scripts/genenv $(srctree) $(objtree) $(CONFIG_DEFAULT_ENVIRONMENT_PATH) -include/barebox_default_env.h: barebox_default_env +include/generated/barebox_default_env.h: barebox_default_env $(Q)cat $< | $(objtree)/scripts/bin2c default_environment > $@ |