From 473eafa303bfb5b0c1548db4236b11d236b5eed2 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Tue, 7 May 2019 14:27:27 +0200 Subject: [PATCH] fpga-image: Deploy fpga image to DEPLOYDIR Deploying this image make it easily available to be added in a fitImage. --- recipes-bsp/fpga-image/fpga-image.bb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/fpga-image/fpga-image.bb b/recipes-bsp/fpga-image/fpga-image.bb index 7f062c5..580cf5d 100644 --- a/recipes-bsp/fpga-image/fpga-image.bb +++ b/recipes-bsp/fpga-image/fpga-image.bb @@ -2,10 +2,10 @@ DESCRIPTION = "Fpga image for NRHW18" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" +inherit deploy SRC_URI_armada-385-nrhw18 = "file://LG00000000" -DEPENDS = "bc-native" SRCREV = "${AUTOREV}" PV = "1.0.0" @@ -16,4 +16,13 @@ do_install_armada-385-nrhw18 () { install -m 0644 ${WORKDIR}/LG00000000 ${D}/logic/ } +do_deploy_armada-385-nrhw18 () { + 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