Merge remote-tracking branch 'origin/master' into x64_new
This commit is contained in:
commit
be4cfaf413
1 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ DEFINES=
|
|||
NASM = nasm
|
||||
NASMFLAGS = -fbin
|
||||
EXECFILES = $(shell find ../newlib/examples -perm -u+r+x -type f)
|
||||
CORENUM ?= 1
|
||||
|
||||
# other implicit rules
|
||||
%.o : %.c
|
||||
|
@ -35,8 +36,8 @@ scc_setup.bin: scc_setup.asm
|
|||
reset_vector.bin: reset_vector.o
|
||||
ld --oformat binary -Ttext 0 -melf_i386 -o $@ $<
|
||||
|
||||
scc_bootinfo.asm: bootinfo.sh
|
||||
./bootinfo.sh 0x01000000 initrd.img 1 533 0 > scc_bootinfo.asm
|
||||
scc_bootinfo.asm: bootinfo.sh initrd.img
|
||||
./bootinfo.sh 0x01000000 initrd.img $(CORENUM) 533 `seq 0 $$(($(CORENUM) - 1))` > scc_bootinfo.asm
|
||||
|
||||
scc_bootinfo.bin: scc_bootinfo.asm
|
||||
$(NASM) $(NASMFLAGS) -o $@ $<
|
||||
|
|
Loading…
Add table
Reference in a new issue