Commit 2e6fe16f authored by Matthew Wilcox's avatar Matthew Wilcox Committed by David Mosberger

[PATCH] ia64: ia64/lib/Makefile: use call-if-changed

 - 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.
parent ecbfc7c2
...@@ -14,9 +14,6 @@ lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o ...@@ -14,9 +14,6 @@ lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o
lib-$(CONFIG_PERFMON) += carta_random.o lib-$(CONFIG_PERFMON) += carta_random.o
lib-$(CONFIG_MD_RAID5) += xor.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___divdi3.o =
AFLAGS___udivdi3.o = -DUNSIGNED AFLAGS___udivdi3.o = -DUNSIGNED
AFLAGS___moddi3.o = -DMODULO AFLAGS___moddi3.o = -DMODULO
...@@ -27,26 +24,26 @@ AFLAGS___udivsi3.o = -DUNSIGNED ...@@ -27,26 +24,26 @@ AFLAGS___udivsi3.o = -DUNSIGNED
AFLAGS___modsi3.o = -DMODULO AFLAGS___modsi3.o = -DMODULO
AFLAGS___umodsi3.o = -DUNSIGNED -DMODULO AFLAGS___umodsi3.o = -DUNSIGNED -DMODULO
$(obj)/__divdi3.o: $(src)/idiv64.S $(obj)/__divdi3.o: $(src)/idiv64.S FORCE
$(cmd_as_o_S) $(call if_changed_dep,as_o_S)
$(obj)/__udivdi3.o: $(src)/idiv64.S $(obj)/__udivdi3.o: $(src)/idiv64.S FORCE
$(cmd_as_o_S) $(call if_changed_dep,as_o_S)
$(obj)/__moddi3.o: $(src)/idiv64.S $(obj)/__moddi3.o: $(src)/idiv64.S FORCE
$(cmd_as_o_S) $(call if_changed_dep,as_o_S)
$(obj)/__umoddi3.o: $(src)/idiv64.S $(obj)/__umoddi3.o: $(src)/idiv64.S FORCE
$(cmd_as_o_S) $(call if_changed_dep,as_o_S)
$(obj)/__divsi3.o: $(src)/idiv32.S $(obj)/__divsi3.o: $(src)/idiv32.S FORCE
$(cmd_as_o_S) $(call if_changed_dep,as_o_S)
$(obj)/__udivsi3.o: $(src)/idiv32.S $(obj)/__udivsi3.o: $(src)/idiv32.S FORCE
$(cmd_as_o_S) $(call if_changed_dep,as_o_S)
$(obj)/__modsi3.o: $(src)/idiv32.S $(obj)/__modsi3.o: $(src)/idiv32.S FORCE
$(cmd_as_o_S) $(call if_changed_dep,as_o_S)
$(obj)/__umodsi3.o: $(src)/idiv32.S $(obj)/__umodsi3.o: $(src)/idiv32.S FORCE
$(cmd_as_o_S) $(call if_changed_dep,as_o_S)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment