aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDengke Du <dengke.du@windriver.com>2016-04-06 00:28:20 -0400
committerDengke Du <dengke.du@windriver.com>2016-04-06 00:28:20 -0400
commit39560f98b94a3d0d24c44c7ff139aa1c605a8498 (patch)
tree130fb0d38a2cca637eeea1c6685435fe11ec6e8a
parentf4f1d206f4ebafcde18c96c88a1bfc4ab7b0c119 (diff)
downloadopenembedded-core-contrib-dengke/correct_the_case_for_class-native.tar.gz
coreutils: correct the case for class-nativedengke/correct_the_case_for_class-native
The function of do_install_append_class-native for class-native had alread exist,so exclude the class-native in function do_install_append. Signed-off-by: Dengke Du <dengke.du@windriver.com>
-rw-r--r--meta/recipes-core/coreutils/coreutils_8.25.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_8.25.bb b/meta/recipes-core/coreutils/coreutils_8.25.bb
index 419a693372..e8e269a607 100644
--- a/meta/recipes-core/coreutils/coreutils_8.25.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.25.bb
@@ -70,6 +70,10 @@ do_compile_prepend () {
}
do_install_append() {
+ if [ "${CLASSOVERRIDE}" = "class-native" ]; then
+ return
+ fi
+
for i in df mktemp base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done
install -d ${D}${base_bindir}