Patchwork [1/3] allarch.bbclass: disable shlib and debug symbol processing

login
register
mail settings
Submitter Paul Eggleton
Date Nov. 4, 2011, 5:52 p.m.
Message ID <43d56781e425a37a373f3285a330fccf0c35153a.1320429060.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/14283/
State Accepted
Commit 9534b3efe94fb9a9cd927f29c375bbdb74b84035
Headers show

Comments

Paul Eggleton - Nov. 4, 2011, 5:52 p.m.
all-arch packages should not contain any binaries that need processing,
so disable the shared library dependency processing and debug symbol
splitting/stripping to save some time during packaging.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/allarch.bbclass |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index a2f8179..18c9ae2 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -15,3 +15,8 @@  TARGET_CC_ARCH = "none"
 TARGET_LD_ARCH = "none"
 TARGET_AS_ARCH = "none"
 PACKAGE_EXTRA_ARCHS = ""
+
+# No need to do shared library processing or debug symbol handling
+EXCLUDE_FROM_SHLIBS = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+INHIBIT_PACKAGE_STRIP = "1"