summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ls2-phy
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-07-14 11:50:23 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-07-14 11:50:23 -0300
commit8d6f7ff3a053a6590f08f0cbe2fa4e095d0fc118 (patch)
tree775879389d5c7d91b61ec2f064b857a15e14b84b /recipes-bsp/ls2-phy
parent71567a9c8d0b562761d5a4d71382aa15c7317dd9 (diff)
downloadmeta-freescale-8d6f7ff3a053a6590f08f0cbe2fa4e095d0fc118.tar.gz
ls2-phy: Set DESCRIPTION/SECTION, order vars and use install per oelint
oelint-adv flagged a missing DESCRIPTION, a suggested SECTION, PACKAGE_ARCH after FILES, and 'cp' used in do_install. Add DESCRIPTION and SECTION, move PACKAGE_ARCH ahead of the PACKAGES/ FILES block, and replace the recursive 'cp' in do_install with 'install -m 0644' (the upstream firmware tree is flat, so no recursion is needed). Functionally equivalent; the same files land in /boot. oelint-adv now reports no findings for this recipe. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/ls2-phy')
-rw-r--r--recipes-bsp/ls2-phy/ls2-phy_git.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb b/recipes-bsp/ls2-phy/ls2-phy_git.bb
index 71cca21db..4a6e5ea87 100644
--- a/recipes-bsp/ls2-phy/ls2-phy_git.bb
+++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb
@@ -1,5 +1,7 @@
1SUMMARY = "Firmwares and Standalone Applications" 1SUMMARY = "Firmwares and Standalone Applications"
2DESCRIPTION = "Cortina PHY firmware and standalone applications for NXP QorIQ platforms"
2HOMEPAGE = "https://github.com/nxp/qoriq-firmware-cortina" 3HOMEPAGE = "https://github.com/nxp/qoriq-firmware-cortina"
4SECTION = "firmware"
3LICENSE = "NXP-Binary-EULA" 5LICENSE = "NXP-Binary-EULA"
4LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" 6LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798"
5 7
@@ -10,7 +12,7 @@ SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf"
10 12
11do_install () { 13do_install () {
12 install -d ${D}/boot 14 install -d ${D}/boot
13 cp -fr ${S}/* ${D}/boot 15 install -m 0644 ${S}/* ${D}/boot
14} 16}
15 17
16do_deploy () { 18do_deploy () {
@@ -19,9 +21,10 @@ do_deploy () {
19} 21}
20addtask deploy before do_build after do_install 22addtask deploy before do_build after do_install
21 23
24PACKAGE_ARCH = "${MACHINE_ARCH}"
25
22PACKAGES += "${PN}-image" 26PACKAGES += "${PN}-image"
23FILES:${PN}-image += "/boot" 27FILES:${PN}-image += "/boot"
24 28
25COMPATIBLE_MACHINE = "(qoriq)" 29COMPATIBLE_MACHINE = "(qoriq)"
26PACKAGE_ARCH = "${MACHINE_ARCH}"
27 30