diff options
| -rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb index 1fd44f4d53..b7dd84bad9 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb | |||
| @@ -249,13 +249,17 @@ inherit allarch | |||
| 249 | 249 | ||
| 250 | CLEANBROKEN = "1" | 250 | CLEANBROKEN = "1" |
| 251 | 251 | ||
| 252 | # Use PACKAGECONFIG_CONFARGS to set the Makefile target | ||
| 253 | PACKAGECONFIG ??= "" | ||
| 254 | # Enabling dedup will turn duplicate firmware files into links | ||
| 255 | PACKAGECONFIG[deduplicate] = "install,install-nodedup,rdfind-native" | ||
| 256 | |||
| 252 | do_compile() { | 257 | do_compile() { |
| 253 | : | 258 | : |
| 254 | } | 259 | } |
| 255 | 260 | ||
| 256 | do_install() { | 261 | do_install() { |
| 257 | # install-nodedup avoids rdfind dependency | 262 | oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' ${PACKAGECONFIG_CONFARGS} |
| 258 | oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install-nodedup | ||
| 259 | cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/ | 263 | cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/ |
| 260 | } | 264 | } |
| 261 | 265 | ||
