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


Groups > linux.kernel > #1480749 > unrolled thread

[PATCH 0/3] alpha: improvements of arch/alpha/lib/Makefile

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

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/3] alpha: improvements of arch/alpha/lib/Makefile Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-11 09:50 +0200
    [PATCH 2/3] alpha: merge build rules of division routines Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-11 09:50 +0200

#1480749 — [PATCH 0/3] alpha: improvements of arch/alpha/lib/Makefile

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2016-09-11 09:50 +0200
Subject[PATCH 0/3] alpha: improvements of arch/alpha/lib/Makefile
Message-ID<sg7Gx-3ey-3@gated-at.bofh.it>
While building for Alpha architecture, I noticed ugly long log
for division routines.  So, I took a look at the Makefile.
Here is a series of build rule cleanups.


Masahiro Yamada (3):
  alpha: add $(src)/ rather than $(obj)/ to make source file path
  alpha: merge build rules of division routines
  alpha: make short build log available for division routines

 arch/alpha/lib/Makefile | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

-- 
1.9.1

[toc] | [next] | [standalone]


#1480751 — [PATCH 2/3] alpha: merge build rules of division routines

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2016-09-11 09:50 +0200
Subject[PATCH 2/3] alpha: merge build rules of division routines
Message-ID<sg7Gx-3ey-11@gated-at.bofh.it>
In reply to#1480749
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>
---

 arch/alpha/lib/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/arch/alpha/lib/Makefile b/arch/alpha/lib/Makefile
index 7b694fe..5f12e9d 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)
-- 
1.9.1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web