Patchwork [2/3] libacpi: fix stripped file warning

login
register
mail settings
Submitter Paul Eggleton
Date March 21, 2012, 12:12 p.m.
Message ID <6f994e4f963a78e7321ff29138574f297dd740f7.1332331918.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/23973/
State Accepted
Commit 678b895fba610c71fcbb13555bf96322dcb15aea
Headers show

Comments

Paul Eggleton - March 21, 2012, 12:12 p.m.
Fix the following package warning:
WARNING: File '/usr/bin/test-libacpi' from libacpi was already stripped, this will prevent future debugging!

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-bsp/libacpi/libacpi_0.2.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
index 2d98fae..1a6dc97 100644
--- a/meta/recipes-bsp/libacpi/libacpi_0.2.bb
+++ b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
@@ -5,7 +5,7 @@  SECTION = "base"
 HOMEPAGE = "http://www.ngolde.de/libacpi.html"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
 	   file://makefile-fix.patch \
@@ -23,6 +23,7 @@  FILES_${PN}-bin = "${bindir}"
 COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
 
 CFLAGS += "-fPIC"
+EXTRA_OEMAKE += 'STRIP="echo"'
 
 do_install() {
 	oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix}