Patchwork [meta-fsl-arm] libfslcodec: Don't try to split debug symbols

login
register
mail settings
Submitter Otavio Salvador
Date March 26, 2013, 5:41 p.m.
Message ID <1364319695-29229-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/47003/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - March 26, 2013, 5:41 p.m.
The debug symbol split now raises an error as bellow:

,----[ Error ]
| Failed to write file: invalid section alignment
| ERROR: debugedit failed with exit code 1 ...
`----

This happens because the binaries from Freescale are stripped, to
avoid it we need to avoid the debug splitting.

Change-Id: I1a1aee2a8e3bf806455300c21e6e5c41eb543795
Reported-by: Michael Urbaniak <MikeU@ebtron.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-multimedia/libfslcodec/libfslcodec_3.0.5.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/recipes-multimedia/libfslcodec/libfslcodec_3.0.5.bb b/recipes-multimedia/libfslcodec/libfslcodec_3.0.5.bb
index 183bf26..93b4370 100644
--- a/recipes-multimedia/libfslcodec/libfslcodec_3.0.5.bb
+++ b/recipes-multimedia/libfslcodec/libfslcodec_3.0.5.bb
@@ -14,6 +14,7 @@  SRC_URI[sha256sum] = "2a4a7248246ff37f30486f34918151f09493ecfcaeca0cd8155d5b5c93
 SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
 
 PACKAGES_DYNAMIC = "${PN}-*"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
 do_install_append() {
 	# FIXME: This link points to nowhere