All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] [PATCH] arch/parisc use standard AS rule (fwd)
@ 2002-05-13  1:53 Paul Bame
  0 siblings, 0 replies; only message in thread
From: Paul Bame @ 2002-05-13  1:53 UTC (permalink / raw)
  To: parisc-linux

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 <kai-germaschewski@uiowa.edu>
X-X-Sender: kai@chaos.physics.uiowa.edu
To: Linus Torvalds <torvalds@transmeta.com>
cc: bame@debian.org
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-13  1:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-13  1:53 [parisc-linux] [PATCH] arch/parisc use standard AS rule (fwd) Paul Bame

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.