Skip to contentSkip to conversation

arch/parisc use standard AS rule (fwd)

PATCH New Paul Bame 1 participant 1 message May 13, 2002

lore
Share & tools
lore

Paul Bame

author
#0 lore raw

PATCH 1/1 arch/parisc use standard AS rule (fwd)

Guess this guy doesn't know about parisc-linux.org

	-P

------- Forwarded Message

Date: Sun, 12 May 2002 18:42:35 -0500 (CDT)
From: Kai Germaschewski <[email protected]>
X-X-Sender: [email protected]
To: Linus Torvalds <[email protected]>
cc: [email protected]
Subject: [PATCH] arch/parisc use standard AS rule

Linus,

the parisc architecture seems to be unmaintained, on of the Makefiles uses still pre-2.4 syntax, which means that parisc won't build, and did not for a long time. Anyway:

The appended patch updates arch/parisc to use the Rules.make provided assembler rules.

- --Kai

diff -Nru a/arch/parisc/lib/Makefile b/arch/parisc/lib/Makefile
- --- a/arch/parisc/lib/Makefile Sun May 12 18:27:18 2002
+++ b/arch/parisc/lib/Makefile Sun May 12 18:27:18 2002
@@ -2,12 +2,12 @@
# Makefile for parisc-specific library files..
#

+USE_STANDARD_AS_RULE := true

L_TARGET = lib.a
- -L_OBJS = lusercopy.o bitops.o checksum.o

+obj-y := lusercopy.o bitops.o checksum.o

- -.S.o:
- - $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+EXTRA_AFLAGS := -traditional

include $(TOPDIR)/Rules.make
diff -Nru a/arch/parisc/tools/Makefile b/arch/parisc/tools/Makefile
- --- a/arch/parisc/tools/Makefile Sun May 12 18:27:18 2002
+++ b/arch/parisc/tools/Makefile Sun May 12 18:27:18 2002
@@ -7,11 +7,6 @@
#
TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h

- -.S.s:
- - $(CPP) $(CFLAGS) $< -o $*.s
- -.S.o:
- - $(CC) $(CFLAGS) -c $< -o $*.o
- -
all: $(TARGET)

$(TARGET): offset.h

------- End of Forwarded Message