aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-02-14 01:08:15 -0600
committerRob Landley <rob@landley.net>2015-02-14 01:08:15 -0600
commit45962a70e01c817dea7e7bf872b4e33748df7921 (patch)
tree03bffde8f33322a38ee9d83f2abf47d928487bc1 /Makefile
parent67d9ea5a81c8083875ac7420d7e6a62766b48b6f (diff)
downloadtoybox-45962a70e01c817dea7e7bf872b4e33748df7921.tar.gz
Move guts of "make change" to scripts/change.sh, don't try to build sh or help standalone.
sh builtin commands need multiplexer, help describes other enabled commands.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 2c9a857f..d2919e7d 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ toybox toybox_unstripped: toybox_stuff
scripts/make.sh
.PHONY: clean distclean baseline bloatcheck install install_flat \
- uinstall uninstall_flat test tests help toybox_stuff
+ uinstall uninstall_flat test tests help toybox_stuff change
include kconfig/Makefile
@@ -46,14 +46,7 @@ uninstall:
scripts/install.sh --long --uninstall
change:
- @NOBUILD=1 scripts/make.sh > /dev/null&& \
- $(HOSTCC) -I . scripts/install.c -o generated/instlist && \
- export PREFIX=$${PREFIX:-change/} && \
- mkdir -p "$$PREFIX" && \
- for i in $$(generated/instlist); \
- do echo -n "$$i " && \
- scripts/single.sh $$i > /dev/null || touch $$PREFIX/$${i}.bad; \
- done
+ scripts/change.sh
clean::
rm -rf toybox toybox_unstripped generated change .singleconfig*