mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-10-22 15:22:15 +02:00

The NXP BSP is moving from CAF to github, so update the recipes URLs and set PREMIRRORS to override the SRC_URIs. Also update the paths to point to git.codelinaro.org Signed-off-by: Valentin Jec <jec.valentin@nxp.com>
31 lines
1014 B
Plaintext
31 lines
1014 B
Plaintext
# Copyright (C) 2012-2016 O.S. Systems Software LTDA.
|
|
# Copyright (C) 2013-2016 Freescale Semiconductor
|
|
# Copyright 2017-2018 NXP
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
|
|
|
SRCBRANCH = "imx_5.4.3_2.0.0"
|
|
IMXTEST_SRC ?= "git://github.com/nxp-imx/imx-test.git;protocol=https"
|
|
SRC_URI = " \
|
|
${IMXTEST_SRC};branch=${SRCBRANCH} \
|
|
file://0001-pxp-test-Fix-format-security-error.patch \
|
|
file://memtool_profile \
|
|
"
|
|
|
|
SRCREV = "178ff3015384febee3689703ae68ac7938f24b84"
|
|
|
|
do_compile() {
|
|
CFLAGS="${TOOLCHAIN_OPTIONS}"
|
|
oe_runmake V=1 VERBOSE='' \
|
|
CROSS_COMPILE=${TARGET_PREFIX} \
|
|
CC="${CC} ${LDFLAGS} \
|
|
-I${S}/include \
|
|
-I${STAGING_INCDIR_IMX} \
|
|
-I${STAGING_INCDIR} \
|
|
-L${STAGING_LIBDIR}" \
|
|
SDKTARGETSYSROOT=${STAGING_DIR_HOST} \
|
|
LINUXPATH=${STAGING_KERNEL_DIR} \
|
|
KBUILD_OUTPUT=${STAGING_KERNEL_BUILDDIR} \
|
|
PLATFORM=${PLATFORM}
|
|
}
|