Permalink
Browse files

handhelds-sa: fix make oldconfig to work with bash 4.

  • Loading branch information...
amatus committed Aug 30, 2012
1 parent 09af2aa commit 61ffd11e20d5b69ec900388ca176d67999f6bf89
@@ -0,0 +1,25 @@
+Index: kernel/scripts/Configure
+===================================================================
+--- kernel.orig/scripts/Configure 2012-08-30 00:32:30.991075654 -0500
++++ kernel/scripts/Configure 2012-08-30 00:33:11.014899304 -0500
+@@ -544,9 +544,9 @@
+ CONFIG_IN=$1
+ fi
+
+-DEFAULTS=arch/$ARCH/defconfig
++DEFAULTS=./arch/$ARCH/defconfig
+ if [ -f .config ]; then
+- DEFAULTS=.config
++ DEFAULTS=./.config
+ fi
+
+ if [ -f $DEFAULTS ]; then
+@@ -555,7 +555,7 @@
+ echo "#"
+ . $DEFAULTS
+ sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$
+- . .config-is-not.$$
++ . ./.config-is-not.$$
+ rm .config-is-not.$$
+ else
+ echo "#"
@@ -2,7 +2,7 @@ SECTION = "kernel"
DESCRIPTION = "handhelds.org Linux kernel for StrongArm processor based devices."
MAINTAINER = "Rene Wagner <rw@handhelds.org>"
LICENSE = "GPL"
-PR = "r7"
+PR = "r8"
KERNEL_CCSUFFIX = "-3.3.4"
COMPATIBLE_HOST = "arm.*-linux"
@@ -11,6 +11,7 @@ PARALLEL_INSTALL_REPLACE_VERSIONS = "2.4.19-rmk6-pxa1-hh37"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-sa-${PV}"
SRC_URI = "${HANDHELDS_CVS};module=linux/kernel;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \
+ file://configure-script-bash4.patch;patch=1 \
file://defconfig-${PACKAGE_ARCH} \
file://ipaq-hal.init"

0 comments on commit 61ffd11

Please sign in to comment.