summaryrefslogtreecommitdiff
path: root/packages/linux/ixp4xx-kernel-svnpatch.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/ixp4xx-kernel-svnpatch.inc')
-rw-r--r--packages/linux/ixp4xx-kernel-svnpatch.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/linux/ixp4xx-kernel-svnpatch.inc b/packages/linux/ixp4xx-kernel-svnpatch.inc
index 992310b5a8..3bad229402 100644
--- a/packages/linux/ixp4xx-kernel-svnpatch.inc
+++ b/packages/linux/ixp4xx-kernel-svnpatch.inc
@@ -4,7 +4,9 @@ IXP4XX_KERNEL_SVN_REPO ?= "http://svn.nslu2-linux.org/svnroot/kernel/trunk"
do_svnpatch() {
svn co ${IXP4XX_KERNEL_SVN_REPO}/patches/${IXP4XX_KERNEL_PATCH_DIR} --revision ${IXP4XX_KERNEL_SVN_REV} ${WORKDIR}/patches-${PV}
- cp ${WORKDIR}/patches-${PV}/defconfig ${WORKDIR}/defconfig
+ if [ ! -f ${WORKDIR}/defconfig ] ; then \
+ cp ${WORKDIR}/patches-${PV}/defconfig ${WORKDIR}/defconfig ; \
+ fi
rm -rf ${S}/patches
cd ${S} && ln -s ${WORKDIR}/patches-${PV} ${S}/patches
cd ${S} && rm -rf .pc && ${STAGING_BINDIR_NATIVE}/quilt push -av