[lkml]   [2001]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: Linux 2.2.19pre7
[Mike van Smoorenburg]
> Also calling kwhich with multiple arguments was actually the idea
> behind the script.

Yes, and that's why my optimization patch (in 2.2.19pre3, since
reverted) broke -- it relied on multiple arguments.

Alan, could you put it back in now?


--- 2.2.19-7/Makefile~ Tue Jan 9 20:20:14 2001
+++ 2.2.19-7/Makefile Tue Jan 9 20:27:27 2001
@@ -24,12 +24,14 @@
# foo-bar-gcc for cross builds
-# gcc272 for Debian's old compiler for kernels
# kgcc for Conectiva, Mandrake and Red Hat 7
+# gcc272 for Debian
# otherwise 'cc'
-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) \
+CCFOUND :=$(shell $(CONFIG_SHELL) scripts/kwhich kgcc gcc272 cc gcc)
+## Better, but requires GNU make 3.78
+CC =$(shell if [ -n "$(CROSS_COMPILE)" ]; then echo $(CROSS_COMPILE)gcc; else echo $(CCFOUND); fi) \
CPP =$(CC) -E
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:28    [W:0.031 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site