Commit 5d4efb6f authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Make USE_STANDARD_AS_RULE default

parent a252cfb4
...@@ -53,6 +53,9 @@ ALL_SUB_DIRS := $(sort $(subdir-y) $(subdir-m) $(subdir-n) $(subdir-)) ...@@ -53,6 +53,9 @@ ALL_SUB_DIRS := $(sort $(subdir-y) $(subdir-m) $(subdir-n) $(subdir-))
# Common rules # Common rules
# #
# Compile C sources (.c)
# ---------------------------------------------------------------------------
# export_flags will be set to -DEXPORT_SYMBOL for objects in $(export-objs) # export_flags will be set to -DEXPORT_SYMBOL for objects in $(export-objs)
c_flags = $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$(*F).o) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(export_flags) c_flags = $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$(*F).o) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(export_flags)
...@@ -72,11 +75,9 @@ cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $< ...@@ -72,11 +75,9 @@ cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
%.o: %.c dummy %.o: %.c dummy
$(call if_changed,cmd_cc_o_c) $(call if_changed,cmd_cc_o_c)
# Old makefiles define their own rules for compiling .S files,
# but these standard rules are available for any Makefile that # Compile assembler sources (.S)
# wants to use them. Our plan is to incrementally convert all # ---------------------------------------------------------------------------
# the Makefiles to these standard rules. -- rmk, mec
ifdef USE_STANDARD_AS_RULE
a_flags = $(AFLAGS) $(EXTRA_AFLAGS) $(AFLAGS_$(*F).o) a_flags = $(AFLAGS) $(EXTRA_AFLAGS) $(AFLAGS_$(*F).o)
...@@ -90,11 +91,7 @@ cmd_as_o_S = $(CC) $(a_flags) -c -o $@ $< ...@@ -90,11 +91,7 @@ cmd_as_o_S = $(CC) $(a_flags) -c -o $@ $<
%.o: %.S dummy %.o: %.S dummy
$(call if_changed,cmd_as_o_S) $(call if_changed,cmd_as_o_S)
endif # ---------------------------------------------------------------------------
# FIXME is anybody using this rule? Why does it have EXTRA_CFLAGS?
%.o: %.s
$(AS) $(AFLAGS) $(EXTRA_CFLAGS) -o $@ $<
%.lst: %.c %.lst: %.c
$(CC) $(c_flags) -g -c -o $*.o $< $(CC) $(c_flags) -g -c -o $*.o $<
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
O_TARGET := kernel.o O_TARGET := kernel.o
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for alpha-specific library files.. # Makefile for alpha-specific library files..
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
# Many of these routines have implementations tuned for ev6. # Many of these routines have implementations tuned for ev6.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
ENTRY_OBJ = entry-$(PROCESSOR).o ENTRY_OBJ = entry-$(PROCESSOR).o
AFLAGS_head.o := -DTEXTADDR=$(TEXTADDR) AFLAGS_head.o := -DTEXTADDR=$(TEXTADDR)
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
# Copyright (C) 1995-2000 Russell King # Copyright (C) 1995-2000 Russell King
# #
USE_STANDARD_AS_RULE := true
L_TARGET := lib.a L_TARGET := lib.a
obj-y := backtrace.o changebit.o csumipv6.o csumpartial.o \ obj-y := backtrace.o changebit.o csumipv6.o csumpartial.o \
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := adifcc.o O_TARGET := adifcc.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := anakin.o O_TARGET := anakin.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := arc.o O_TARGET := arc.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := clps711x.o O_TARGET := clps711x.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := clps7500.o O_TARGET := clps7500.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := ebsa110.o O_TARGET := ebsa110.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := epxa10db.o O_TARGET := epxa10db.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := footbridge.o O_TARGET := footbridge.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := ftvpci.o O_TARGET := ftvpci.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := integrator.o O_TARGET := integrator.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := iop310.o O_TARGET := iop310.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := l7200.o O_TARGET := l7200.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := pxa.o O_TARGET := pxa.o
obj-y := obj-y :=
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := rpc.o O_TARGET := rpc.o
# Object file lists. # Object file lists.
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
USE_STANDARD_AS_RULE := true
O_TARGET := sa1100.o O_TARGET := sa1100.o
# Common support (must be linked before board specific support) # Common support (must be linked before board specific support)
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := shark.o O_TARGET := shark.o
# Object file lists. # Object file lists.
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
# removes any old dependencies. DON'T put your own dependencies here # removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
USE_STANDARD_AS_RULE := true
O_TARGET := tbox.o O_TARGET := tbox.o
# Object file lists. # Object file lists.
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# 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
O_TARGET := mm.o O_TARGET := mm.o
# Object file lists. # Object file lists.
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Copyright (C) 1998, 1999, 2001 Philip Blundell # Copyright (C) 1998, 1999, 2001 Philip Blundell
# #
USE_STANDARD_AS_RULE := true
O_TARGET := math-emu.o O_TARGET := math-emu.o
obj-y := obj-y :=
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
all: kernel.o head.o all: kernel.o head.o
O_TARGET := kernel.o O_TARGET := kernel.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for Etrax-specific library files.. # Makefile for Etrax-specific library files..
# #
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a L_TARGET = lib.a
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
USE_STANDARD_AS_RULE := true
all: kernel.o head.o init_task.o all: kernel.o head.o init_task.o
......
...@@ -321,7 +321,7 @@ static void inline do_trap(int trapnr, int signr, char *str, int vm86, ...@@ -321,7 +321,7 @@ static void inline do_trap(int trapnr, int signr, char *str, int vm86,
printk(KERN_CRIT "PNPBIOS fault.. attempting recovery.\n"); printk(KERN_CRIT "PNPBIOS fault.. attempting recovery.\n");
__asm__ volatile( __asm__ volatile(
"movl %0, %%esp\n\t" "movl %0, %%esp\n\t"
"jmp %1\n\t" "jmp *%1\n\t"
: "=a" (pnp_bios_fault_esp), "=b" (pnp_bios_fault_eip)); : "=a" (pnp_bios_fault_esp), "=b" (pnp_bios_fault_eip));
panic("do_trap: can't hit this"); panic("do_trap: can't hit this");
} }
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for i386-specific library files.. # Makefile for i386-specific library files..
# #
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a L_TARGET = lib.a
obj-y = checksum.o old-checksum.o delay.o \ obj-y = checksum.o old-checksum.o delay.o \
......
...@@ -9,7 +9,6 @@ DEBUG = ...@@ -9,7 +9,6 @@ DEBUG =
PARANOID = -DPARANOID PARANOID = -DPARANOID
CFLAGS := $(CFLAGS) $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION) CFLAGS := $(CFLAGS) $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION)
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(PARANOID) EXTRA_AFLAGS := $(PARANOID)
# From 'C' language sources: # From 'C' language sources:
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the ia32 kernel emulation subsystem. # Makefile for the ia32 kernel emulation subsystem.
# #
USE_STANDARD_AS_RULE := true
all: ia32.o all: ia32.o
O_TARGET := ia32.o O_TARGET := ia32.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
USE_STANDARD_AS_RULE := true
all: kernel.o head.o init_task.o all: kernel.o head.o init_task.o
O_TARGET := kernel.o O_TARGET := kernel.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for ia64-specific library routines.. # Makefile for ia64-specific library routines..
# #
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a L_TARGET = lib.a
export-objs := io.o swiotlb.o export-objs := io.o swiotlb.o
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All rights reserved. # Copyright (c) 2000-2001 Silicon Graphics, Inc. All rights reserved.
# #
USE_STANDARD_AS_RULE := true
TOPDIR=../../../.. TOPDIR=../../../..
HPATH = $(TOPDIR)/include HPATH = $(TOPDIR)/include
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
# http://oss.sgi.com/projects/GenInfo/NoticeExplan # http://oss.sgi.com/projects/GenInfo/NoticeExplan
# #
USE_STANDARD_AS_RULE := true
EXTRA_CFLAGS := -DLITTLE_ENDIAN EXTRA_CFLAGS := -DLITTLE_ENDIAN
O_TARGET = sn.o O_TARGET = sn.o
......
...@@ -32,8 +32,6 @@ ...@@ -32,8 +32,6 @@
# http://oss.sgi.com/projects/GenInfo/NoticeExplan # http://oss.sgi.com/projects/GenInfo/NoticeExplan
# #
USE_STANDARD_AS_RULE := true
EXTRA_CFLAGS := -DLITTLE_ENDIAN EXTRA_CFLAGS := -DLITTLE_ENDIAN
all: sn1.a all: sn1.a
......
...@@ -32,8 +32,6 @@ ...@@ -32,8 +32,6 @@
# http://oss.sgi.com/projects/GenInfo/NoticeExplan # http://oss.sgi.com/projects/GenInfo/NoticeExplan
# #
USE_STANDARD_AS_RULE := true
EXTRA_CFLAGS := -DLITTLE_ENDIAN EXTRA_CFLAGS := -DLITTLE_ENDIAN
all: sn2.a all: sn2.a
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
OS_TARGET := fpsp.o OS_TARGET := fpsp.o
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
# License. See the file "README.legal" in the main directory of this archive # License. See the file "README.legal" in the main directory of this archive
# for more details. # for more details.
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
OS_TARGET := ifpsp.o OS_TARGET := ifpsp.o
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
ifndef CONFIG_SUN3 ifndef CONFIG_SUN3
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for m68k-specific library files.. # Makefile for m68k-specific library files..
# #
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a L_TARGET = lib.a
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
#EXTRA_AFLAGS += -DFPU_EMU_DEBUG #EXTRA_AFLAGS += -DFPU_EMU_DEBUG
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
all: au1000.o all: au1000.o
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
O_TARGET = ddb5074.a O_TARGET = ddb5074.a
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
O_TARGET = ddb5476.a O_TARGET = ddb5476.a
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
O_TARGET:= ddb5477.o O_TARGET:= ddb5477.o
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
O_TARGET := dec.o O_TARGET := dec.o
all: dec.o all: dec.o
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
OBJS = init.o memory.o cmdline.o identify.o locore.o OBJS = init.o memory.o cmdline.o identify.o locore.o
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
O_TARGET:= momenco_ocelot.o O_TARGET:= momenco_ocelot.o
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
all: it8172.o all: it8172.o
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
all: jazz.o all: jazz.o
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
# EXTRA_AFLAGS = -mips3 -mcpu=r4000 # not used? # EXTRA_AFLAGS = -mips3 -mcpu=r4000 # not used?
all: kernel.o head.o init_task.o all: kernel.o head.o init_task.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for MIPS-specific library files.. # Makefile for MIPS-specific library files..
# #
USE_STANDARD_AS_RULE := true;
L_TARGET = lib.a L_TARGET = lib.a
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
O_TARGET := mipsboards.o O_TARGET := mipsboards.o
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
O_TARGET := nino.o O_TARGET := nino.o
all: nino.o all: nino.o
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
O_TARGET := ip22-kern.o O_TARGET := ip22-kern.o
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
all: sni.o int-handler.o all: sni.o int-handler.o
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# unless it's something special (ie not a .c file). # unless it's something special (ie not a .c file).
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
all: kernel.o head.o init_task.o all: kernel.o head.o init_task.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for MIPS-specific library files.. # Makefile for MIPS-specific library files..
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
L_TARGET = lib.a L_TARGET = lib.a
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
all: mipsboards.o all: mipsboards.o
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
# under Linux. # under Linux.
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
L_TARGET = ip22.a L_TARGET = ip22.a
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the IP27 specific kernel interface routines under Linux. # Makefile for the IP27 specific kernel interface routines under Linux.
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
O_TARGET = ip27.o O_TARGET = ip27.o
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(CFLAGS) EXTRA_AFLAGS := $(CFLAGS)
O_TARGET := ip32-kern.a O_TARGET := ip32-kern.a
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for parisc-specific library files.. # Makefile for parisc-specific library files..
# #
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a L_TARGET = lib.a
obj-y := lusercopy.o bitops.o checksum.o obj-y := lusercopy.o bitops.o checksum.o
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# Based on coffboot by Paul Mackerras # Based on coffboot by Paul Mackerras
USE_STANDARD_AS_RULE := true
LD_ARGS = -T ../ld.script -Ttext 0x00400000 LD_ARGS = -T ../ld.script -Ttext 0x00400000
OBJS = ../common/crt0.o start.o main.o misc.o ../common/string.o image.o \ OBJS = ../common/crt0.o start.o main.o misc.o ../common/string.o image.o \
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
# Tom Rini January 2001 # Tom Rini January 2001
# #
USE_STANDARD_AS_RULE := true
coffcrt0.o: coffcrt0.o:
$(CC) $(AFLAGS) -DXCOFF -traditional -c -o coffcrt0.o crt0.S $(CC) $(AFLAGS) -DXCOFF -traditional -c -o coffcrt0.o crt0.S
......
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
# modified by Cort (cort@cs.nmt.edu) # modified by Cort (cort@cs.nmt.edu)
# #
USE_STANDARD_AS_RULE := true
TFTPIMAGE = /tftpboot/zImage.prep TFTPIMAGE = /tftpboot/zImage.prep
ifeq ($(CONFIG_SMP),y) ifeq ($(CONFIG_SMP),y)
TFTPIMAGE = $(TFTPBOOT).smp TFTPIMAGE = $(TFTPBOOT).smp
......
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
# Free Software Foundation; either version 2 of the License, or (at your # Free Software Foundation; either version 2 of the License, or (at your
# option) any later version. # option) any later version.
USE_STANDARD_AS_RULE := true
# Normally, we use the 'misc-simple.c' file for decompress_kernel and # Normally, we use the 'misc-simple.c' file for decompress_kernel and
# whatnot. Sometimes we need to override this however. # whatnot. Sometimes we need to override this however.
MISC := ../common/misc-simple.o MISC := ../common/misc-simple.o
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
ifdef CONFIG_PPC64BRIDGE ifdef CONFIG_PPC64BRIDGE
EXTRA_AFLAGS := -Wa,-mppc64bridge EXTRA_AFLAGS := -Wa,-mppc64bridge
endif endif
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
# Makefile for ppc-specific library files.. # Makefile for ppc-specific library files..
# #
USE_STANDARD_AS_RULE := true
O_TARGET := lib.o O_TARGET := lib.o
export-objs := dec_and_lock.o export-objs := dec_and_lock.o
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
# #
# 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
ifdef CONFIG_PPC64BRIDGE ifdef CONFIG_PPC64BRIDGE
EXTRA_AFLAGS := -Wa,-mppc64bridge EXTRA_AFLAGS := -Wa,-mppc64bridge
endif endif
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
ifdef CONFIG_PPC64BRIDGE ifdef CONFIG_PPC64BRIDGE
EXTRA_AFLAGS := -Wa,-mppc64bridge EXTRA_AFLAGS := -Wa,-mppc64bridge
endif endif
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
EXTRA_CFLAGS = -mno-minimal-toc EXTRA_CFLAGS = -mno-minimal-toc
KHEAD := head.o KHEAD := head.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for ppc64-specific library files.. # Makefile for ppc64-specific library files..
# #
USE_STANDARD_AS_RULE := true
O_TARGET = lib.o O_TARGET = lib.o
obj-y := checksum.o dec_and_lock.o string.o strcase.o obj-y := checksum.o dec_and_lock.o string.o strcase.o
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# 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
OBJCOPY = $(CROSS_COMPILE)objcopy OBJCOPY = $(CROSS_COMPILE)objcopy
O_TARGET := O_TARGET :=
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
all: kernel.o head.o init_task.o all: kernel.o head.o init_task.o
O_TARGET := kernel.o O_TARGET := kernel.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for s390-specific library files.. # Makefile for s390-specific library files..
# #
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a L_TARGET = lib.a
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# 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
OBJCOPY = $(CROSS_COMPILE)objcopy OBJCOPY = $(CROSS_COMPILE)objcopy
O_TARGET := O_TARGET :=
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
all: kernel.o head.o init_task.o all: kernel.o head.o init_task.o
O_TARGET := kernel.o O_TARGET := kernel.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for s390-specific library files.. # Makefile for s390-specific library files..
# #
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a L_TARGET = lib.a
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
......
...@@ -80,6 +80,4 @@ ifeq ($(CONFIG_SH_GENERIC),y) ...@@ -80,6 +80,4 @@ ifeq ($(CONFIG_SH_GENERIC),y)
obj-y += $(machine-specific-objs) obj-y += $(machine-specific-objs)
endif endif
USE_STANDARD_AS_RULE := true
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -6,6 +6,4 @@ L_TARGET = lib.a ...@@ -6,6 +6,4 @@ L_TARGET = lib.a
obj-y = delay.o memcpy.o memset.o memmove.o memchr.o old-checksum.o \ obj-y = delay.o memcpy.o memset.o memmove.o memchr.o old-checksum.o \
checksum.o strcasecmp.o strlen.o checksum.o strcasecmp.o strlen.o
USE_STANDARD_AS_RULE := true
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -13,6 +13,4 @@ obj-y := init.o fault.o extable.o clear_page.o copy_page.o ...@@ -13,6 +13,4 @@ obj-y := init.o fault.o extable.o clear_page.o copy_page.o
obj-$(CONFIG_CPU_SH3) += cache-sh3.o obj-$(CONFIG_CPU_SH3) += cache-sh3.o
obj-$(CONFIG_CPU_SH4) += cache-sh4.o __clear_user_page-sh4.o __copy_user_page-sh4.o ioremap.o obj-$(CONFIG_CPU_SH4) += cache-sh4.o __clear_user_page-sh4.o __copy_user_page-sh4.o ioremap.o
USE_STANDARD_AS_RULE := true
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
# #
# Note 2! The CFLAGS definitions are now in the main makefile... # Note 2! The CFLAGS definitions are now in the main makefile...
USE_STANDARD_AS_RULE := true
SH = $(CONFIG_SHELL) SH = $(CONFIG_SHELL)
all: kernel.o head.o init_task.o all: kernel.o head.o init_task.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for Sparc library files.. # Makefile for Sparc library files..
# #
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a L_TARGET = lib.a
EXTRA_AFLAGS := -ansi -DST_DIV0=0x02 EXTRA_AFLAGS := -ansi -DST_DIV0=0x02
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
# #
# 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
O_TARGET := math-emu.o O_TARGET := math-emu.o
obj-y := math.o ashldi3.o obj-y := math.o ashldi3.o
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
# #
# 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 EXTRA_AFLAGS := -ansi
O_TARGET := mm.o O_TARGET := mm.o
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
SH = $(CONFIG_SHELL) SH = $(CONFIG_SHELL)
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -ansi EXTRA_AFLAGS := -ansi
all: kernel.o head.o init_task.o all: kernel.o head.o init_task.o
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
# Makefile for Sparc64 library files.. # Makefile for Sparc64 library files..
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -ansi EXTRA_AFLAGS := -ansi
L_TARGET = lib.a L_TARGET = lib.a
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
# Makefile for the linux Sparc64-specific parts of the memory manager. # Makefile for the linux Sparc64-specific parts of the memory manager.
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -ansi EXTRA_AFLAGS := -ansi
O_TARGET := mm.o O_TARGET := mm.o
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# Linux. # Linux.
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -ansi EXTRA_AFLAGS := -ansi
L_TARGET = promlib.a L_TARGET = promlib.a
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
# Makefile for the Solaris binary emulation. # Makefile for the Solaris binary emulation.
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -ansi EXTRA_AFLAGS := -ansi
ifeq ($(CONFIG_SOLARIS_EMUL),m) ifeq ($(CONFIG_SOLARIS_EMUL),m)
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the ia32 kernel emulation subsystem. # Makefile for the ia32 kernel emulation subsystem.
# #
USE_STANDARD_AS_RULE := true
export-objs := ia32_ioctl.o export-objs := ia32_ioctl.o
all: ia32.o all: ia32.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
all: kernel.o head.o head64.o init_task.o all: kernel.o head.o head64.o init_task.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for x86_64-specific library files.. # Makefile for x86_64-specific library files..
# #
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a L_TARGET = lib.a
obj-y = generic-checksum.o old-checksum.o delay.o \ obj-y = generic-checksum.o old-checksum.o delay.o \
usercopy.o getuser.o putuser.o \ usercopy.o getuser.o putuser.o \
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the Acorn block device drivers. # Makefile for the Acorn block device drivers.
# #
USE_STANDARD_AS_RULE := true
O_TARGET := acorn-block.o O_TARGET := acorn-block.o
obj-y := obj-y :=
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for drivers/acorn/scsi # Makefile for drivers/acorn/scsi
# #
USE_STANDARD_AS_RULE := true
O_TARGET := acorn-scsi.o O_TARGET := acorn-scsi.o
obj-y := obj-y :=
......
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