Patchwork [RESEND] Convert `libcap_1.10` to new staging system by removing `do_stage()` [1].

login
register
mail settings
Submitter Paul Menzel
Date Jan. 10, 2011, 10:28 a.m.
Message ID <1294655327.4342.18.camel@mattotaupa>
Download mbox | patch
Permalink /patch/216/
State Accepted
Headers show

Comments

Paul Menzel - Jan. 10, 2011, 10:28 a.m.
Date: Sun, 9 Jan 2011 15:59:33 +0100

This change is build tested with the following configuration and `PREFERRED_BINUTILS_VERSION = "2.21"`.

        Build Configuration:
        BB_VERSION        = "1.10.2"
        METADATA_BRANCH   = "org.openembedded.dev"
        METADATA_REVISION = "224c193"
        TARGET_ARCH       = "arm"
        TARGET_OS         = "linux-uclibceabi"
        MACHINE           = "beagleboard"
        DISTRO            = "minimal-uclibc"
        DISTRO_VERSION    = "dev-snapshot-20110109"
        TARGET_FPU        = "soft"

[1] http://wiki.openembedded.org/index.php/Legacy_staging

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
Am Sonntag, den 09.01.2011, 11:03 -0800 schrieb Khem Raj:
> On 1/9/2011 7:14 AM, Paul Menzel wrote:

[…]

> this patch is malformed and have spurious line breaks and other stuff. 
> Please redo and send again

Sorry Khem. I copied the output from `more git-am-formatted.mbox` over
an SSH session into the MUA. It looks like that does not work well. The
Signed-off-by line was wrong too.
---
 recipes/libcap/libcap_1.10.bb |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

Patch

diff --git a/recipes/libcap/libcap_1.10.bb b/recipes/libcap/libcap_1.10.bb
index e6ca393..af5600b 100644
--- a/recipes/libcap/libcap_1.10.bb
+++ b/recipes/libcap/libcap_1.10.bb
@@ -22,11 +22,5 @@  do_install() {
 	oe_libinstall -s -C libcap libcap ${D}${libdir}
 }
 
-do_stage() {
-	install -d ${STAGING_INCDIR}/sys
-	install -m 0644 libcap/include/sys/capability.h ${STAGING_INCDIR}/sys/
-	oe_libinstall -s -C libcap libcap ${STAGING_LIBDIR}
-}
-
 SRC_URI[md5sum] = "4426a413128142cab89eb2e6f13d8571"
 SRC_URI[sha256sum] = "66c3f033fdc8f9ba0bd9d0ae2d1f2c11f9fa51bf0d1418e5cb75e29e6577a5bc"