From: Stephane Desneux Date: Thu, 10 Nov 2016 11:46:59 +0000 (+0100) Subject: meta-app-framework: fix unpackaged files in nativesdk-af-main X-Git-Tag: 3.99.1~104^2^2~34 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=b4ab95010b9d8deedbd3b2b369a214a9fe4065b7;p=AGL%2Fmeta-agl.git meta-app-framework: fix unpackaged files in nativesdk-af-main Recent changes in af-main now generate .pc (pkgconfig) files. These files shouldn't be packaged for nativesdk-af-main: they are just removed at the end of the install task to avoid the 'unpackaged files' error. Change-Id: I61364c430c0272e8e8a398e1e5640c856c668c1b Signed-off-by: Stephane Desneux --- diff --git a/meta-app-framework/recipes-core/af-main/nativesdk-af-main_1.0.bb b/meta-app-framework/recipes-core/af-main/nativesdk-af-main_1.0.bb index 426e99911..0169e6b1a 100644 --- a/meta-app-framework/recipes-core/af-main/nativesdk-af-main_1.0.bb +++ b/meta-app-framework/recipes-core/af-main/nativesdk-af-main_1.0.bb @@ -19,6 +19,11 @@ EXTRA_OECMAKE = "\ -Dafm_datadir=${afm_datadir} \ " +do_install_append() { + # remove unused .pc file we don't want to package + rm -rf ${D}/${libdir} +} + PACKAGES = "${PN}-tools ${PN}-tools-dbg" FILES_${PN}-tools = "${bindir}/wgtpkg-* ${afm_confdir}/*" FILES_${PN}-tools-dbg = "${bindir}/.debug/wgtpkg-*"