From 73b9083202bdd93d19b853d4080d153443fd96d8 Mon Sep 17 00:00:00 2001 From: Martin Dietze Date: Sun, 29 Nov 2009 21:04:08 +0100 Subject: linux-mtx-[12]-2.4.27: support bash4 for oldconfig * when using bash4 as /bin/sh the scripts/Configure script failed when running `make oldconfig', added patch to change `. .config' to `. ./.config' --- recipes/linux/linux-mtx-1-2.4.27/49-bash4-configure.patch | 11 +++++++++++ recipes/linux/linux-mtx-1_2.4.27.bb | 1 + recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch | 11 +++++++++++ recipes/linux/linux-mtx-2_2.4.27.bb | 1 + 4 files changed, 24 insertions(+) create mode 100644 recipes/linux/linux-mtx-1-2.4.27/49-bash4-configure.patch create mode 100644 recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch diff --git a/recipes/linux/linux-mtx-1-2.4.27/49-bash4-configure.patch b/recipes/linux/linux-mtx-1-2.4.27/49-bash4-configure.patch new file mode 100644 index 0000000000..222567d12e --- /dev/null +++ b/recipes/linux/linux-mtx-1-2.4.27/49-bash4-configure.patch @@ -0,0 +1,11 @@ +--- linux/scripts/Configure-orig 2009-11-29 19:12:02.000000000 +0100 ++++ linux/scripts/Configure 2009-11-29 19:12:27.000000000 +0100 +@@ -543,7 +543,7 @@ + echo "#" + echo "# Using defaults found in" $DEFAULTS + echo "#" +- . $DEFAULTS ++ . ./$DEFAULTS + sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$ + . .config-is-not.$$ + rm .config-is-not.$$ diff --git a/recipes/linux/linux-mtx-1_2.4.27.bb b/recipes/linux/linux-mtx-1_2.4.27.bb index 6dd7121bae..952edb0140 100644 --- a/recipes/linux/linux-mtx-1_2.4.27.bb +++ b/recipes/linux/linux-mtx-1_2.4.27.bb @@ -41,6 +41,7 @@ SRC_URI = "cvs://cvs:cvs@ftp.linux-mips.org/home/cvs;module=linux;tag=linux_2_4_ file://43-usbserial-27-32-backport.diff;patch=1 \ file://45-acm-tty-and-sb2.patch;patch=1 \ file://48-pptp.patch;patch=1 \ + file://49-bash4-configure.patch;patch=1 \ file://defconfig-mtx-1" S = "${WORKDIR}/linux" diff --git a/recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch b/recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch new file mode 100644 index 0000000000..222567d12e --- /dev/null +++ b/recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch @@ -0,0 +1,11 @@ +--- linux/scripts/Configure-orig 2009-11-29 19:12:02.000000000 +0100 ++++ linux/scripts/Configure 2009-11-29 19:12:27.000000000 +0100 +@@ -543,7 +543,7 @@ + echo "#" + echo "# Using defaults found in" $DEFAULTS + echo "#" +- . $DEFAULTS ++ . ./$DEFAULTS + sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$ + . .config-is-not.$$ + rm .config-is-not.$$ diff --git a/recipes/linux/linux-mtx-2_2.4.27.bb b/recipes/linux/linux-mtx-2_2.4.27.bb index 5b26903ec0..3379d548a1 100644 --- a/recipes/linux/linux-mtx-2_2.4.27.bb +++ b/recipes/linux/linux-mtx-2_2.4.27.bb @@ -43,6 +43,7 @@ SRC_URI += "cvs://cvs:cvs@ftp.linux-mips.org/home/cvs;module=linux;tag=linux_2_4 file://46-otg.patch;patch=1 \ file://47-au1000_eth.patch;patch=1 \ file://48-pptp.patch;patch=1 \ + file://49-bash4-configure.patch;patch=1 \ file://defconfig-mtx-2" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-mtx-2-${PV}" -- cgit 1.2.3-korg