aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-05-01 10:14:12 -0500
committerRob Landley <rob@landley.net>2020-05-01 10:14:12 -0500
commit954f4e2ab3d28b1bc6021bce7cf5c919f54d5e18 (patch)
tree945788579ea04d6ae194ca89b749a3956540af62 /Makefile
parentb8e37dc86434f9da61667e7b732494888ad8101b (diff)
downloadtoybox-954f4e2ab3d28b1bc6021bce7cf5c919f54d5e18.tar.gz
Fix and document make run_root.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 316df2f8..3ee66ea6 100644
--- a/Makefile
+++ b/Makefile
@@ -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