From: Alexander Sverdlin <alexander.sverd...@siemens.com>

Versions starting from 20230919 require rdfind; at some point new make
target was introduced with commit 4124f8f928d5 ("Make rdfind optional").
The commit is not yet included even in 20231111, thus make even the
new make target optional.

Signed-off-by: Alexander Sverdlin <alexander.sverd...@siemens.com>
---
This patch will not help with 20231030 update, neither 20231111 will work
without rdfind. install-nodedup is not yet released as of now.

 meta/recipes-kernel/linux-firmware/linux-firmware_20231030.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20231030.bb 
b/meta/recipes-kernel/linux-firmware/linux-firmware_20231030.bb
index c0394b9b3b9..b2b700b926e 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20231030.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20231030.bb
@@ -248,6 +248,9 @@ do_compile() {
 }
 
 do_install() {
+        # Versions 20231030 and 20231111 require rdfind, newer tags will have 
new "install-nodedup"
+        # make target
+        oe_runmake_call 'DESTDIR=${D}' 
'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install-nodedup || \
         oe_runmake 'DESTDIR=${D}' 
'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install
         cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/
 }
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#191367): 
https://lists.openembedded.org/g/openembedded-core/message/191367
Mute This Topic: https://lists.openembedded.org/mt/102849939/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to