Patchwork [3/7] libacpi: use lib_package bbclass

login
register
mail settings
Submitter Saul Wold
Date June 29, 2012, 9:21 p.m.
Message ID <3277b68d65f29bc9409de70988484a426debb198.1341004548.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/30907/
State Accepted
Commit 6597f7c77e1ccb21d73f8e3cec25bb27a901b500
Headers show

Comments

Saul Wold - June 29, 2012, 9:21 p.m.
This is a clean-up following the recent addition of PN-bin
to bitbake.conf and lib_package

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-bsp/libacpi/libacpi_0.2.bb |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Patch

diff --git a/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
index 1a6dc97..b0fbf0b 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 = "r5"
+PR = "r6"
 
 SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
 	   file://makefile-fix.patch \
@@ -15,10 +15,7 @@  SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
 SRC_URI[md5sum] = "05b53dd7bead66dda35fec502b91066c"
 SRC_URI[sha256sum] = "13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29"
 
-PACKAGES += "${PN}-bin"
-
-FILES_${PN} = "${libdir}/libacpi.so.*"
-FILES_${PN}-bin = "${bindir}"
+inherit lib_package
 
 COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'