From f6515fae842801d1e6c682f1223b13ccf49823ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Tue, 5 Nov 2013 06:53:11 +0000 Subject: [PATCH] for no obvious reason, Ubuntu objcopy changed its bfd target names. Renamed elf32big to elf32-big. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e6eb2d8..2767a17 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ # can be either "Y" or "N" (without quotes). "Y" for using the m68k-elf-, "N" for using the m68k-atari-mint # toolchain -COMPILE_ELF=Y +COMPILE_ELF=N ifeq (Y,$(COMPILE_ELF)) TCPREFIX=m68k-elf- @@ -168,7 +168,7 @@ $(1)/$$(FLASH_EXEC): $(1)/$(LIBBAS) $(LDCSRC) ifeq ($(COMPILE_ELF),Y) $(OBJCOPY) -O srec $$@ $$(basename $$@).s19 else - objcopy -I srec -O elf32big --alt-machine-code 4 $$@ $$(basename $$@).elf + objcopy -I srec -O elf32-big --alt-machine-code 4 $$@ $$(basename $$@).elf endif # pattern rule for RAM @@ -179,7 +179,7 @@ $(1)/$$(RAM_EXEC): $(1)/$(LIBBAS) $(LDCSRC) ifeq ($(COMPILE_ELF),Y) $(OBJCOPY) -O srec $$@ $$(basename $$@).s19 else - objcopy -I srec -O elf32big --alt-machine-code 4 $$@ $$(basename $$@).elf + objcopy -I srec -O elf32-big --alt-machine-code 4 $$@ $$(basename $$@).elf endif # pattern rule for basflash @@ -190,7 +190,7 @@ $(1)/$$(BASFLASH_EXEC): $(1)/objs/basflash.o $(1)/objs/basflash_start.o $(1)/$(L ifeq ($(COMPILE_ELF),Y) $(OBJCOPY) -O srec $$@ $$(basename $$@).s19 else - objcopy -I srec -O elf32big --alt-machine-code 4 $$@ $$(basename $$@).elf + objcopy -I srec -O elf32-big --alt-machine-code 4 $$@ $$(basename $$@).elf endif endef $(foreach DIR,$(TRGTDIRS),$(eval $(call EX_TEMPLATE,$(DIR))))