quilt-native: Provide a new do_install based on the target one.
authorTom Rini <tom_rini@mentor.com>
Tue, 17 Aug 2010 23:39:34 +0000 (16:39 -0700)
committerTom Rini <tom_rini@mentor.com>
Tue, 17 Aug 2010 23:42:19 +0000 (16:42 -0700)
As seen in quilt-package.inc we need to pass 'BUILD_ROOT=${D}'
to have things installed where we want.  Otherwise we end up with legacy
staging (and empty pstaging packages).  Switch to INC_PR

Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/quilt/quilt-native.inc
recipes/quilt/quilt-native_0.48.bb
recipes/quilt/quilt.inc
recipes/quilt/quilt_0.48.bb

index 10d8183..1306b1f 100644 (file)
@@ -15,6 +15,10 @@ do_configure () {
        oe_runconf
 }
 
+do_install () {
+       oe_runmake 'BUILD_ROOT=${D}' install
+}
+
 do_test() {
     oe_runmake check
 }
index b180e58..efb37ca 100644 (file)
@@ -1,6 +1,6 @@
 require quilt-native.inc
 
-PR="r4"
+PR = "${INC_PR}"
 
 SRC_URI_append = "file://fix_new_GNU_patch_detection.patch"
 
index a9ed163..ac657fb 100644 (file)
@@ -2,6 +2,7 @@ DESCRIPTION = "Tool to work with series of patches."
 HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/"
 SECTION = "devel"
 LICENSE = "GPL"
+INC_PR = "r5"
 
 SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
            file://install.patch \
index 0a066df..3a6fd4b 100644 (file)
@@ -1,6 +1,6 @@
 require quilt-package.inc
 
-PR="r1"
+PR="${INC_PR}"
 
 SRC_URI[md5sum] = "f77adda60039ffa753f3c584a286f12b"
 SRC_URI[sha256sum] = "73fd760d3b5cbf06417576591dc37d67380d189392db9000c21b7cbebee49ffc"