diff options
Diffstat (limited to 'recipes-bsp/dp-firmware-cadence')
-rw-r--r-- | recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_git.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_git.bb b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_git.bb new file mode 100644 index 00000000..2099f362 --- /dev/null +++ b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_git.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "DP firmware" | ||
2 | LICENSE = "NXP-Binary-EULA" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6c12031a11b81db21cdfe0be88cac4b3" | ||
4 | |||
5 | inherit deploy fsl-eula-unpack | ||
6 | |||
7 | SRC_URI = "http://www.nxp.com/lgfiles/sdk/lsdk1909/firmware-cadence-lsdk1909.bin;fsl-eula=true" | ||
8 | |||
9 | SRC_URI[md5sum] = "07cab3eea88dbf3150b55a91624f0715" | ||
10 | SRC_URI[sha256sum] = "5871c5717be32f14a59624d5699d405e8ce9ae2e9c9ef86fd16e13d264a40e58" | ||
11 | |||
12 | S = "${WORKDIR}/firmware-cadence-lsdk1909" | ||
13 | |||
14 | do_install () { | ||
15 | install -d ${D}/boot | ||
16 | cp -fr ${S}/dp/*.bin ${D}/boot | ||
17 | } | ||
18 | |||
19 | do_deploy () { | ||
20 | install -d ${DEPLOYDIR}/dp | ||
21 | cp -fr ${S}/dp/*.bin ${DEPLOYDIR}/dp | ||
22 | } | ||
23 | addtask deploy before do_build after do_install | ||
24 | |||
25 | PACKAGES += "${PN}-image" | ||
26 | FILES_${PN}-image += "/boot" | ||
27 | |||
28 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
29 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
30 | |||