summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2018-07-03 10:12:48 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2018-07-03 11:36:26 +0200
commite245893465d56f8cb7f842c029315b644f8d1dcc (patch)
tree7f4a286a16b372aee43eb222f0436f79f570fa35
parent97c7728d801a443cbb1965436d8bdb3317f67ee9 (diff)
downloadmeta-phytec-e245893465d56f8cb7f842c029315b644f8d1dcc.tar.bz2
meta-phytec-e245893465d56f8cb7f842c029315b644f8d1dcc.zip
imx-boot: fix dependence to host system
The mkimage_imx8 tool is dependent on the host zlib.h. Build error: mkimage_imx8.c -o mkimage_imx8 -lz | mkimage_imx8.c:26:18: fatal error: zlib.h: No such file or directory | compilation terminated. | soc.mak:17: recipe for target 'mkimage_imx8' failed | make[1]: *** [mkimage_imx8] Error 1 | Makefile:15: recipe for target 'flash_evk_no_hdmi' failed | make: *** [flash_evk_no_hdmi] Error 2 | WARNING: exit code 2 from a shell command. | ERROR: Function failed: do_compile (log file is located at Set CFLAGS to fix this error. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-boot_0.2.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-boot_0.2.bbappend b/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-boot_0.2.bbappend
new file mode 100644
index 0000000..1e1a916
--- /dev/null
+++ b/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-boot_0.2.bbappend
@@ -0,0 +1 @@
+CFLAGS = "-O2 -Wall -std=c99 -static -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}"