mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
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] e3962fea4e
(From OE-Core rev: 749de43ccc13488c0ec74e4a4257cc25cbf89370)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
30ed130638
commit
fec5b53708
@@ -4,9 +4,8 @@ SUMMARY = "A /dev/crypto device driver header file"
|
|||||||
|
|
||||||
do_compile[noexec] = "1"
|
do_compile[noexec] = "1"
|
||||||
|
|
||||||
# Just install cryptodev.h which is the only header file needed to be exported
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -D ${S}/crypto/cryptodev.h ${D}${includedir}/crypto/cryptodev.h
|
oe_runmake headers_install DESTDIR="${D}"
|
||||||
}
|
}
|
||||||
|
|
||||||
ALLOW_EMPTY:${PN} = "1"
|
ALLOW_EMPTY:${PN} = "1"
|
||||||
|
|||||||
Reference in New Issue
Block a user