OSDN Git Service

Build vendor toybox unconditionally.
[android-x86/external-toybox.git] / Makefile
index c723740..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
 
@@ -64,7 +68,8 @@ tests:
 help::
        @echo  '  toybox          - Build toybox.'
        @echo  '  COMMANDNAME     - Build individual toybox command as a standalone binary.'
-       @echo  '  list            - List COMMANDNAMEs (also list_working and list_pending).'
+       @echo  '  list            - List COMMANDNAMEs you can build standalone.'
+       @echo  '  list_pending    - List unfinished COMMANDNAMEs out of toys/pending.'
        @echo  '  change          - Build each command standalone under change/.'
        @echo  '  baseline        - Create toybox_old for use by bloatcheck.'
        @echo  '  bloatcheck      - Report size differences between old and current versions'
@@ -74,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.'