aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-04-08 21:29:39 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-04-08 21:29:39 -0700
commit545e7a032c377593cb24d3dceb884ba0e23faa29 (patch)
tree8ba185f2cf1d798c41e1761cc148b8063bf487f1 /Makefile
parent3c45e4d6d1ef1a56b577dc86acc65c0b18d9ecb9 (diff)
downloadhistory-545e7a032c377593cb24d3dceb884ba0e23faa29.tar.gz
[PATCH] Enforce gcc-2.95 as the minimum compiler requirement
Now that sparc64 is using gcc-3.x we can disallow gcc-2.91, etc. Documentation/Changes already says 2.95.3, which is working fine for me. With this change, we no longer require that per-cpu data definitions be initialised. That was a workaround for a bug in older gccs. So remove the build infrastructure which was checking for that. Also, mention that nfs-utils-1.0.3 is required. It isn't required yet, but will be once we enable larger dev_t: there is an interface for exportfs which passes dev_t's into the kernel which breaks with larger dev_t. That interface is old, deprecated and is not used in nfs-utils-1.0.3.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 0 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index d39f0e0e91aa9a..cad87a3e7283dc 100644
--- a/Makefile
+++ b/Makefile
@@ -342,17 +342,9 @@ define rule_vmlinux__
echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
endef
-ifdef CONFIG_SMP
-# Final awk script makes sure per-cpu vars are in per-cpu section, as
-# old gcc (eg egcs 2.92.11) ignores section attribute if uninitialized.
-
-check_per_cpu = $(AWK) -f $(srctree)/scripts/per-cpu-check.awk < System.map
-endif
-
define rule_vmlinux
$(rule_vmlinux__)
$(NM) $@ | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
- $(check_per_cpu)
endef
LDFLAGS_vmlinux += -T arch/$(ARCH)/vmlinux.lds.s