Boot signature via include
This commit is contained in:
parent
79bedd9013
commit
0f833da221
2 changed files with 4 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -9,7 +9,7 @@ QEMU = qemu-system-$(QEMU_ARCH)
|
|||
QEMU_ARGS = $(addprefix --option-rom ,$(ROMS))
|
||||
|
||||
NASM = nasm
|
||||
NASM_ARGS = -s -Ilib -Plib/nasmcomp.asm -w-macro-params
|
||||
NASM_ARGS = -s -I. -Ilib -w-macro-params
|
||||
|
||||
EMUL = utils/emul
|
||||
|
||||
|
@ -48,7 +48,7 @@ vga11.com: cp437.bin
|
|||
%.bs: %.asm
|
||||
$(NASM) $(NASM_ARGS) -DBASE=0x7C00 -DBOOT -o $@ $<
|
||||
: check boot signature
|
||||
test "$$(echo $$(xxd -p -l 2 -s 510 pxe.bs))" == 55aa
|
||||
test "$$(echo $$(xxd -p -l 2 -s 510 $@))" == 55aa
|
||||
|
||||
# Network bootstrap protocol as used for PXE
|
||||
%.0: %.asm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue