]> code.ossystems Code Review - openembedded-core.git/commitdiff
ltp: fix empty ltp-dev package
authorJonas Höppner <jonas.hoeppner@garz-fricke.com>
Fri, 9 Apr 2021 06:35:22 +0000 (06:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 18 Apr 2021 10:29:05 +0000 (11:29 +0100)
Currently the headers are not installed and the ltp-dev package is
empty.

This patch adds an include-install make target in the do_install step to
install them in sysroot which ends up as a working ltp-dev package.

Signed-off-by: Jonas Höppner <jonas.hoeppner@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ltp/ltp_20210121.bb

index f58ca2eb2cb6c47776eb5199fad2c2b6350eb16f..d98c9fdc250cab3d8c638957864b2c9cb6e1be4a 100644 (file)
@@ -61,7 +61,7 @@ EXTRA_OECONF += " --without-tirpc "
 
 do_install(){
     install -d ${D}${prefix}/
-    oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install
+    oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install include-install
 
     # fixup not deploy STPfailure_report.pl to avoid confusing about it fails to run
     # as it lacks dependency on some perl moudle such as LWP::Simple