aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-04-10 01:57:48 -0500
committerRob Landley <rob@landley.net>2020-04-10 01:57:48 -0500
commitdfb51f67d5ebae71883ce3a05d4a5d38653f1890 (patch)
tree90708fb1e414ee495542a71d9deabe6fc1f2687b /scripts
parentf23d9460f37ffc5475faf4fe1bbae5b9fceda46e (diff)
downloadtoybox-dfb51f67d5ebae71883ce3a05d4a5d38653f1890.tar.gz
Document "make root" in make help. (It almost works now!)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/help.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/help.txt b/scripts/help.txt
index 7d52916b..4d07370e 100644
--- a/scripts/help.txt
+++ b/scripts/help.txt
@@ -17,6 +17,10 @@
install - Install toybox into subdirectories of $PREFIX.
uninstall_flat - Remove toybox from $PREFIX directory.
uninstall - Remove toybox from subdirectories of $PREFIX.
+ root - Build/package root filesystem under root/ controlled by
+ CROSS= cross compile (see scripts/mcm-buildall.sh)
+ LINUX= build kernel from this source, configured for qemu
-example: CFLAGS="--static" CROSS_COMPILE=armv5l- make defconfig toybox install
+example: make defconfig toybox install CFLAGS="--static" CROSS_COMPILE=armv5l-
+or : make root CROSS=sh4 LINUX=~/linux && (cd root/sh4; ./qemu-*.sh)