aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 111f32ed..316df2f8 100644
--- a/Makefile
+++ b/Makefile
@@ -60,16 +60,17 @@ uninstall:
change:
scripts/change.sh
-noroot_clean:
- @rm -rf toybox generated change .singleconfig*
-
-clean:: noroot_clean
+root_clean:
@rm -rf root
+ @echo root cleaned
+
+clean::
+ @rm -rf toybox generated change .singleconfig*
@echo cleaned
# If singlemake was in generated/ "make clean; make test_ls" wouldn't work.
-distclean: clean
- @rm -f toybox_old .config* .singlemake
+distclean: clean root_clean
+ @rm -f toybox* .config* .singlemake
@echo removed .config
tests:
@@ -80,7 +81,7 @@ root:
run_root:
C=$$(basename "$$CROSS_COMPILE" | sed 's/-.*//'); \
- cd root/"$${C:-host}" && ./qemu-*.sh || exit 1
+ cd root/"$${C:-host}" && ./qemu-*.sh $(MAKEFLAGS) || exit 1
help::
@cat scripts/help.txt