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 e1be6e9..2fa8f6c 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 e0147a6..e37c485 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 () {