summaryrefslogtreecommitdiff
path: root/uclibc
diff options
context:
space:
mode:
Diffstat (limited to 'uclibc')
-rw-r--r--uclibc/uclibc_0.9.26.oe17
1 files changed, 9 insertions, 8 deletions
diff --git a/uclibc/uclibc_0.9.26.oe b/uclibc/uclibc_0.9.26.oe
index f723f762f7..b8e308a293 100644
--- a/uclibc/uclibc_0.9.26.oe
+++ b/uclibc/uclibc_0.9.26.oe
@@ -57,13 +57,14 @@ python do_patch () {
}
do_stage() {
- # Install into the staging dir
- make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
+ # Install into the cross dir (this MUST be done first because we
+ # will install crt1.o in the install_dev stage and gcc needs it)
+ make PREFIX= DEVEL_PREFIX=${UCLIBC_PREFIX}/ \
+ RUNTIME_PREFIX=${UCLIBC_PREFIX}/ \
install_dev install_runtime install_utils
# We don't really need this
- rm -f ${UCLIBC_STAGE_PREFIX}/include/.cvsignore
+ rm -f ${UCLIBC_PREFIX}/include/.cvsignore
# Fixup shared lib symlinks
( cd ${UCLIBC_STAGE_PREFIX}/lib
@@ -72,13 +73,13 @@ do_stage() {
done
)
- # Install into the cross dir
- make PREFIX= DEVEL_PREFIX=${UCLIBC_PREFIX}/ \
- RUNTIME_PREFIX=${UCLIBC_PREFIX}/ \
+ # Install into the staging dir
+ make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
+ RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
install_dev install_runtime install_utils
# We don't really need this
- rm -f ${UCLIBC_PREFIX}/include/.cvsignore
+ rm -f ${UCLIBC_STAGE_PREFIX}/include/.cvsignore
# Fixup shared lib symlinks
( cd ${UCLIBC_STAGE_PREFIX}/lib