summaryrefslogtreecommitdiffstats
path: root/bsp/meta-freescale/recipes-kernel/ceetm/ceetm_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/meta-freescale/recipes-kernel/ceetm/ceetm_git.bb')
-rw-r--r--bsp/meta-freescale/recipes-kernel/ceetm/ceetm_git.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/bsp/meta-freescale/recipes-kernel/ceetm/ceetm_git.bb b/bsp/meta-freescale/recipes-kernel/ceetm/ceetm_git.bb
index 57fbbe42..68fb67e0 100644
--- a/bsp/meta-freescale/recipes-kernel/ceetm/ceetm_git.bb
+++ b/bsp/meta-freescale/recipes-kernel/ceetm/ceetm_git.bb
@@ -4,12 +4,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bac620b9883d38a84dfb73ca7122d915"
SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ceetm;nobranch=1"
SRCREV = "6a7f2ec2091df2f4380cb8d25a36c399aed5af1b"
-
+SRC_URI_append = " file://0001-Makefile-update-CFLAGS.patch \
+"
DEPENDS = "iproute2"
S = "${WORKDIR}/git"
-EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" IPROUTE2_DIR="{STAGING_DIR_TARGET}"'
+export IPROUTE2_DIR="${STAGING_DIR_TARGET}"
+WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
+export CROSS_COMPILE="${WRAP_TARGET_PREFIX}"
+
+LDFLAGS += "${TOOLCHAIN_OPTIONS}"
do_install(){
mkdir -p ${D}/${libdir}/tc