summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-10-04 13:03:18 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-10-04 13:03:18 +0200
commita680c7f158ace23ef1cc0d2b5232c2177c2f11a5 (patch)
tree1010cc37135a1f60cb6c5a9933213f2db5f7c912 /common
parente31b42385bbeb9683510be0b9fb6f027ebc3d05e (diff)
downloadbarebox-a680c7f158ace23ef1cc0d2b5232c2177c2f11a5.tar.gz
barebox-a680c7f158ace23ef1cc0d2b5232c2177c2f11a5.tar.xz
add dependency to include/uboot_default_env.h for startup.c
Diffstat (limited to 'common')
-rw-r--r--common/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index dcd3bdeae1..2d1d565af2 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -16,6 +16,9 @@ obj-y += misc.o
obj-y += memsize.o
ifdef CONFIG_DEFAULT_ENVIRONMENT_PATH
+
+startup.o: include/uboot_default_env.h
+
include/uboot_default_env.h: $(shell find $(CONFIG_DEFAULT_ENVIRONMENT_PATH) -type f)
$(Q)scripts/ubootenv -s $(CONFIG_DEFAULT_ENVIRONMENT_PATH) uboot_default_env
$(Q)cat uboot_default_env | scripts/bin2c default_environment > $@