blob: f0b21b70ff1e0add9f6e9384ca91e81e8ceba199 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
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://source.codeaurora.org/external/qoriq/qoriq-components/mc-utils;nobranch=1"
SRCREV = "18c77603733b3fcd0b716bf9800e052330941f4e"
S = "${WORKDIR}/git"
MC_CFG ?= ""
MC_CFG_ls1088a = "ls1088a"
MC_CFG_ls2088a = "ls2088a"
MC_CFG_lx2160a = "lx2160a"
do_install () {
oe_runmake -C config
install -d ${D}/boot/mc-utils
cp -r ${S}/config/${MC_CFG}/RDB/*.dtb ${D}/boot/mc-utils
if [ -d ${S}/config/${MC_CFG}/RDB/custom/ ]; then
install -d ${D}/boot/mc-utils/custom
cp -r ${S}/config/${MC_CFG}/RDB/custom/*.dtb ${D}/boot/mc-utils/custom
fi
}
do_deploy () {
install -d ${DEPLOYDIR}/mc-utils
cp -r ${S}/config/${MC_CFG}/RDB/*.dtb ${DEPLOYDIR}/mc-utils
if [ -d ${S}/config/${MC_CFG}/RDB/custom/ ]; then
install -d ${DEPLOYDIR}/mc-utils/custom
cp -r ${S}/config/${MC_CFG}/RDB/custom/*.dtb ${DEPLOYDIR}/mc-utils/custom
fi
}
addtask deploy after do_install
PACKAGES += "${PN}-image"
FILES_${PN}-image += "/boot"
COMPATIBLE_MACHINE = "(qoriq-arm64)"
|