mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2024-11-23 08:26:23 -06:00
Enable using custom objcopy during build. (#291)
Signed-off-by: Kimon Hoffmann <Kimon.Hoffmann@lawo.com>
This commit is contained in:
parent
9e3958714b
commit
0b251df68d
@ -1,5 +1,6 @@
|
||||
AS = as -32
|
||||
CC = gcc
|
||||
OBJCOPY = objcopy
|
||||
|
||||
GIT = git
|
||||
|
||||
@ -142,7 +143,7 @@ memtest_shared: $(OBJS) ldscripts/memtest_shared.lds Makefile
|
||||
$(LD) -shared -Bsymbolic -T ldscripts/memtest_shared.lds -o $@ $(OBJS)
|
||||
|
||||
memtest_shared.bin: memtest_shared
|
||||
objcopy -O binary $< memtest_shared.bin
|
||||
$(OBJCOPY) -O binary $< memtest_shared.bin
|
||||
|
||||
memtest.bin: memtest_shared.bin boot/bootsect.o boot/setup.o ldscripts/memtest_bin.lds
|
||||
$(eval SIZES=$(shell size -B -d memtest_shared | grep memtest_shared))
|
||||
|
@ -1,5 +1,6 @@
|
||||
AS = as -64
|
||||
CC = gcc
|
||||
OBJCOPY = objcopy
|
||||
|
||||
GIT = git
|
||||
|
||||
@ -141,7 +142,7 @@ memtest_shared: $(OBJS) ldscripts/memtest_shared.lds Makefile
|
||||
$(LD) -shared -Bsymbolic -T ldscripts/memtest_shared.lds -o $@ $(OBJS)
|
||||
|
||||
memtest_shared.bin: memtest_shared
|
||||
objcopy -O binary $< memtest_shared.bin
|
||||
$(OBJCOPY) -O binary $< memtest_shared.bin
|
||||
|
||||
memtest.bin: memtest_shared.bin boot/bootsect.o boot/setup.o ldscripts/memtest_bin.lds
|
||||
$(eval SIZES=$(shell size -B -d memtest_shared | grep memtest_shared))
|
||||
|
Loading…
Reference in New Issue
Block a user