summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/toolchain-scripts.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 278cbc063d..7e2f8be81c 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -124,7 +124,10 @@ toolchain_create_post_relocate_script() {
124 124
125 cat >> $script <<EOF 125 cat >> $script <<EOF
126if [ -d "${SDKPATHNATIVE}/post-relocate-setup.d/" ]; then 126if [ -d "${SDKPATHNATIVE}/post-relocate-setup.d/" ]; then
127 for s in ${SDKPATHNATIVE}/post-relocate-setup.d/*.sh; do 127 for s in ${SDKPATHNATIVE}/post-relocate-setup.d/*; do
128 if [ ! -x \$s ]; then
129 continue
130 fi
128 \$s "\$1" 131 \$s "\$1"
129 done 132 done
130 rm -rf "${SDKPATHNATIVE}/post-relocate-setup.d" 133 rm -rf "${SDKPATHNATIVE}/post-relocate-setup.d"