pinebook/boot-script/Makefile

27 lines
696 B
Makefile

# Recompile with:
all:
@echo make sdcard
@echo or
@echo make emmc
others:
mkimage -C none -A arm -T script -d simple.cmd simple.scr
mkimage -C none -A arm -T script -d sdcard.cmd sdcard.scr
mkimage -C none -A arm -T script -d simplesdcard.cmd simplesdcard.scr
mkimage -C none -A arm -T script -d debug.cmd debug.scr
mkimage -C none -A arm -T script -d sid.cmd sid.scr
mkimage -C none -A arm -T script -d jcarr.cmd jcarr.scr
sdcard:
mkimage -C none -A arm -T script -d sdcard.cmd sdcard.scr
cp -a sdcard.* /boot/
cp -a sdcard.* /home/sdcard/boot/
sync
emmc:
mkimage -C none -A arm -T script -d emmc.cmd emmc.scr
cp -a emmc.* /boot/
cp -a emmc.* /home/internal-mmc/boot/
sync