From: Tomas Szepe <szepe@pinerecords.com>
To: davem@redhat.com
Cc: sparclinux@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
Subject: [2.5 sparc32] trivial: fix up check_asm
Date: Thu, 17 Oct 2002 10:31:02 +0200 [thread overview]
Message-ID: <20021017083102.GA20917@louise.pinerecords.com> (raw)
The attached patch fixes up sparc32's lunatic check_asm in 2.5:
T.
diff -urN linux-2.5.43/arch/sparc/kernel/Makefile linux-2.5.43.1/arch/sparc/kernel/Makefile
--- linux-2.5.43/arch/sparc/kernel/Makefile 2002-09-28 10:11:16.000000000 +0200
+++ linux-2.5.43.1/arch/sparc/kernel/Makefile 2002-10-17 10:19:25.000000000 +0200
@@ -29,7 +29,7 @@
include $(TOPDIR)/Rules.make
-HPATH := $(objtree)/include
+HPATH := $(TOPDIR)/include
check_asm: FORCE
@if [ ! -r $(HPATH)/asm/asm_offsets.h ] ; then \
@@ -46,7 +46,7 @@
@echo "#include <linux/config.h>" > tmp.c
@echo "#undef CONFIG_SMP" >> tmp.c
@echo "#include <linux/sched.h>" >> tmp.c
- $(CPP) $(CPPFLAGS) tmp.c -o tmp.i
+ $(CC) $(CFLAGS) -E tmp.c -o tmp.i
@echo "/* Automatically generated. Do not edit. */" > check_asm_data.c
@echo "#include <linux/config.h>" >> check_asm_data.c
@echo "#undef CONFIG_SMP" >> check_asm_data.c
@@ -79,7 +79,7 @@
@echo "#undef CONFIG_SMP" >> tmp.c
@echo "#define CONFIG_SMP 1" >> tmp.c
@echo "#include <linux/sched.h>" >> tmp.c
- $(CPP) $(CPPFLAGS) tmp.c -o tmp.i
+ $(CC) $(CFLAGS) -E tmp.c -o tmp.i
@echo "/* Automatically generated. Do not edit. */" > check_asm_data.c
@echo "#include <linux/config.h>" >> check_asm_data.c
@echo "#undef CONFIG_SMP" >> check_asm_data.c
next reply other threads:[~2002-10-17 8:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-17 8:31 Tomas Szepe [this message]
2002-10-17 8:48 ` [2.5 sparc32] trivial: fix up check_asm David S. Miller
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=20021017083102.GA20917@louise.pinerecords.com \
--to=szepe@pinerecords.com \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox