From: Chris Larson Date: Wed, 17 Nov 2004 03:48:14 +0000 (+0000) Subject: Unbork uclibc do_patch when USE_NLS is not 'no'. X-Git-Tag: Release-2010-05/1~16180 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da743b3be46d9e48f9d18a5c23386e87923edccf;p=openembedded.git Unbork uclibc do_patch when USE_NLS is not 'no'. BKrev: 419ac9feF0pBxViWiq3A8u-jGXov6Q --- diff --git a/uclibc/uclibc_0.9.26.oe b/uclibc/uclibc_0.9.26.oe index e1be6e9048..2fa8f6caaf 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 %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 () { diff --git a/uclibc/uclibc_cvs.oe b/uclibc/uclibc_cvs.oe index e0147a67fb..e37c485124 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 %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 () {