From 1d8243bda00e7628a6c24d0df5934c4627af2384 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Thu, 10 Nov 2016 12:46:59 +0100 Subject: 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 --- meta-app-framework/recipes-core/af-main/nativesdk-af-main_1.0.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-app-framework/recipes-core') 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 426e999..0169e6b 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-*" -- cgit 1.2.3-korg