[oe-commits] Martin Dietze : linux-mtx-[12]-2.4.27: support bash4 for oldconfig

git version control git at git.openembedded.org
Sun Nov 29 20:21:52 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 4285ad5e1bb0bbc9508a8536aad66b439e9c03f8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4285ad5e1bb0bbc9508a8536aad66b439e9c03f8

Author: Martin Dietze <herbert at spamcop.net>
Date:   Sun Nov 29 21:04:08 2009 +0100

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'

---

 .../linux-mtx-1-2.4.27/49-bash4-configure.patch    |   11 +++++++++++
 recipes/linux/linux-mtx-1_2.4.27.bb                |    1 +
 .../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(+), 0 deletions(-)

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 0000000..222567d
--- /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 6dd7121..952edb0 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 0000000..222567d
--- /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 5b26903..3379d54 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}"





More information about the Openembedded-commits mailing list