Commit d21c78ce authored by mntmn's avatar mntmn

mkuboot: build two versions, one for rescue from eMMC

parent 28c8b265
......@@ -14,7 +14,12 @@ cp mntreform-config .config
export CROSS_COMPILE=aarch64-linux-gnu-
export ARCH=arm
# build rescue u-boot first (loads kernel from eMMC)
make -j$(nproc) flash.bin KCPPFLAGS='-DMNTREFORM_BOOT_EMMC'
cp flash.bin flash-rescue.bin
# build normal u-boot second (loads kernel from SD card)
make -j$(nproc) flash.bin
cd ..
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment