mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
add clauses for docipl (Disk On Chip IPL)
This commit is contained in:
parent
40e83c3b5e
commit
47717b57f3
1 changed files with 6 additions and 1 deletions
|
@ -44,10 +44,12 @@ floppy: all
|
||||||
# we need the vmlinux.bin.gz padded out and then cat the linuxbios.rom
|
# we need the vmlinux.bin.gz padded out and then cat the linuxbios.rom
|
||||||
# at then end. We always copy it to /tmp so that a waiting root shell
|
# at then end. We always copy it to /tmp so that a waiting root shell
|
||||||
# can put it on the floppy (see ROOTDOIT)
|
# can put it on the floppy (see ROOTDOIT)
|
||||||
romimage: linuxbios.rom vmlinux.bin.gz.block
|
romimage: linuxbios.rom vmlinux.bin.gz.block docipl
|
||||||
cat vmlinux.bin.gz.block linuxbios.rom > romimage
|
cat vmlinux.bin.gz.block linuxbios.rom > romimage
|
||||||
cp romimage /tmp
|
cp romimage /tmp
|
||||||
|
|
||||||
|
docipl: ipl.o
|
||||||
|
objcopy -O binary -R .note -R .comment -S ipl.o docipl
|
||||||
linuxbios.rom: linuxbios.strip mkrom
|
linuxbios.rom: linuxbios.strip mkrom
|
||||||
./mkrom -s 64 -f -o linuxbios.rom linuxbios.strip
|
./mkrom -s 64 -f -o linuxbios.rom linuxbios.strip
|
||||||
|
|
||||||
|
@ -134,6 +136,9 @@ newpci.o: $(TOP)/lib/newpci.c
|
||||||
linuxpci.o: $(TOP)/lib/linuxpci.c
|
linuxpci.o: $(TOP)/lib/linuxpci.c
|
||||||
cc $(CFLAGS) -c $<
|
cc $(CFLAGS) -c $<
|
||||||
|
|
||||||
|
ipl.o: $(TOP)/src/northsouthbridge/sis/630/ipl.S
|
||||||
|
gcc -c -I$(TOP)/northsouthbridge/sis/630 $<
|
||||||
|
|
||||||
vmlinux.bin.gz.block: vmlinux.bin.gz
|
vmlinux.bin.gz.block: vmlinux.bin.gz
|
||||||
dd conv=sync bs=448k if=vmlinux.bin.gz of=vmlinux.bin.gz.block
|
dd conv=sync bs=448k if=vmlinux.bin.gz of=vmlinux.bin.gz.block
|
||||||
vmlinux.bin.gz: vmlinux.bin
|
vmlinux.bin.gz: vmlinux.bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue