diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | scripts/help.txt | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -80,8 +80,7 @@ root: scripts/mkroot.sh $(MAKEFLAGS) run_root: - C=$$(basename "$$CROSS_COMPILE" | sed 's/-.*//'); \ - cd root/"$${C:-host}" && ./qemu-*.sh $(MAKEFLAGS) || exit 1 + cd root/"$${CROSS:-host}" && ./qemu-*.sh help:: @cat scripts/help.txt diff --git a/scripts/help.txt b/scripts/help.txt index 4d07370e..5bf0d613 100644 --- a/scripts/help.txt +++ b/scripts/help.txt @@ -20,7 +20,8 @@ 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 + run_root - boot toyroot under qemu, I.E. cd root/$CROSS && ./qemu-*.sh example: make defconfig toybox install CFLAGS="--static" CROSS_COMPILE=armv5l- -or : make root CROSS=sh4 LINUX=~/linux && (cd root/sh4; ./qemu-*.sh) +or : make root run_root CROSS=sh4 LINUX=~/linux |