alpha: add $(src)/ rather than $(obj)/ to make source file path
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 11 Sep 2016 07:42:14 +0000 (16:42 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 3 May 2017 05:00:55 +0000 (14:00 +0900)
$(ev6-y)divide.S is a source file, not a build-time generated file.
So, it should be prefixed with $(src)/ rather than $(obj)/.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/alpha/lib/Makefile

index 59660743237cc489b4e4eef405e92ab66f7b25e8..7b694fed382c5f8224023c914b858f835ce5960c 100644 (file)
@@ -46,11 +46,11 @@ AFLAGS___remqu.o =       -DREM
 AFLAGS___divlu.o = -DDIV       -DINTSIZE
 AFLAGS___remlu.o =       -DREM -DINTSIZE
 
-$(obj)/__divqu.o: $(obj)/$(ev6-y)divide.S
+$(obj)/__divqu.o: $(src)/$(ev6-y)divide.S
        $(cmd_as_o_S)
-$(obj)/__remqu.o: $(obj)/$(ev6-y)divide.S
+$(obj)/__remqu.o: $(src)/$(ev6-y)divide.S
        $(cmd_as_o_S)
-$(obj)/__divlu.o: $(obj)/$(ev6-y)divide.S
+$(obj)/__divlu.o: $(src)/$(ev6-y)divide.S
        $(cmd_as_o_S)
-$(obj)/__remlu.o: $(obj)/$(ev6-y)divide.S
+$(obj)/__remlu.o: $(src)/$(ev6-y)divide.S
        $(cmd_as_o_S)