[oe-commits] [openembedded-core] 26/69: nativesdk-coreutils: a lot of warnings fixed

git at git.openembedded.org git at git.openembedded.org
Wed Mar 23 14:26:14 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 3bdd2059c3e34a0d83a532c44e42be3827b13ee0
Author: Dengke Du <dengke.du at windriver.com>
AuthorDate: Tue Mar 15 22:49:13 2016 -0400

    nativesdk-coreutils: a lot of warnings fixed
    
    When we create nativesdk-coreutils, a lot of warnings appear,it
    show many files can't find. Because in the coreutils recipe, it
    didn't contain the do_install for the nativesdk, so when the
    alternative system check the files in the following process, it
    can't find the files. So we should add the do_install for the
    nativesdk, change the function do_install_append_class-target() to
    do_install_append() in the file:
    	meta/recipes-core/coreutils/coreutils_8.25.bb
    in this way, the alternative system can find the files, the warnings
    disappear.
    
    Signed-off-by: Dengke Du <dengke.du at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-core/coreutils/coreutils_8.25.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/coreutils/coreutils_8.25.bb b/meta/recipes-core/coreutils/coreutils_8.25.bb
index b875b18..419a693 100644
--- a/meta/recipes-core/coreutils/coreutils_8.25.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.25.bb
@@ -28,6 +28,7 @@ SRC_URI[manpages.sha256sum] = "2ee31c3a6d2276f49c5515375d4a0c1047580da6ac1053689
 
 EXTRA_OECONF_class-native = "--without-gmp"
 EXTRA_OECONF_class-target = "--enable-install-program=arch --libexecdir=${libdir}"
+EXTRA_OECONF_class-nativesdk = "--enable-install-program=arch"
 
 # acl and xattr are not default features
 #
@@ -68,7 +69,7 @@ do_compile_prepend () {
 	mkdir -p ${B}/src
 }
 
-do_install_append_class-target() {
+do_install_append() {
 	for i in df mktemp base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done
 
 	install -d ${D}${base_bindir}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list