summaryrefslogtreecommitdiff
path: root/uclibc
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-16 22:21:38 +0000
committerChris Larson <clarson@kergoth.com>2004-11-16 22:21:38 +0000
commit7b861b7e61614c1fa45f16991b4d18dcb86a1df4 (patch)
treefeed25f40158e80b7e649a4075460dd00081a4f9 /uclibc
parenta1cd9e3713af7662843273d6b84c747a392ce831 (diff)
Ugh, unbork the uclibc builds with USE_NLS=no... it would attempt to copy the locale tarball into its area, even though the tarball wasnt in SRC_URI.
BKrev: 419a7d72iP7a4vvByWcwwjEXVkn79A
Diffstat (limited to 'uclibc')
-rw-r--r--uclibc/uclibc_0.9.26.oe2
-rw-r--r--uclibc/uclibc_cvs.oe2
2 files changed, 2 insertions, 2 deletions
diff --git a/uclibc/uclibc_0.9.26.oe b/uclibc/uclibc_0.9.26.oe
index d9f41ab3e6..e1be6e9048 100644
--- a/uclibc/uclibc_0.9.26.oe
+++ b/uclibc/uclibc_0.9.26.oe
@@ -86,7 +86,7 @@ uclibcbuild_do_patch() {
ln -sf ${STAGING_INCDIR}/linux ${S}/include/linux
ln -sf ${STAGING_INCDIR}/asm ${S}/include/asm
- cp ${DL_DIR}/${UCLIBC_LOCALE_FILE} extra/locale
+ ${@['cp %s/%s extra/locale' % (oe.data.getVar('WORKDIR', d, 1) or '', oe.data.getVar('UCLIBC_LOCALE_FILE', d, 1) or ''), ''][oe.data.getVar('USE_NLS', d, 1) == 'no']}
}
python do_patch () {
diff --git a/uclibc/uclibc_cvs.oe b/uclibc/uclibc_cvs.oe
index 2e84583e70..306994bf19 100644
--- a/uclibc/uclibc_cvs.oe
+++ b/uclibc/uclibc_cvs.oe
@@ -89,7 +89,7 @@ uclibcbuild_do_patch() {
ln -sf ${STAGING_INCDIR}/linux ${S}/include/linux
ln -sf ${STAGING_INCDIR}/asm ${S}/include/asm
- cp ${DL_DIR}/${UCLIBC_LOCALE_FILE} extra/locale
+ ${@['cp %s/%s extra/locale' % (oe.data.getVar('WORKDIR', d, 1) or '', oe.data.getVar('UCLIBC_LOCALE_FILE', d, 1) or ''), ''][oe.data.getVar('USE_NLS', d, 1) == 'no']}
}
python do_patch () {