summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-02-18 09:35:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-21 17:06:01 +0100
commit068f213bb3203e482334fa2130794c3ff25acb3b (patch)
tree9c149ef12a596aa90ca9070999155c00f993ad15 /Makefile
parent5d22cb385695dc17cb226ba63db3c2a253a56bc6 (diff)
downloadbarebox-068f213bb3203e482334fa2130794c3ff25acb3b.tar.gz
barebox-068f213bb3203e482334fa2130794c3ff25acb3b.tar.xz
make: Add bbenv-y target to generate default environment files
This adds a target to generate environment files from directories. These are compiled into the barebox binary. use it as: bbenv-$(CONFIG_SOMETHING) += my-environment The directory containing the files to compile into the binary should be named my-environment. This can be accessed in C code later as: extern unsigned char __bbenv_my_environment_start[]; extern unsigned char __bbenv_my_environment_end[]; Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b48240a1b7..779ad742f8 100644
--- a/Makefile
+++ b/Makefile
@@ -1022,7 +1022,7 @@ clean: archclean $(clean-dirs)
@find . $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
- -o -name '*.symtypes' \) \
+ -o -name '*.symtypes' -o -name '*.bbenv.S' -o -name "*.bbenv" \) \
-type f -print | xargs rm -f
# mrproper - Delete all generated files, including .config