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>
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"