mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 18:30:28 +03:00
Initial revision
This commit is contained in:
15
contrib/hdload/Makefile
Normal file
15
contrib/hdload/Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
# Use nasm or as86
|
||||
ASM=nasm
|
||||
# ASM=as86
|
||||
|
||||
hdload.bin: hdload.S
|
||||
ifeq ($(ASM),as86)
|
||||
gcc $(CFLAGS) -DUSE_AS86 -E -traditional -o hdload.s hdload.S
|
||||
as86 -0 -b hdload.bin hdload.s
|
||||
else
|
||||
gcc $(CFLAGS) -DUSE_NASM -E -traditional -o hdload.s hdload.S
|
||||
nasm -f bin hdload.s -o hdload.bin
|
||||
endif
|
||||
|
||||
clean:
|
||||
$(RM) -f hdload.s hdload.bin
|
||||
Reference in New Issue
Block a user