Skip to content

Commit

Permalink
handhelds-sa: fix make oldconfig to work with bash 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
amatus committed Sep 1, 2012
1 parent 09af2aa commit 61ffd11
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
@@ -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 "#"
Expand Up @@ -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"
Expand All @@ -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"

Expand Down

0 comments on commit 61ffd11

Please sign in to comment.