mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-10-22 23:32:16 +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>
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
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.70_2.3.0"
|
|
IMXTEST_SRC ?= "git://github.com/nxp-imx/imx-test.git;protocol=https"
|
|
SRC_URI = " \
|
|
${IMXTEST_SRC};branch=${SRCBRANCH} \
|
|
file://memtool_profile \
|
|
"
|
|
|
|
SRCREV = "90fd7168fe5f15de9b2b1992a719024fc73a185a"
|
|
|
|
PACKAGECONFIG_append_mx8m = " swpdm"
|
|
|
|
PACKAGECONFIG[swpdm] = "HAS_IMX_SW_PDM=true,HAS_IMX_SW_PDM=false,imx-sw-pdm"
|
|
|
|
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}
|
|
}
|