summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2009-06-10 21:02:49 +0100
committerPhil Blundell <philb@gnu.org>2009-06-10 21:02:49 +0100
commitb547ef50c9d04427cf4f62b9f5feaad3b7f34c56 (patch)
tree98dbff995a47eb3a00beec702c8127fd0d17de77 /recipes
parentd302cb3796aea6f77e3a32ae2e5d6c807ddbbcd0 (diff)
uclibc: fix handling of bindir != /usr/bin
Diffstat (limited to 'recipes')
-rw-r--r--recipes/uclibc/uclibc.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes/uclibc/uclibc.inc b/recipes/uclibc/uclibc.inc
index a9679543b8..bf8df8ef5e 100644
--- a/recipes/uclibc/uclibc.inc
+++ b/recipes/uclibc/uclibc.inc
@@ -202,17 +202,17 @@ do_install() {
rmdir ${D}${prefix}/lib
fi
- if [ "${bindir}" != "/usr/bin" ]; then
- install -d ${D}${bindir}
- mv ${D}/usr/bin/* ${D}${bindir}/
- rmdir ${D}/usr/bin
- fi
-
oe_runmake "SSP_ALL_CFLAGS=${TARGET_LINK_HASH_STYLE}" utils
oe_runmake STRIPTOOL=true PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \
install_utils
# oe_runstrip needs +x on files
chmod +x ${D}/${base_libdir}/*
+
+ if [ "${bindir}" != "/usr/bin" ]; then
+ install -d ${D}${bindir}
+ mv ${D}/usr/bin/* ${D}${bindir}/
+ rmdir ${D}/usr/bin
+ fi
}