blob: e5fe33b920e91c8627c3c9873c9f1ff5981969c4 (
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
|
SUMMARY = "DPAA2 Management Complex Firmware"
LICENSE = "Freescale-Binary-EULA"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0ef9ba7621bd36f5fef5009fbeb56b00"
inherit deploy
INHIBIT_DEFAULT_DEPS = "1"
SRC_URI = "git://git.freescale.com/ppc/sdk/mc-binary.git;nobranch=1"
SRCREV = "10db0dfa51c8aa6308d7986355bb8b1a3a34d298"
S = "${WORKDIR}/git"
do_install () {
install -d ${D}/boot
install -m 755 ${S}/ls2080a/*.itb ${D}/boot
}
do_deploy () {
install -d ${DEPLOYDIR}/mc_app
install -m 755 ${S}/ls2080a/*.itb ${DEPLOYDIR}/mc_app
# make a symlink to the latest binary
for mc_binary in `ls ${DEPLOYDIR}/mc_app |sort`;do
ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb
done
}
addtask deploy before do_build after do_install
PACKAGES += "${PN}-image"
FILES_${PN}-image += "/boot"
INHIBIT_PACKAGE_STRIP = "1"
COMPATIBLE_MACHINE = "(ls2080ardb|ls2088a)"
PACKAGE_ARCH = "${MACHINE_ARCH}"
|