summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/ceetm/ceetm_git.bb
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2019-08-14 11:17:16 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2019-09-04 18:33:08 -0300
commit862bafc6e4faf75eceafbee4c1f4be4df5b06e49 (patch)
tree7e9c5e4c7c7dc9700ef0d1a7b8a79527b4802bca /recipes-kernel/ceetm/ceetm_git.bb
parentc13fb0aa3cc8bb9d3aa8f6649e79c8443256bf23 (diff)
downloadmeta-freescale-862bafc6e4faf75eceafbee4c1f4be4df5b06e49.tar.gz
ceetm: fix the building warning
*fix the below warning |#warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] *add 0001-Makefile-update-CFLAGS.patch to avoid build Errors. *remove do_compile_prepend *Obey LDFLAGS and CFLAGS in Makefile Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Diffstat (limited to 'recipes-kernel/ceetm/ceetm_git.bb')
-rw-r--r--recipes-kernel/ceetm/ceetm_git.bb11
1 files changed, 6 insertions, 5 deletions
diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb
index 8613e507..68fb67e0 100644
--- a/recipes-kernel/ceetm/ceetm_git.bb
+++ b/recipes-kernel/ceetm/ceetm_git.bb
@@ -4,16 +4,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bac620b9883d38a84dfb73ca7122d915"
4 4
5SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ceetm;nobranch=1" 5SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ceetm;nobranch=1"
6SRCREV = "6a7f2ec2091df2f4380cb8d25a36c399aed5af1b" 6SRCREV = "6a7f2ec2091df2f4380cb8d25a36c399aed5af1b"
7 7SRC_URI_append = " file://0001-Makefile-update-CFLAGS.patch \
8"
8DEPENDS = "iproute2" 9DEPENDS = "iproute2"
9 10
10S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
11 12
12EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" IPROUTE2_DIR="{STAGING_DIR_TARGET}"' 13export IPROUTE2_DIR="${STAGING_DIR_TARGET}"
14WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
15export CROSS_COMPILE="${WRAP_TARGET_PREFIX}"
13 16
14do_compile_prepend () { 17LDFLAGS += "${TOOLCHAIN_OPTIONS}"
15 cp ${RECIPE_SYSROOT}/usr/include/include/json_print.h ${RECIPE_SYSROOT}/usr/include
16}
17 18
18do_install(){ 19do_install(){
19 mkdir -p ${D}/${libdir}/tc 20 mkdir -p ${D}/${libdir}/tc