aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2024-04-08 05:55:35 -0500
committerRob Landley <rob@landley.net>2024-04-08 05:55:35 -0500
commit207c985792a515d9c5a980d67ba8742fcd1e8518 (patch)
treebdbe3d4113f09d9067764fd3cfa4cf24122b90e2
parentbd1b098251ef095852915456a7315ce8cfa0a39c (diff)
downloadtoybox-207c985792a515d9c5a980d67ba8742fcd1e8518.tar.gz
Build armv4l kernel.
Could use a -cpu flag and .config tweak, but runs for now.
-rwxr-xr-xmkroot/mkroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkroot/mkroot.sh b/mkroot/mkroot.sh
index 09ef14ea..cb6a78f9 100755
--- a/mkroot/mkroot.sh
+++ b/mkroot/mkroot.sh
@@ -197,7 +197,7 @@ get_target_config()
# Each target needs board config, serial console, RTC, ethernet, block device.
KARGS=ttyS0 VMLINUX=vmlinux
- if [ "$CROSS" == armv5l ]; then
+ if [ "$CROSS" == armv5l ] || [ "$CROSS" == armv4l ]; then
# This could use the same VIRT board as armv7, but let's demonstrate a
# different one requiring a separate device tree binary.
KARCH=arm KARGS=ttyAMA0 VMLINUX=arch/arm/boot/zImage