summaryrefslogtreecommitdiffstats
path: root/arch/alpha/lib/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-11 09:42:15 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-05-03 07:00:55 +0200
commite19a4e3f1bffe45b8e2ea67fcfb0c9c88278c4cc (patch)
treeba8851e0c95088cfded575efbb355d4da0432d1b /arch/alpha/lib/Makefile
parentalpha: add $(src)/ rather than $(obj)/ to make source file path (diff)
downloadlinux-e19a4e3f1bffe45b8e2ea67fcfb0c9c88278c4cc.tar.xz
linux-e19a4e3f1bffe45b8e2ea67fcfb0c9c88278c4cc.zip
alpha: merge build rules of division routines
These four objects are generated by the same build rule, with different compile options. The build rules can be merged. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/alpha/lib/Makefile')
-rw-r--r--arch/alpha/lib/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/alpha/lib/Makefile b/arch/alpha/lib/Makefile
index 7b694fed382c..5f12e9dcd623 100644
--- a/arch/alpha/lib/Makefile
+++ b/arch/alpha/lib/Makefile
@@ -46,11 +46,6 @@ AFLAGS___remqu.o = -DREM
AFLAGS___divlu.o = -DDIV -DINTSIZE
AFLAGS___remlu.o = -DREM -DINTSIZE
-$(obj)/__divqu.o: $(src)/$(ev6-y)divide.S
- $(cmd_as_o_S)
-$(obj)/__remqu.o: $(src)/$(ev6-y)divide.S
- $(cmd_as_o_S)
-$(obj)/__divlu.o: $(src)/$(ev6-y)divide.S
- $(cmd_as_o_S)
-$(obj)/__remlu.o: $(src)/$(ev6-y)divide.S
+$(addprefix $(obj)/,__divqu.o __remqu.o __divlu.o __remlu.o): \
+ $(src)/$(ev6-y)divide.S
$(cmd_as_o_S)