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

Junling Zheng zhengjunling at huawei.com
Fri May 15 10:35:09 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 automake depends on build host environment.

Signed-off-by: Junling Zheng <zhengjunling at huawei.com>
---
 meta/recipes-devtools/automake/automake_1.15.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/automake/automake_1.15.bb b/meta/recipes-devtools/automake/automake_1.15.bb
index d5b6e9e..1963ab0 100644
--- a/meta/recipes-devtools/automake/automake_1.15.bb
+++ b/meta/recipes-devtools/automake/automake_1.15.bb
@@ -25,7 +25,7 @@ SRC_URI += " file://python-libdir.patch \
 SRC_URI[md5sum] = "716946a105ca228ab545fc37a70df3a3"
 SRC_URI[sha256sum] = "7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924"
 
-do_install_append () {
+do_install_append_class-target() {
     install -d ${D}${datadir}
 
     # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
-- 
1.8.3.4




More information about the Openembedded-core mailing list