Update of /cvsroot/linux-vax/kernel-2.5/arch/vax
In directory sc8-pr-cvs1:/tmp/cvs-serv26507/arch/vax
Modified Files:
Makefile
Log Message:
Remove unused LDFLAGS definitions. Use rule_vmlinux_link as defined
in top-level makefile in the archonly rule.
Index: Makefile
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Makefile 28 Dec 2002 02:06:21 -0000 1.6
+++ Makefile 12 Jan 2003 22:40:34 -0000 1.7
@@ -28,10 +28,6 @@
CFLAGS := $(CFLAGS) $(CFLAGS_OPT) $(CFLAGS_NSR)
-
-# These flags are used later in _this_ makefile
-LDFLAGS=-nostartfiles -N -nostdlib -Map test.map --cref -T vmlinux.lds
-
# These flags are used by the top-level makefile when linking
# the kernel
LINKFLAGS=-T arch/vax/vmlinux.lds \
@@ -55,6 +51,7 @@
vmlinux: $(HEAD) $(ARCHLIBS)
SUBDIRS := $(SUBDIRS) arch/vax/kernel arch/vax/mm arch/vax/lib arch/vax/boot
+
CORE_FILES := arch/vax/kernel/kernel.o arch/vax/mm/mm.o $(CORE_FILES)
@@ -111,23 +108,12 @@
@echo " " $(SETCMDLINE)
@echo " "
-# This is copied from the top-level Makefile
-linkonly: dummy
+linkonly: FORCE
$(MAKE) -C arch/vax/lib
$(MAKE) -C arch/vax/mm
$(MAKE) -C arch/vax/kernel
$(MAKE) -C arch/vax/boot
- $(LD) $(LINKFLAGS) $(HEAD) init/main.o init/version.o init/do_mounts.o \
- --start-group \
- $(CORE_FILES) \
- $(LIBS) \
- $(DRIVERS) \
- $(NETWORKS) \
- --end-group \
- -o vmlinux
- $(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aU] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
-
-
+ @$(call rule_link_vmlinux)
#$(HEAD): libboot
|