OSDN Git Service

Build vendor toybox unconditionally.
[android-x86/external-toybox.git] / Makefile
index 711d624..c36d1cd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,9 @@ bloatcheck: toybox_old generated/unstripped/toybox
 install_flat:
        scripts/install.sh --symlink --force
 
+install_airlock:
+       scripts/install.sh --symlink --force --airlock
+
 install:
        scripts/install.sh --long --symlink --force
 
@@ -55,6 +58,7 @@ change:
 clean::
        rm -rf toybox generated change .singleconfig*
 
+# If singlemake was in generated/ "make clean; make test_ls" wouldn't work.
 distclean: clean
        rm -f toybox_old .config* .singlemake
 
@@ -75,6 +79,8 @@ help::
        @echo  '                    to show diff, VERBOSE=fail to stop after first failure.'
        @echo  '  clean           - Delete temporary files.'
        @echo  "  distclean       - Delete everything that isn't shipped."
+       @echo  '  install_airlock - Install toybox and host toolchain into $$PREFIX directory'
+       @echo  '                    (providing $$PATH for hermetic builds).'
        @echo  '  install_flat    - Install toybox into $$PREFIX directory.'
        @echo  '  install         - Install toybox into subdirectories of $$PREFIX.'
        @echo  '  uninstall_flat  - Remove toybox from $$PREFIX directory.'