]> git.openpandora.org Git - openembedded.git/commitdiff
Unbork uclibc do_patch when USE_NLS is not 'no'.
authorChris Larson <clarson@kergoth.com>
Wed, 17 Nov 2004 03:48:14 +0000 (03:48 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 17 Nov 2004 03:48:14 +0000 (03:48 +0000)
BKrev: 419ac9feF0pBxViWiq3A8u-jGXov6Q

uclibc/uclibc_0.9.26.oe
uclibc/uclibc_cvs.oe

index e1be6e9048a976ec27ff847810f083665fa724ec..2fa8f6caaf23229cb5c573cd7fbdf1aed1d1e1dd 100644 (file)
@@ -86,7 +86,7 @@ uclibcbuild_do_patch() {
        ln -sf ${STAGING_INCDIR}/linux ${S}/include/linux
        ln -sf ${STAGING_INCDIR}/asm ${S}/include/asm
        
-       ${@['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']}
+       ${@['cp %s/%s extra/locale' % (oe.data.getVar('DL_DIR', d, 1) or '', oe.data.getVar('UCLIBC_LOCALE_FILE', d, 1) or ''), ''][oe.data.getVar('USE_NLS', d, 1) == 'no']}
 }
 
 python do_patch () {
index e0147a67fb90b4e315db14d37d02c049b5cf11be..e37c48512460f01ce0f3edea58f19d307e848458 100644 (file)
@@ -89,7 +89,7 @@ uclibcbuild_do_patch() {
        ln -sf ${STAGING_INCDIR}/linux ${S}/include/linux
        ln -sf ${STAGING_INCDIR}/asm ${S}/include/asm
        
-       ${@['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']}
+       ${@['cp %s/%s extra/locale' % (oe.data.getVar('DL_DIR', d, 1) or '', oe.data.getVar('UCLIBC_LOCALE_FILE', d, 1) or ''), ''][oe.data.getVar('USE_NLS', d, 1) == 'no']}
 }
 
 python do_patch () {