From: TenThumbs <tenthumbs@cybernex.net>
To: linux-kernel@vger.kernel.org
Subject: 2.2.18pre18: many calls to kwhich
Date: Thu, 02 Nov 2000 09:52:43 -0500 [thread overview]
Message-ID: <3A017FBB.AF8C596D@cybernex.net> (raw)
I noticed that kwhich is called a lot:
make oldconfig: 10
make dep: 65
make bzImage modules: 142
Assuming that this is unintentional, this patch helps a lot.
--- Makefile.orig Sun Oct 29 09:09:16 2000
+++ Makefile Tue Oct 31 11:39:11 2000
@@ -28,7 +28,7 @@
# kgcc for Conectiva and Red Hat 7
# otherwise 'cc'
#
-CC =$(shell if [ -n "$(CROSS_COMPILE)" ]; then echo $(CROSS_COMPILE)gcc; else \
+CC :=$(shell if [ -n "$(CROSS_COMPILE)" ]; then echo $(CROSS_COMPILE)gcc; else \
$(CONFIG_SHELL) scripts/kwhich gcc272 2>/dev/null || $(CONFIG_SHELL) scripts/kwhich kgcc 2>/dev/null || echo cc; fi) \
-D__KERNEL__ -I$(HPATH)
CPP =$(CC) -E
(If it gets wrapped, it's just "=" -> ":=").
It's also interesting that make dep calls kwhich an odd number
of times including one case where it looked for "gcc." I suspect
a makefile isn't playing nice but I haven't looked for it.
-
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/
next reply other threads:[~2000-11-02 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-02 14:52 TenThumbs [this message]
2000-11-04 1:28 ` 2.2.18pre18: many calls to kwhich Peter Samuelson
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=3A017FBB.AF8C596D@cybernex.net \
--to=tenthumbs@cybernex.net \
--cc=linux-kernel@vger.kernel.org \
/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).