From: Jack Mitchell <[email protected]>

move INSTALL_ROOT over to EXTRA_OEMAKE rather than over riding
oe_runmake install

Signed-off-by: Jack Mitchell <[email protected]>
---
 meta-oe/recipes-devtools/php/php.inc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

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
-- 
1.8.2.2


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to