mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 12:59:04 +02:00

The series [1] changed the way sources are fetched/unpacked and S needs to follow that. Additionally for git repos it moved away from having 'git/' as the checkout directory. This has been partly tested by building weston based image for imx6/imx6ull/imx7/imx8/imx8mm/imx8mp/imx95 based images. E.g. none of the recipes specific for qoriq is built time tested. As walnascar is no longer compatible with master/whinlatter drop it from LAYERSERIES_COMPAT. [1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
50 lines
1.4 KiB
BlitzBasic
50 lines
1.4 KiB
BlitzBasic
# Copyright (C) 2012-2016 Freescale Semiconductor
|
|
# Copyright (C) 2012-2018 O.S. Systems Software LTDA.
|
|
# Copyright 2017 NXP
|
|
|
|
DESCRIPTION = "Platform specific libraries for imx platform"
|
|
LICENSE = "LGPL-2.1-only"
|
|
SECTION = "multimedia"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=fbc093901857fcd118f065f900982c24"
|
|
|
|
PE = "1"
|
|
|
|
PV = "5.9+${SRCPV}"
|
|
|
|
SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH} \
|
|
file://0001-Fix-gcc-15-errors.patch"
|
|
SRCBRANCH = "lf-6.12.3_1.0.0"
|
|
SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547"
|
|
|
|
inherit use-imx-headers
|
|
|
|
PLATFORM:mx6q-nxp-bsp = "IMX6Q"
|
|
PLATFORM:mx6dl-nxp-bsp = "IMX6Q"
|
|
PLATFORM:mx6sl-nxp-bsp = "IMX6S"
|
|
PLATFORM:mx6sll-nxp-bsp = "IMX6UL"
|
|
PLATFORM:mx6sx-nxp-bsp = "IMX6S"
|
|
PLATFORM:mx6ul-nxp-bsp = "IMX6UL"
|
|
PLATFORM:mx6ull-nxp-bsp = "IMX6UL"
|
|
PLATFORM:mx7d-nxp-bsp = "IMX7"
|
|
PLATFORM:mx7ulp-nxp-bsp = "IMX7"
|
|
PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP"
|
|
PLATFORM:mx9-nxp-bsp = "IMX8ULP"
|
|
|
|
PARALLEL_MAKE = "-j 1"
|
|
EXTRA_OEMAKE = ""
|
|
|
|
do_compile () {
|
|
INCLUDE_DIR="-I${STAGING_INCDIR_IMX}"
|
|
oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
|
|
}
|
|
|
|
do_install () {
|
|
oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install
|
|
|
|
# Remove .go file for Android
|
|
find ${D}/ -name *.go -exec rm {} \;
|
|
}
|
|
|
|
COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8ulp-nxp-bsp|mx9-nxp-bsp)"
|