Commit 35d0afd5 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] USE_STANDARD_AS_RULE in i386 arch Makefiles

In Rules.make, a comment says:

# Old makefiles define their own rules for compiling .S files,
# but these standard rules are available for any Makefile that
# wants to use them.  Our plan is to incrementally convert all
# the Makefiles to these standard rules.  -- rmk, mec

This patch does that for the i386 arch Makefiles.
parent 4bff7fd2
......@@ -7,8 +7,8 @@
#
# Note 2! The CFLAGS definitions are now in the main makefile...
.S.o:
$(CC) $(AFLAGS) -traditional -c $< -o $*.o
EXTRA_AFLAGS := -traditional
USE_STANDARD_AS_RULE := true
all: first_rule kernel.o head.o init_task.o
......
......@@ -2,8 +2,7 @@
# Makefile for i386-specific library files..
#
.S.o:
$(CC) $(AFLAGS) -c $< -o $*.o
USE_STANDARD_AS_RULE := true
L_TARGET = lib.a
......
......@@ -9,8 +9,8 @@ DEBUG =
PARANOID = -DPARANOID
CFLAGS := $(CFLAGS) $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION)
.S.o:
$(CC) $(AFLAGS) $(PARANOID) -c $<
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(PARANOID)
# From 'C' language sources:
C_OBJS =fpu_entry.o errors.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