Patchwork [meta-oe] php: move INSTALL_ROOT over to EXTRA_OEMAKE

login
register
mail settings
Submitter ml@communistcode.co.uk
Date April 29, 2013, 2:10 p.m.
Message ID <1367244651-14037-1-git-send-email-ml@communistcode.co.uk>
Download mbox | patch
Permalink /patch/49063/
State Accepted, archived
Commit def06e9e9aec30ad14020073d7c4a506e3408968
Headers show

Comments

ml@communistcode.co.uk - April 29, 2013, 2:10 p.m.
From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>

move INSTALL_ROOT over to EXTRA_OEMAKE rather than over riding
oe_runmake install

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
---
 meta-oe/recipes-devtools/php/php.inc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Patch

diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index edfdd64..5345f2a 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -54,11 +54,9 @@  export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
 export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php"
 CFLAGS += " -D_GNU_SOURCE"
 
-acpaths = ""
+EXTRA_OEMAKE = "INSTALL_ROOT=${D}"
 
-do_install  () {
-    oe_runmake 'INSTALL_ROOT=${D}' install
-}
+acpaths = ""
 
 do_install_append_pn-php-native() {
     rm -rf ${D}/${libdir}/php/.registry