Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/llvm Make the includes target run the custom in...



details:   https://anonhg.NetBSD.org/src/rev/b4b0ad78a12b
branches:  trunk
changeset: 997302:b4b0ad78a12b
user:      maya <maya%NetBSD.org@localhost>
date:      Sun Mar 03 17:46:01 2019 +0000

description:
Make the includes target run the custom include targets.

This avoids the need for a .WAIT here, and later makes it possible
for non-llvm things to not worry about llvm includes not being created
yet (as includes runs before a lot of other things)

suggested by mrg, build-tested by agc, thanks!

diffstat:

 external/bsd/llvm/Makefile         |  3 +--
 external/bsd/llvm/include/Makefile |  4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 9e6c3a54a0da -r b4b0ad78a12b external/bsd/llvm/Makefile
--- a/external/bsd/llvm/Makefile        Sun Mar 03 17:37:36 2019 +0000
+++ b/external/bsd/llvm/Makefile        Sun Mar 03 17:46:01 2019 +0000
@@ -1,9 +1,8 @@
-#      $NetBSD: Makefile,v 1.10 2017/12/17 21:16:57 joerg Exp $
+#      $NetBSD: Makefile,v 1.11 2019/03/03 17:46:01 maya Exp $
 
 .include <bsd.init.mk>
 
 SUBDIR=        include \
-       .WAIT \
        lib \
        .WAIT \
        bin
diff -r 9e6c3a54a0da -r b4b0ad78a12b external/bsd/llvm/include/Makefile
--- a/external/bsd/llvm/include/Makefile        Sun Mar 03 17:37:36 2019 +0000
+++ b/external/bsd/llvm/include/Makefile        Sun Mar 03 17:46:01 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.45 2019/01/01 18:46:04 maya Exp $
+#      $NetBSD: Makefile,v 1.46 2019/03/03 17:46:01 maya Exp $
 
 .include <bsd.init.mk>
 
@@ -296,6 +296,6 @@
            ${LLVM_INCLUDE_CONFIG}/llvm/Config/config.h.in
 .endif
 
-depend dependall all: ${DPSRCS}
+includes depend dependall all: ${DPSRCS}
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index