fpga-image: Make compatible with HW17

BugzID: 77953
This commit is contained in:
Alexandre Bard 2022-02-14 18:14:06 +01:00
parent d934b0e9d1
commit e99985266c
3 changed files with 7 additions and 9 deletions

View File

@ -1,28 +1,25 @@
DESCRIPTION = "Fpga image for NRHW18"
DESCRIPTION = "Fpga images"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
inherit deploy
SRC_URI_armada-385-nrhw18 = "file://LG00000000"
SRC_URI = "file://LG00000000"
SRCREV = "${AUTOREV}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PV = "1.0.0"
do_install_armada-385-nrhw18 () {
do_install () {
install -d ${D}/logic
install -m 0644 ${WORKDIR}/LG00000000 ${D}/logic/
}
do_deploy_armada-385-nrhw18 () {
do_deploy () {
cp ${WORKDIR}/LG00000000 ${DEPLOYDIR}/fpga-image-${MACHINE}
}
do_deploy(){
}
FILES_${PN} += "/logic/LG00000000"
addtask deploy before do_build after do_compile
addtask deploy before do_build after do_compile

View File

@ -10,6 +10,7 @@ inherit kernel-arch
inherit deploy
do_configure[depends] += "virtual/kernel:do_deploy"
do_configure[depends] += "${@bb.utils.contains('MACHINE_FEATURES', 'fpga', 'fpga-image:do_deploy', '', d)}"
do_bundle_initramfs[depends] += "${INITRAMFS_IMAGE}:do_image_complete"
do_deploy[depends] += "${PN}:do_assemble_fitimage"