diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-14 11:50:23 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-14 11:50:23 -0300 |
| commit | 8d6f7ff3a053a6590f08f0cbe2fa4e095d0fc118 (patch) | |
| tree | 775879389d5c7d91b61ec2f064b857a15e14b84b /recipes-bsp | |
| parent | 71567a9c8d0b562761d5a4d71382aa15c7317dd9 (diff) | |
| download | meta-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')
| -rw-r--r-- | recipes-bsp/ls2-phy/ls2-phy_git.bb | 7 |
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 @@ | |||
| 1 | SUMMARY = "Firmwares and Standalone Applications" | 1 | SUMMARY = "Firmwares and Standalone Applications" |
| 2 | DESCRIPTION = "Cortina PHY firmware and standalone applications for NXP QorIQ platforms" | ||
| 2 | HOMEPAGE = "https://github.com/nxp/qoriq-firmware-cortina" | 3 | HOMEPAGE = "https://github.com/nxp/qoriq-firmware-cortina" |
| 4 | SECTION = "firmware" | ||
| 3 | LICENSE = "NXP-Binary-EULA" | 5 | LICENSE = "NXP-Binary-EULA" |
| 4 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" | 6 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" |
| 5 | 7 | ||
| @@ -10,7 +12,7 @@ SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" | |||
| 10 | 12 | ||
| 11 | do_install () { | 13 | do_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 | ||
| 16 | do_deploy () { | 18 | do_deploy () { |
| @@ -19,9 +21,10 @@ do_deploy () { | |||
| 19 | } | 21 | } |
| 20 | addtask deploy before do_build after do_install | 22 | addtask deploy before do_build after do_install |
| 21 | 23 | ||
| 24 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 25 | |||
| 22 | PACKAGES += "${PN}-image" | 26 | PACKAGES += "${PN}-image" |
| 23 | FILES:${PN}-image += "/boot" | 27 | FILES:${PN}-image += "/boot" |
| 24 | 28 | ||
| 25 | COMPATIBLE_MACHINE = "(qoriq)" | 29 | COMPATIBLE_MACHINE = "(qoriq)" |
| 26 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 27 | 30 | ||
