From: Matthew Wilcox <willy@debian.org>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] ia64/lib/Makefile: use call-if-changed
Date: Mon, 25 Aug 2003 18:42:09 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106183721811204@msgid-missing> (raw)
Sam, how does this look?
- IGNORE_FLAGS_OBJS is no longer honoured (this is the only reference to
it in the tree).
- Change the .o.S rule to look the same as the one in
scripts/Makefile.build. This means we'll generate .cmd files instead
of the .d files which makes CVS happier.
Index: arch/ia64/lib/Makefile
=================================RCS file: /var/cvs/linux-2.6/arch/ia64/lib/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- arch/ia64/lib/Makefile 29 Jul 2003 17:00:28 -0000 1.1
+++ arch/ia64/lib/Makefile 25 Aug 2003 16:56:27 -0000
@@ -14,9 +14,6 @@ lib-$(CONFIG_MCKINLEY) += copy_page_mck.
lib-$(CONFIG_PERFMON) += carta_random.o
lib-$(CONFIG_MD_RAID5) += xor.o
-IGNORE_FLAGS_OBJS = __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
- __divdi3.o __udivdi3.o __moddi3.o __umoddi3.o
-
AFLAGS___divdi3.o AFLAGS___udivdi3.o = -DUNSIGNED
AFLAGS___moddi3.o = -DMODULO
@@ -27,26 +24,26 @@ AFLAGS___udivsi3.o = -DUNSIGNED
AFLAGS___modsi3.o = -DMODULO
AFLAGS___umodsi3.o = -DUNSIGNED -DMODULO
-$(obj)/__divdi3.o: $(src)/idiv64.S
- $(cmd_as_o_S)
+$(obj)/__divdi3.o: $(src)/idiv64.S FORCE
+ $(call if_changed_dep,as_o_S)
-$(obj)/__udivdi3.o: $(src)/idiv64.S
- $(cmd_as_o_S)
+$(obj)/__udivdi3.o: $(src)/idiv64.S FORCE
+ $(call if_changed_dep,as_o_S)
-$(obj)/__moddi3.o: $(src)/idiv64.S
- $(cmd_as_o_S)
+$(obj)/__moddi3.o: $(src)/idiv64.S FORCE
+ $(call if_changed_dep,as_o_S)
-$(obj)/__umoddi3.o: $(src)/idiv64.S
- $(cmd_as_o_S)
+$(obj)/__umoddi3.o: $(src)/idiv64.S FORCE
+ $(call if_changed_dep,as_o_S)
-$(obj)/__divsi3.o: $(src)/idiv32.S
- $(cmd_as_o_S)
+$(obj)/__divsi3.o: $(src)/idiv32.S FORCE
+ $(call if_changed_dep,as_o_S)
-$(obj)/__udivsi3.o: $(src)/idiv32.S
- $(cmd_as_o_S)
+$(obj)/__udivsi3.o: $(src)/idiv32.S FORCE
+ $(call if_changed_dep,as_o_S)
-$(obj)/__modsi3.o: $(src)/idiv32.S
- $(cmd_as_o_S)
+$(obj)/__modsi3.o: $(src)/idiv32.S FORCE
+ $(call if_changed_dep,as_o_S)
-$(obj)/__umodsi3.o: $(src)/idiv32.S
- $(cmd_as_o_S)
+$(obj)/__umodsi3.o: $(src)/idiv32.S FORCE
+ $(call if_changed_dep,as_o_S)
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
next reply other threads:[~2003-08-25 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-25 18:42 Matthew Wilcox [this message]
2003-08-25 19:08 ` [PATCH] ia64/lib/Makefile: use call-if-changed Sam Ravnborg
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=marc-linux-ia64-106183721811204@msgid-missing \
--to=willy@debian.org \
--cc=linux-ia64@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