for no obvious reason, Ubuntu objcopy changed its bfd target names. Renamed elf32big to elf32-big.
This commit is contained in:
8
Makefile
8
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
|
# can be either "Y" or "N" (without quotes). "Y" for using the m68k-elf-, "N" for using the m68k-atari-mint
|
||||||
# toolchain
|
# toolchain
|
||||||
COMPILE_ELF=Y
|
COMPILE_ELF=N
|
||||||
|
|
||||||
ifeq (Y,$(COMPILE_ELF))
|
ifeq (Y,$(COMPILE_ELF))
|
||||||
TCPREFIX=m68k-elf-
|
TCPREFIX=m68k-elf-
|
||||||
@@ -168,7 +168,7 @@ $(1)/$$(FLASH_EXEC): $(1)/$(LIBBAS) $(LDCSRC)
|
|||||||
ifeq ($(COMPILE_ELF),Y)
|
ifeq ($(COMPILE_ELF),Y)
|
||||||
$(OBJCOPY) -O srec $$@ $$(basename $$@).s19
|
$(OBJCOPY) -O srec $$@ $$(basename $$@).s19
|
||||||
else
|
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
|
endif
|
||||||
|
|
||||||
# pattern rule for RAM
|
# pattern rule for RAM
|
||||||
@@ -179,7 +179,7 @@ $(1)/$$(RAM_EXEC): $(1)/$(LIBBAS) $(LDCSRC)
|
|||||||
ifeq ($(COMPILE_ELF),Y)
|
ifeq ($(COMPILE_ELF),Y)
|
||||||
$(OBJCOPY) -O srec $$@ $$(basename $$@).s19
|
$(OBJCOPY) -O srec $$@ $$(basename $$@).s19
|
||||||
else
|
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
|
endif
|
||||||
|
|
||||||
# pattern rule for basflash
|
# 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)
|
ifeq ($(COMPILE_ELF),Y)
|
||||||
$(OBJCOPY) -O srec $$@ $$(basename $$@).s19
|
$(OBJCOPY) -O srec $$@ $$(basename $$@).s19
|
||||||
else
|
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
|
endif
|
||||||
endef
|
endef
|
||||||
$(foreach DIR,$(TRGTDIRS),$(eval $(call EX_TEMPLATE,$(DIR))))
|
$(foreach DIR,$(TRGTDIRS),$(eval $(call EX_TEMPLATE,$(DIR))))
|
||||||
|
|||||||
Reference in New Issue
Block a user