mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-10-22 23:02:20 +02:00
40 lines
1001 B
BlitzBasic
40 lines
1001 B
BlitzBasic
DESCRIPTION = "The Management Complex (MC) is a key component of DPAA"
|
|
SECTION = "mc-utils"
|
|
LICENSE = "BSD"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=386a6287daa6504b7e7e5014ddfb3987 \
|
|
"
|
|
|
|
DEPENDS += "dtc-native"
|
|
|
|
inherit deploy
|
|
|
|
SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1"
|
|
SRCREV = "de3c46f16732f5e050851277b91e82d63818ca58"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
MC_CFG ?= ""
|
|
MC_CFG_ls1088a = "ls1088a"
|
|
MC_CFG_ls2088a = "ls2088a"
|
|
|
|
do_install () {
|
|
oe_runmake -C config
|
|
|
|
install -d ${D}/boot/mc-utils/custom
|
|
cp -r ${S}/config/${MC_CFG}/RDB/*.dtb ${D}/boot/mc-utils
|
|
cp -r ${S}/config/${MC_CFG}/RDB/custom/*.dtb ${D}/boot/mc-utils/custom
|
|
}
|
|
|
|
do_deploy () {
|
|
install -d ${DEPLOYDIR}/mc-utils/custom
|
|
cp -r ${S}/config/${MC_CFG}/RDB/*.dtb ${DEPLOYDIR}/mc-utils
|
|
cp -r ${S}/config/${MC_CFG}/RDB/custom/*.dtb ${DEPLOYDIR}/mc-utils/custom
|
|
|
|
}
|
|
addtask deploy after do_install
|
|
|
|
PACKAGES += "${PN}-image"
|
|
FILES_${PN}-image += "/boot"
|
|
COMPATIBLE_MACHINE = "(ls1088a|ls2088a)"
|