From 12dd886ee194004ce8f9e74c1b3329b3b40129be Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 16 Nov 2016 18:03:55 +1100 Subject: [PATCH] build system: Use correct objcopy arguments for object format Avoid ambiguous argument error on some platforms Ref internal discussion !198 squash! build system: Use correct objcopy --input-target argument not --input --- make/component_wrapper.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/component_wrapper.mk b/make/component_wrapper.mk index 2c073af761..3018c18b55 100644 --- a/make/component_wrapper.mk +++ b/make/component_wrapper.mk @@ -180,7 +180,7 @@ $(foreach srcdir,$(COMPONENT_SRCDIRS), $(eval $(call GenerateCompileTargets,$(sr ## Support for embedding binary files into the ELF as symbols -OBJCOPY_EMBED_ARGS := --input binary --output elf32-xtensa-le --binary-architecture xtensa --rename-section .data=.rodata.embedded +OBJCOPY_EMBED_ARGS := --input-target binary --output-target elf32-xtensa-le --binary-architecture xtensa --rename-section .data=.rodata.embedded # Generate pattern for embedding text or binary files into the app # $(1) is name of file (as relative path inside component)