diff --git a/build32/Makefile b/build32/Makefile index 08f269d..107ba80 100644 --- a/build32/Makefile +++ b/build32/Makefile @@ -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)) diff --git a/build64/Makefile b/build64/Makefile index 4457013..f0ef164 100644 --- a/build64/Makefile +++ b/build64/Makefile @@ -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))