From: Matthew Wilcox <matthew@wil.cx>
To: torvalds@transmeta.com
Cc: linux-kbuild@torque.net, linux-kernel@vger.kernel.org
Subject: [PATCH] make config w/ Pentium-II
Date: Tue, 12 Dec 2000 15:17:08 +0000 [thread overview]
Message-ID: <20001212151708.A6915@parcelfarce.linux.theplanet.co.uk> (raw)
I built 2.4.0-test10 for my laptop and got caught out by `make config'.
When I typed `Pentium-II' for my CPU type, it selected Pentium-III and
my kernel wouldn't boot. To prevent errors of this type, please apply
this patch. As a bonus, `Celeron' will now work as an answer too.
Please apply.
diff -urNX dontdiff linux/scripts/Configure linux-test10/scripts/Configure
--- linux/scripts/Configure Mon Oct 30 22:44:29 2000
+++ linux-test10/scripts/Configure Tue Dec 12 03:39:41 2000
@@ -479,11 +479,14 @@
while [ -n "$1" ]; do
name=$(echo $1 | tr a-z A-Z)
case "$name" in
- "$ans"* )
- if [ "$name" = "$ans" ]; then
- val="$2"
- break # stop on exact match
- fi
+ "$ans"* | */"$ans"* )
+ case "$name" in
+ "$ans" | */"$ans"/* | \
+ "$ans"/* | */"$ans" )
+ val="$2"
+ break # exact match
+ ;;
+ esac
if [ -n "$val" ]; then
echo;echo \
" Sorry, \"$ans\" is ambiguous; please enter a longer string."
--
Revolutions do not require corporate support.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~2000-12-12 15:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001212151708.A6915@parcelfarce.linux.theplanet.co.uk \
--to=matthew@wil.cx \
--cc=linux-kbuild@torque.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).