Skip to contentSkip to conversation

external-arm-toolchain: split and strip packages normally

PATCH In review Denys Dmytriyenko 3 participants 3 messages Apr 12, 2020 – Apr 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 external-arm-toolchain: split and strip packages normally

From: Denys Dmytriyenko <[email protected]>

In the past, some Linaro toolchain versions were shipped with already stripped libraries, causing QA issues, hence splitting and stripping was disabled.

This is no longer the case and it is better to split and strip binaries and libraries normally, generating smaller images, while retaining debug symbols in corresponding -dbg packages.

---
 .../recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb   | 2 --
 1 file changed, 2 deletions(-)
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb +0 -2
index a5ada95..ddd3aff 100644
@@ -1,8 +1,6 @@
 require recipes-core/glibc/glibc-package.inc
 
 INHIBIT_DEFAULT_DEPS = "1"
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
 # License applies to this recipe code, not the toolchain itself
 LICENSE = "MIT"
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

In the past, some Linaro toolchain versions were shipped with already stripped libraries, causing QA issues, hence splitting and stripping was disabled.

Quoted 8 lines

This is no longer the case and it is better to split and strip binaries and libraries normally, generating smaller images, while retaining debug symbols in corresponding -dbg packages.

---
 .../recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb   | 2 --
 1 file changed, 2 deletions(-)
Quoted 18 lines
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb +0 -3
index a5ada95..ddd3aff 100644
@@ -1,8 +1,6 @@
 require recipes-core/glibc/glibc-package.inc
 
 INHIBIT_DEFAULT_DEPS = "1"
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
 # License applies to this recipe code, not the toolchain itself
 LICENSE = "MIT"
--

2.7.4

#2 lore raw
In reply to Denys Dmytriyenko
Quoted 8 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

In the past, some Linaro toolchain versions were shipped with already stripped libraries, causing QA issues, hence splitting and stripping was disabled.

This is no longer the case and it is better to split and strip binaries and libraries normally, generating smaller images, while retaining debug symbols in corresponding -dbg packages.

Pulled into the master branch.

Thanks,
Jon

Quoted 24 lines
---
 .../recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb   | 2 --
 1 file changed, 2 deletions(-)
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb +0 -2
index a5ada95..ddd3aff 100644
@@ -1,8 +1,6 @@
 require recipes-core/glibc/glibc-package.inc
 
 INHIBIT_DEFAULT_DEPS = "1"
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
 # License applies to this recipe code, not the toolchain itself
 LICENSE = "MIT"
Signature · 1 line
2.7.4