patch-1.3.44 linux/arch/sparc/Makefile

Next file: linux/arch/sparc/boot/Makefile
Previous file: linux/arch/i386/kernel/entry.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.43/linux/arch/sparc/Makefile linux/arch/sparc/Makefile
@@ -1,4 +1,4 @@
-#
+# $Id: Makefile,v 1.6 1995/11/25 00:57:30 davem Exp $
 # sparc/Makefile
 #
 # Makefile for the architecture dependent flags and dependencies on the
@@ -7,21 +7,19 @@
 # Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
 #
 
-
 # If the solaris /bin/sh wasn't so broken, I wouldn't need the following
 # line...
 SHELL  =/bin/bash
 
 #
-# How to link, we send the linker the address at which the text section
-# is to start. The prom loads us at 0x0-kernel_size. There is also an
-# alias of this address space at 0xf8000000-(0xf8000000+kernel_size) but
-# I ignore it and eliminate those mappings during vm initialization and
-# just leave the low mapping.
-#
-LINKFLAGS = -N -Ttext 0xf0004000
+# Uncomment the first CFLAGS if you are doing kgdb source level
+# debugging of the kernel to get the proper debugging information.
+
+#CFLAGS := $(CFLAGS) -g -pipe
 CFLAGS := $(CFLAGS) -pipe
 
+LINKFLAGS = -N -Ttext 0xf0004000
+
 HEAD := arch/sparc/kernel/head.o
 
 SUBDIRS := $(SUBDIRS) arch/sparc/kernel arch/sparc/lib arch/sparc/mm \
@@ -29,13 +27,11 @@
 
 ARCHIVES := arch/sparc/kernel/kernel.o arch/sparc/mm/mm.o $(ARCHIVES)
 
+LIBS := $(TOPDIR)/lib/lib.a $(LIBS) $(TOPDIR)/arch/sparc/prom/promlib.a \
+	$(TOPDIR)/arch/sparc/lib/lib.a
+
 aoutimage: vmlinux
 	elftoaout -o aoutimage vmlinux
-
-
-LIBS := $(TOPDIR)/lib/lib.a $(LIBS) $(TOPDIR)/arch/sparc/lib/lib.a \
-	$(TOPDIR)/arch/sparc/prom/promlib.a
-
 
 archclean:
 	rm -f $(TOPDIR)/arch/sparc/boot/boot

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this