summaryrefslogtreecommitdiffstats
path: root/EULA
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2022-04-28 23:41:30 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2022-04-28 23:52:10 +0200
commitec60b44012999ff95f6d3a98c8bedba145b49f21 (patch)
tree1fcc06d2a1e8d6ce947f4a43c4b900f2ac51640b /EULA
parent82a05904e4763efc1d10c8fe6fe26e0ea62dbd1a (diff)
downloadmeta-freescale-ec60b44012999ff95f6d3a98c8bedba145b49f21.tar.gz
imx-mkimage: fix patch
imx-mkimage is compiled with the host gcc, thus if one needs to add explicit linker flags one should use BULD_LDFLAGS, not the ones forseen for the cross compiler. Prevents, on distros with an older gcc (e.g. OpenSuse 15.3 with gcc 7.5.0), the following error. | Compiling mkimage_imx8 | gcc -O2 -Wall -std=c99 -I .../imx-boot/1.0-r0/recipe-sysroot-native/usr/include -L .../imx-boot/1.0-r0/recipe-sysroot-native/usr/lib mkimage_imx8.c -o mkimage_imx8 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=.../imx-boot/1.0-r0=/usr/src/debug/imx-boot/1.0-r0 -fdebug-prefix-map=.../imx-boot/1.0-r0=/usr/src/debug/imx-boot/1.0-r0 -fdebug-prefix-map=.../imx-boot/1.0-r0/recipe-sysroot= -fdebug-prefix-map=.../imx-boot/1.0-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -lz | gcc: error: unrecognized command line option ‘-fmacro-prefix-map=.../imx-boot/1.0-r0=/usr/src/debug/imx-boot/1.0-r0’ | make[1]: *** [soc.mak:87: mkimage_imx8] Error 1 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'EULA')
0 files changed, 0 insertions, 0 deletions