aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-core
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-11-10 12:46:59 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2017-03-27 15:33:39 +0200
commitb4ab95010b9d8deedbd3b2b369a214a9fe4065b7 (patch)
tree6306cb246af4371b2a0685eb4871755eacc85ee1 /meta-app-framework/recipes-core
parenta9eccd3dd68af01188f3f8d3d7104cf23a4f49e7 (diff)
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 <stephane.desneux@iot.bzh>
Diffstat (limited to 'meta-app-framework/recipes-core')
-rw-r--r--meta-app-framework/recipes-core/af-main/nativesdk-af-main_1.0.bb5
1 files changed, 5 insertions, 0 deletions
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-*"