From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../recipes-bsp/qe-ucode/qe-ucode_git.bb | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'bsp/meta-freescale/recipes-bsp/qe-ucode/qe-ucode_git.bb') diff --git a/bsp/meta-freescale/recipes-bsp/qe-ucode/qe-ucode_git.bb b/bsp/meta-freescale/recipes-bsp/qe-ucode/qe-ucode_git.bb index 1af630a6..cecd5903 100644 --- a/bsp/meta-freescale/recipes-bsp/qe-ucode/qe-ucode_git.bb +++ b/bsp/meta-freescale/recipes-bsp/qe-ucode/qe-ucode_git.bb @@ -3,36 +3,27 @@ SECTION = "qe-ucode" LICENSE = "NXP-Binary-EULA" LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=c62f8109b4df15ca37ceeb5e4943626c" -inherit deploy fsl-eula-unpack +inherit deploy -SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;fsl-eula=true;nobranch=1" +SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1" SRCREV= "57401f6dff6507055558eaa6838116baa8a2fd46" S = "${WORKDIR}/git" -python () { - if not d.getVar("QE_UCODE", True): - PN = d.getVar("PN", True) - FILE = os.path.basename(d.getVar("FILE", True)) - bb.debug(1, "To build %s, see %s for instructions on \ - setting up your qe-ucode" % (PN, FILE)) - raise bb.parse.SkipRecipe("because QE_UCODE is not set") -} - do_install () { install -d ${D}/boot - install -m 644 ${B}/${QE_UCODE} ${D}/boot + install -m 644 ${B}/*.bin ${D}/boot } do_deploy () { install -d ${DEPLOYDIR}/boot - install -m 644 ${B}/${QE_UCODE} ${DEPLOYDIR}/boot + install -m 644 ${B}/*.bin ${DEPLOYDIR}/boot } addtask deploy before do_build after do_install PACKAGES += "${PN}-image" FILES_${PN}-image += "/boot/*" -COMPATIBLE_MACHINE = "(ls1021a|ls1043a|t1042|t1024)" +COMPATIBLE_MACHINE = "(qoriq)" PACKAGE_ARCH = "${MACHINE_SOCARCH}" -- cgit 1.2.3-korg