]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cryptodev-linux: clean up do_install
authorRoss Burton <ross.burton@arm.com>
Thu, 15 May 2025 15:43:05 +0000 (16:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 May 2025 16:34:52 +0000 (17:34 +0100)
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

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/cryptodev/cryptodev-linux_1.14.bb

index d5ea9d852939b1c77d326579100643ffe768cebf..451a8d7ef87c4826c1e10c10da578f6a24912905 100644 (file)
@@ -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"