Commit 79455a34 authored by Kai Germaschewski's avatar Kai Germaschewski

IA64: Use standard AS rule

parent 5e8a4a7d
......@@ -5,10 +5,7 @@
# Copyright (C) Srinivasa Thirumalachar (sprasad@engr.sgi.com)
#
.S.s:
$(CPP) $(AFLAGS) -o $*.s $<
.S.o:
$(CC) $(AFLAGS) -c -o $*.o $<
USE_STANDARD_AS_RULE := true
all: dig.a
......
......@@ -2,10 +2,9 @@
# Makefile for the ia32 kernel emulation subsystem.
#
.S.s:
$(CPP) $(AFLAGS) $(AFLAGS_KERNEL) -o $*.s $<
.S.o:
$(CC) $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(AFLAGS_KERNEL)
all: ia32.o
......
......@@ -2,10 +2,9 @@
# Makefile for the linux kernel.
#
.S.s:
$(CPP) $(AFLAGS) $(AFLAGS_KERNEL) -o $*.s $<
.S.o:
$(CC) $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(AFLAGS_KERNEL)
all: kernel.o head.o init_task.o
......
......@@ -2,8 +2,9 @@
# Makefile for ia64-specific library routines..
#
.S.o:
$(CC) $(AFLAGS) $(AFLAGS_KERNEL) -c $< -o $@
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(AFLAGS_KERNEL)
L_TARGET = lib.a
......
......@@ -6,6 +6,10 @@
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All rights reserved.
#
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(AFLAGS_KERNEL)
TOPDIR=../../../..
HPATH = $(TOPDIR)/include
......@@ -17,11 +21,6 @@ obj-y=fprom
fprom: $(OBJ)
$(LD) -static -Tfprom.lds -o fprom $(OBJ) $(LIB)
.S.o:
$(CC) -D__ASSEMBLY__ $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
.c.o:
$(CC) $(CFLAGS) $(CFLAGS_KERNEL) -c -o $*.o $<
clean:
rm -f *.o fprom
......
......@@ -31,12 +31,11 @@
# http://oss.sgi.com/projects/GenInfo/NoticeExplan
#
EXTRA_CFLAGS := -DLITTLE_ENDIAN
USE_STANDARD_AS_RULE := true
EXTRA_AFLAGS := $(AFLAGS_KERNEL)
.S.s:
$(CPP) $(AFLAGS) $(AFLAGS_KERNEL) -o $*.s $<
.S.o:
$(CC) $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
EXTRA_CFLAGS := -DLITTLE_ENDIAN
O_TARGET = sn.o
......
......@@ -32,13 +32,11 @@
# http://oss.sgi.com/projects/GenInfo/NoticeExplan
#
USE_STANDARD_AS_RULE := true
EXTRA_CFLAGS := -DLITTLE_ENDIAN
EXTRA_AFLAGS := $(AFLAGS_KERNEL)
.S.s:
$(CPP) $(AFLAGS) $(AFLAGS_KERNEL) -o $*.s $<
.S.o:
$(CC) $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
EXTRA_CFLAGS := -DLITTLE_ENDIAN
all: sn1.a
......
......@@ -32,13 +32,11 @@
# http://oss.sgi.com/projects/GenInfo/NoticeExplan
#
USE_STANDARD_AS_RULE := true
EXTRA_CFLAGS := -DLITTLE_ENDIAN
EXTRA_AFLAGS := $(AFLAGS_KERNEL)
.S.s:
$(CPP) $(AFLAGS) $(AFLAGS_KERNEL) -o $*.s $<
.S.o:
$(CC) $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
EXTRA_CFLAGS := -DLITTLE_ENDIAN
all: sn2.a
......
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