aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/inphi/inphi_git.bb
blob: c0c8a77604acd14fd6e45f1e394bca9aa3e7f7f5 (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
SUMMARY = "Firmwares and Standalone Applications"
LICENSE = "NXP-Binary-EULA"
LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798"

inherit deploy fsl-eula-unpack

SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;fsl-eula=true;nobranch=1"
SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695"

S = "${WORKDIR}/git"

do_install () {
    install -d ${D}/boot
    cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot
}

do_deploy () {
    install -d ${DEPLOYDIR}/inphi
    cp -fr ${S}/in112525-phy-ucode.txt ${DEPLOYDIR}/inphi
}
addtask deploy before do_build after do_install

PACKAGES += "${PN}-image"
FILES_${PN}-image += "/boot"

COMPATIBLE_MACHINE = "(qoriq-arm64)"
PACKAGE_ARCH = "${MACHINE_ARCH}"