From 97b134c1ce203bfb3a28cebc84909b21f17d7ba4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 18 Jul 2022 15:25:16 +0200 Subject: tc1796 makefile: generate system.bin for jtag-over-usb flasher --- src/arch/infineon-tc1796-mock/Makefile.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/arch/infineon-tc1796-mock/Makefile.inc b/src/arch/infineon-tc1796-mock/Makefile.inc index 223a079..4d811c0 100644 --- a/src/arch/infineon-tc1796-mock/Makefile.inc +++ b/src/arch/infineon-tc1796-mock/Makefile.inc @@ -13,7 +13,7 @@ ARCH_SHORTNAME = tc1796 LICENSE = -mlicense-dir=${HOME}/var/source/aurix-infineon-hightec-tricore CC = wine ${HOME}/.wine/drive_c/HighTec/toolchains/tricore/v4.9.3.0-infineon-1.0/bin/tricore-gcc.exe ${LICENSE} CXX = wine ${HOME}/.wine/drive_c/HighTec/toolchains/tricore/v4.9.3.0-infineon-1.0/bin/tricore-g++.exe ${LICENSE} -OBJCOPY = wine ${HOME}/.wine/drive_c/HighTec/toolchains/tricore/v4.9.3.0-infineon-1.0/bin/tricore-objcopy.exe ${LICENSE} +OBJCOPY = wine ${HOME}/.wine/drive_c/HighTec/toolchains/tricore/v4.9.3.0-infineon-1.0/bin/tricore-objcopy.exe OBJDUMP = wine ${HOME}/.wine/drive_c/HighTec/toolchains/tricore/v4.9.3.0-infineon-1.0/bin/tricore-objdump.exe ${LICENSE} SIZE = wine ${HOME}/.wine/drive_c/HighTec/toolchains/tricore/v4.9.3.0-infineon-1.0/bin/tricore-size.exe @@ -52,7 +52,10 @@ build/system.elf: ${OBJECTS} -Wl,--gc-sections \ -o $@ ${OBJECTS} -program: build/system.elf +build/system.bin: build/system.elf + ${QUIET}${OBJCOPY} -O binary $< $@ + +program: build/system.bin @echo "Not Implemented" ${QUIET}false -- cgit v1.2.3