* [levon@movementarian.org: [PATCH] define KBUILD_BASENAME for .i .s]
@ 2002-03-03 22:37 John Levon
0 siblings, 0 replies; only message in thread
From: John Levon @ 2002-03-03 22:37 UTC (permalink / raw)
To: marcelo; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 54 bytes --]
Keith Owens has OK'd this minor cleanup
thanks
john
[-- Attachment #2: Type: message/rfc822, Size: 1185 bytes --]
From: John Levon <levon@movementarian.org>
To: kaos@ocs.com.au
Subject: [PATCH] define KBUILD_BASENAME for .i .s
Date: Sun, 3 Mar 2002 16:44:06 +0000
Message-ID: <20020303164406.GA10307@compsoc.man.ac.uk>
Probably this really doesn't matter but ...
against 2.4.18
regards
john
--- Rules.make.old Thu Dec 31 18:05:20 1987
+++ Rules.make Thu Dec 31 18:05:59 1987
@@ -50,10 +50,10 @@
#
%.s: %.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -S $< -o $@
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -S $< -o $@
%.i: %.c
- $(CPP) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) $< > $@
+ $(CPP) $(CFLAGS) $(EXTRA_CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) $< > $@
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -c -o $@ $<
--
I am a complete moron for forgetting about endianness. May I be
forever marked as such.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-03 22:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-03 22:37 [levon@movementarian.org: [PATCH] define KBUILD_BASENAME for .i .s] John Levon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).