Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1480747 > unrolled thread

[PATCH 1/3] alpha: add $(src)/ rather than $(obj)/ to make source file path

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2016-09-11 09:50 +0200
Last post2016-09-11 09:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/3] alpha: add $(src)/ rather than $(obj)/ to make source file path Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-11 09:50 +0200

#1480747 — [PATCH 1/3] alpha: add $(src)/ rather than $(obj)/ to make source file path

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2016-09-11 09:50 +0200
Subject[PATCH 1/3] alpha: add $(src)/ rather than $(obj)/ to make source file path
Message-ID<sg7Gx-3ey-1@gated-at.bofh.it>
$(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 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/alpha/lib/Makefile b/arch/alpha/lib/Makefile
index 5966074..7b694fe 100644
--- a/arch/alpha/lib/Makefile
+++ b/arch/alpha/lib/Makefile
@@ -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)
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web