Commit 27aec37f authored by David S. Miller's avatar David S. Miller

Sparc64: Make use of USE_STANDARD_AS_RULE.

parent 1cbbc706
# $Id: Makefile,v 1.70 2002/02/09 19:49:30 davem Exp $ # $Id: Makefile,v 1.70 2002/02/09 19:49:30 davem Exp $
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile...
SH = $(CONFIG_SHELL) SH = $(CONFIG_SHELL)
.S.s: USE_STANDARD_AS_RULE := true
$(CPP) $(AFLAGS) -ansi $< -o $*.s EXTRA_AFLAGS := -ansi
.S.o:
$(CC) $(AFLAGS) -ansi -c $< -o $*.o
all: kernel.o head.o init_task.o all: kernel.o head.o init_task.o
......
...@@ -2,13 +2,8 @@ ...@@ -2,13 +2,8 @@
# Makefile for Sparc64 library files.. # Makefile for Sparc64 library files..
# #
.S.s: USE_STANDARD_AS_RULE := true
$(CPP) $(AFLAGS) -ansi $< -o $*.s EXTRA_AFLAGS := -ansi
.S.o:
$(CC) $(AFLAGS) -ansi -c $< -o $*.o
CFLAGS := $(CFLAGS)
L_TARGET = lib.a L_TARGET = lib.a
obj-y := PeeCeeI.o blockops.o debuglocks.o strlen.o strncmp.o \ obj-y := PeeCeeI.o blockops.o debuglocks.o strlen.o strncmp.o \
......
# $Id: Makefile,v 1.8 2000/12/14 22:57:25 davem Exp $ # $Id: Makefile,v 1.8 2000/12/14 22:57:25 davem Exp $
# Makefile for the linux Sparc64-specific parts of the memory manager. # Makefile for the linux Sparc64-specific parts of the memory manager.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
.S.s:
$(CPP) $(AFLAGS) -ansi $< -o $*.s
.S.o: USE_STANDARD_AS_RULE := true
$(CC) $(AFLAGS) -ansi -c $< -o $*.o EXTRA_AFLAGS := -ansi
O_TARGET := mm.o O_TARGET := mm.o
obj-y := ultra.o fault.o init.o generic.o extable.o modutil.o obj-y := ultra.o fault.o init.o generic.o extable.o modutil.o
......
...@@ -2,22 +2,14 @@ ...@@ -2,22 +2,14 @@
# Makefile for the Sun Boot PROM interface library under # Makefile for the Sun Boot PROM interface library under
# Linux. # Linux.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here USE_STANDARD_AS_RULE := true
# unless it's something special (ie not a .c file). EXTRA_AFLAGS := -ansi
#
# Note 2! The CFLAGS definitions are now in the main makefile...
L_TARGET = promlib.a L_TARGET = promlib.a
obj-y := bootstr.o devops.o init.o memory.o misc.o \ obj-y := bootstr.o devops.o init.o memory.o misc.o \
tree.o console.o printf.o p1275.o map.o tree.o console.o printf.o p1275.o map.o
.S.s:
$(CPP) $(AFLAGS) -ansi $< -o $*.s
.S.o:
$(CC) $(AFLAGS) -ansi -c $< -o $*.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
%.o: %.c %.o: %.c
......
...@@ -7,16 +7,13 @@ ...@@ -7,16 +7,13 @@
# #
# Note 2! The CFLAGS definition is now in the main makefile... # Note 2! The CFLAGS definition is now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -ansi
ifeq ($(CONFIG_SOLARIS_EMUL),m) ifeq ($(CONFIG_SOLARIS_EMUL),m)
CPPFLAGS = $(MODFLAGS) EXTRA_AFLAGS += $(MODFLAGS)
endif endif
.S.s:
$(CPP) $(AFLAGS) $(CPPFLAGS) -ansi $< -o $*.s
.S.o:
$(CC) $(AFLAGS) $(CPPFLAGS) -ansi -c $< -o $*.o
list-multi := solaris.o list-multi := solaris.o
solaris-objs := entry64.o fs.o misc.o signal.o systbl.o socket.o \ solaris-objs := entry64.o fs.o misc.o signal.o systbl.o socket.o \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment