[OE-core] [PATCH 1/2] autoconf: set perl location only for target

Junling Zheng zhengjunling at huawei.com
Fri May 15 10:35:08 UTC 2015


We should only fix perl location to /usr/bin/perl for target. It seems
to be more appropriate that the perl used by native and nativesdk class
of autoconf depends on build host environment.

Signed-off-by: Junling Zheng <zhengjunling at huawei.com>
---
 meta/recipes-devtools/autoconf/autoconf.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc
index 8b00fbd..1d79dd0 100644
--- a/meta/recipes-devtools/autoconf/autoconf.inc
+++ b/meta/recipes-devtools/autoconf/autoconf.inc
@@ -36,7 +36,7 @@ do_configure() {
 	oe_runconf
 }
 
-do_install_append() {
+do_install_append_class-target() {
     rm -rf ${D}${datadir}/emacs
 
     # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
@@ -48,4 +48,4 @@ do_install_append() {
             ${D}${bindir}/$i
         fi
     done
-} 
+}
-- 
1.8.3.4




More information about the Openembedded-core mailing list