summaryrefslogtreecommitdiffstats
path: root/common/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-09-25 12:58:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-09-25 12:58:52 +0200
commit913691eccd13c1509470eb8b059aa0beecc6d8d8 (patch)
tree114ef2d910ae37d450031a1b1e5814768d5e8dd7 /common/Makefile
parentfd4cc5d0d370c4cf10a3a8d3884ea69cbd04305b (diff)
downloadbarebox-913691eccd13c1509470eb8b059aa0beecc6d8d8.tar.gz
barebox-913691eccd13c1509470eb8b059aa0beecc6d8d8.tar.xz
add directory handling for environment
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile
index b0df09a7c9..638d38c35c 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -14,7 +14,7 @@ obj-y += misc.o
obj-y += memsize.o
ifdef CONFIG_DEFAULT_ENVIRONMENT_PATH
-include/uboot_default_env.h: $(shell ls $(CONFIG_DEFAULT_ENVIRONMENT_PATH)/*)
+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 > $@