diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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 |