[08/24] qe-ucode: update recipes

Submitted by C.R. Guo on July 5, 2019, 8:43 a.m. | Patch ID: 162796

Details

Message ID 1562316188-16744-8-git-send-email-chunrong.guo@nxp.com
State New
Headers show

Commit Message

C.R. Guo July 5, 2019, 8:43 a.m.
From: Chunrong Guo <chunrong.guo@nxp.com>

*install *.bin to boot
*set COMPATIBLE_MACHINE to qoriq

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 recipes-bsp/qe-ucode/qe-ucode_git.bb | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

Patch hide | download patch | download mbox

diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb
index 9bac32d..58dffa3 100644
--- a/recipes-bsp/qe-ucode/qe-ucode_git.bb
+++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb
@@ -10,29 +10,20 @@  SRCREV= "57401f6dff6507055558eaa6838116baa8a2fd46"
 
 S = "${WORKDIR}/git"
 
-python () {
-    if not d.getVar("QE_UCODE"):
-        PN = d.getVar("PN")
-        FILE = os.path.basename(d.getVar("FILE"))
-        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}"