Patchwork nativesdk.bbclass: Remove historical FILES artifact

login
register
mail settings
Submitter Richard Purdie
Date Dec. 16, 2011, 3:23 p.m.
Message ID <1324049027.4568.97.camel@ted>
Download mbox | patch
Permalink /patch/17137/
State Accepted
Commit 9f1d23a5dd6c60ffe360d8b339768c7e4fb98323
Headers show

Comments

Richard Purdie - Dec. 16, 2011, 3:23 p.m.
Adding everything in ${prefix} to FILES and FILES-dbg is a historical artifact
left over from when this was sdk.bbclass back in 2009.

The BBCLASSEXTEND changes, multilib changes and cleanups to this file
over the intervening time mean this is simply no long needed.

Its also outright dangerous since it can link the packages together
in circular ways which don't make sense. The simplest thing to is
to drop this since it no longer does anything useful.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index b8abc9f..ceec53e 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -53,11 +53,6 @@  prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
 exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
 baselib = "lib"
 
-FILES_${PN} += "${prefix}"
-FILES_${PN}-dbg += "${prefix}/.debug \
-                    ${prefix}/bin/.debug \
-                   "
-
 export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${libdir}/pkgconfig"
 export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"