From 298a48ca78b3b907fd4f6fdf71b4e8e7e7b922b1 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 17 Aug 2010 16:39:34 -0700 Subject: quilt-native: Provide a new do_install based on the target one. 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 --- recipes/quilt/quilt-native.inc | 4 ++++ recipes/quilt/quilt-native_0.48.bb | 2 +- recipes/quilt/quilt.inc | 1 + recipes/quilt/quilt_0.48.bb | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) (limited to 'recipes/quilt') diff --git a/recipes/quilt/quilt-native.inc b/recipes/quilt/quilt-native.inc index 10d81835c3..1306b1f87a 100644 --- a/recipes/quilt/quilt-native.inc +++ b/recipes/quilt/quilt-native.inc @@ -15,6 +15,10 @@ do_configure () { oe_runconf } +do_install () { + oe_runmake 'BUILD_ROOT=${D}' install +} + do_test() { oe_runmake check } diff --git a/recipes/quilt/quilt-native_0.48.bb b/recipes/quilt/quilt-native_0.48.bb index b180e58b9b..efb37ca8a0 100644 --- a/recipes/quilt/quilt-native_0.48.bb +++ b/recipes/quilt/quilt-native_0.48.bb @@ -1,6 +1,6 @@ require quilt-native.inc -PR="r4" +PR = "${INC_PR}" SRC_URI_append = "file://fix_new_GNU_patch_detection.patch" diff --git a/recipes/quilt/quilt.inc b/recipes/quilt/quilt.inc index a9ed163bf6..ac657fb433 100644 --- a/recipes/quilt/quilt.inc +++ b/recipes/quilt/quilt.inc @@ -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 \ diff --git a/recipes/quilt/quilt_0.48.bb b/recipes/quilt/quilt_0.48.bb index 0a066dfcc0..3a6fd4b1dc 100644 --- a/recipes/quilt/quilt_0.48.bb +++ b/recipes/quilt/quilt_0.48.bb @@ -1,6 +1,6 @@ require quilt-package.inc -PR="r1" +PR="${INC_PR}" SRC_URI[md5sum] = "f77adda60039ffa753f3c584a286f12b" SRC_URI[sha256sum] = "73fd760d3b5cbf06417576591dc37d67380d189392db9000c21b7cbebee49ffc" -- cgit v1.2.3