aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'