From: Paul Bame <bame@riverrock.org>
To: parisc-linux@parisc-linux.org
Subject: [parisc-linux] [PATCH] arch/parisc use standard AS rule (fwd)
Date: Sun, 12 May 2002 19:53:17 -0600 [thread overview]
Message-ID: <m17751Z-000KV7C@phantom.home> (raw)
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
reply other threads:[~2002-05-13 1:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m17751Z-000KV7C@phantom.home \
--to=bame@riverrock.org \
--cc=parisc-linux@parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.