Commit 4dfa2bf1 authored by Kai Germaschewski's avatar Kai Germaschewski

x86_64: Use standard AS rule

parent c36b8ba9
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
# Makefile for the ia32 kernel emulation subsystem. # Makefile for the ia32 kernel emulation subsystem.
# #
.S.s: USE_STANDARD_AS_RULE := true
$(CPP) $(AFLAGS) -o $*.s $<
.S.o:
$(CC) $(AFLAGS) -c -o $*.o $<
export-objs := ia32_ioctl.o export-objs := ia32_ioctl.o
......
# #
# 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...
.S.o: USE_STANDARD_AS_RULE := true
$(CC) $(AFLAGS) -traditional -c $< -o $*.o
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,7 @@ ...@@ -2,8 +2,7 @@
# Makefile for x86_64-specific library files.. # Makefile for x86_64-specific library files..
# #
.S.o: USE_STANDARD_AS_RULE := true
$(CC) $(AFLAGS) -c $< -o $*.o
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 \
......
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