diff --git a/recipes-bsp/fpga-image/fpga-image.bb b/recipes-bsp/fpga-image/fpga-image.bb index 580cf5d..e5f34bb 100644 --- a/recipes-bsp/fpga-image/fpga-image.bb +++ b/recipes-bsp/fpga-image/fpga-image.bb @@ -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 \ No newline at end of file +addtask deploy before do_build after do_compile diff --git a/recipes-bsp/fpga-image/fpga-image/armada-385-hw17/LG00000000 b/recipes-bsp/fpga-image/fpga-image/armada-385-hw17/LG00000000 new file mode 100644 index 0000000..5813a63 Binary files /dev/null and b/recipes-bsp/fpga-image/fpga-image/armada-385-hw17/LG00000000 differ diff --git a/recipes-kernel/linux/netmodule-fitimage.bb b/recipes-kernel/linux/netmodule-fitimage.bb index 78ca513..01b440e 100644 --- a/recipes-kernel/linux/netmodule-fitimage.bb +++ b/recipes-kernel/linux/netmodule-fitimage.bb @@ -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"