aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2021-09-10 16:35:25 -0700
committerH. Peter Anvin <hpa@zytor.com>2021-09-10 16:35:25 -0700
commitb0b51400e935210e0c5f66859b681e18c21081b8 (patch)
treea1c39cee0ceeb16cde8897f218a165c571740f48
parent26b2b4a9395f174d6ce911b6e0ae51b85c557159 (diff)
downloadfred-scripts-main.tar.gz
fred-scripts-main.tar.xz
fred-scripts-main.zip
updateimage.sh: handle paths betterHEADmain
-rwxr-xr-xupdateimage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/updateimage.sh b/updateimage.sh
index d1698b7..f7962bf 100755
--- a/updateimage.sh
+++ b/updateimage.sh
@@ -1,6 +1,6 @@
#!/bin/bash -xe
parallel=$((2*$(grep '^processor' /proc/cpuinfo | wc -l)))
-make="make -j$parallel -C linux"
-$make
+make="make -j$parallel -C src O=$(realpath --relative-to=src/ linux/)"
+$make bzImage
$make hdimage \
FDARGS='ro root=/dev/sdb2 debug console=tty0 console=ttyS0,115200 earlyprintk=serial,ttyS0,115200 show_lapic=all'