Skip to contentSkip to conversation

cryptodev-linux: clean up do_install

PATCH New Ross Burton 1 participant 1 message May 15, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cryptodev-linux: clean up do_install

The upstream Makefile now supports installing the headers directly[1], so use the target instead of calling install manually.

[1] https://github.com/cryptodev-linux/cryptodev-linux/commit/e3962fea4e1816df420c36ad72845f90dfcfb611

---
 meta/recipes-kernel/cryptodev/cryptodev-linux_1.14.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-kernel/cryptodev/cryptodev-linux_1.14.bb +1 -2
index d5ea9d85293..451a8d7ef87 100644
@@ -4,9 +4,8 @@ SUMMARY = "A /dev/crypto device driver header file"
 
 do_compile[noexec] = "1"
 
-# Just install cryptodev.h which is the only header file needed to be exported
 do_install() {
-	install -D ${S}/crypto/cryptodev.h ${D}${includedir}/crypto/cryptodev.h
+	oe_runmake headers_install DESTDIR="${D}"
 }
 
 ALLOW_EMPTY:${PN} = "1"
Signature · 1 line
2.43.0