Source-Changes-HG archive

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

[src/netbsd-8]: src Pull up following revision(s) (requested by jmcneill in t...



details:   https://anonhg.NetBSD.org/src/rev/9d73d9bb3f0f
branches:  netbsd-8
changeset: 850835:9d73d9bb3f0f
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Jul 18 17:32:50 2017 +0000

description:
Pull up following revision(s) (requested by jmcneill in ticket #114):
        distrib/sets/lists/comp/mi: revision 1.2139
        distrib/sets/lists/debug/mi: revision 1.217
        distrib/sets/mkvars.mk: revision 1.32
        external/gpl2/Makefile: revision 1.14
        share/mk/bsd.own.mk: revision 1.1010
        tools/Makefile: revisions 1.188, 1.189
        tools/dtc/Makefile: revisions 1.1, 1.2
        tools/libfdt/Makefile: revisions 1.1, 1.2
Add libfdt
--
New libfdt location
--
tools build glue.
--
Add dtc
--
add MKDTC
--
Add dtc
--
add DTC
--
add DTC
--
No need to set dtc twice.
--
Update for new libfdt location

diffstat:

 distrib/sets/lists/comp/mi  |   3 ++-
 distrib/sets/lists/debug/mi |   3 ++-
 distrib/sets/mkvars.mk      |   3 ++-
 external/gpl2/Makefile      |   6 +++++-
 share/mk/bsd.own.mk         |   5 +++--
 tools/Makefile              |   4 +++-
 tools/dtc/Makefile          |  17 +++++++++++++++++
 tools/libfdt/Makefile       |  24 ++++++++++++++++++++++++
 8 files changed, 58 insertions(+), 7 deletions(-)

diffs (164 lines):

diff -r 4ee614e05cd0 -r 9d73d9bb3f0f distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Tue Jul 18 17:17:52 2017 +0000
+++ b/distrib/sets/lists/comp/mi        Tue Jul 18 17:32:50 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.2138 2017/05/27 21:02:54 bouyer Exp $
+#      $NetBSD: mi,v 1.2138.2.1 2017/07/18 17:32:50 snj Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.comp                           comp-sys-root
@@ -26,6 +26,7 @@
 ./usr/bin/cvs                                  comp-cvs-bin            cvs
 ./usr/bin/cvsbug                               comp-cvs-bin            cvs
 ./usr/bin/cvslatest                            comp-cvs-bin
+./usr/bin/dtc                                  comp-util-bin           dtc
 ./usr/bin/elfedit                              comp-util-bin           binutils
 ./usr/bin/f77                                  comp-obsolete   obsolete
 ./usr/bin/fgen                                 comp-util-bin
diff -r 4ee614e05cd0 -r 9d73d9bb3f0f distrib/sets/lists/debug/mi
--- a/distrib/sets/lists/debug/mi       Tue Jul 18 17:17:52 2017 +0000
+++ b/distrib/sets/lists/debug/mi       Tue Jul 18 17:32:50 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.216 2017/06/01 15:45:02 perseant Exp $
+# $NetBSD: mi,v 1.216.2.1 2017/07/18 17:32:50 snj Exp $
 ./etc/mtree/set.debug                           comp-sys-root
 ./usr/lib                                      comp-sys-usr            compatdir
 ./usr/lib/i18n/libBIG5_g.a                     comp-c-debuglib         debuglib,compatfile
@@ -510,6 +510,7 @@
 ./usr/libdata/debug/usr/bin/dig.debug          comp-netutil-debug      debug
 ./usr/libdata/debug/usr/bin/dirname.debug      comp-util-debug         debug
 ./usr/libdata/debug/usr/bin/dns-sd.debug       comp-mdns-debug         mdns,debug
+./usr/libdata/debug/usr/bin/dtc.debug          comp-dtc-debug          dtc,debug
 ./usr/libdata/debug/usr/bin/du.debug           comp-util-debug         debug
 ./usr/libdata/debug/usr/bin/eject.debug                comp-util-debug         debug
 ./usr/libdata/debug/usr/bin/ekermit.debug      comp-util-debug         debug
diff -r 4ee614e05cd0 -r 9d73d9bb3f0f distrib/sets/mkvars.mk
--- a/distrib/sets/mkvars.mk    Tue Jul 18 17:17:52 2017 +0000
+++ b/distrib/sets/mkvars.mk    Tue Jul 18 17:32:50 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mkvars.mk,v 1.31 2017/04/21 22:46:26 christos Exp $
+# $NetBSD: mkvars.mk,v 1.31.4.1 2017/07/18 17:32:50 snj Exp $
 
 MKEXTRAVARS= \
        MACHINE \
@@ -18,6 +18,7 @@
        MKCOMPAT \
        MKCOMPATTESTS \
        MKCOMPATMODULES \
+       MKDTC \
        MKDYNAMICROOT \
        MKMANPAGES \
        MKSLJIT \
diff -r 4ee614e05cd0 -r 9d73d9bb3f0f external/gpl2/Makefile
--- a/external/gpl2/Makefile    Tue Jul 18 17:17:52 2017 +0000
+++ b/external/gpl2/Makefile    Tue Jul 18 17:32:50 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2016/01/14 21:13:54 christos Exp $
+#      $NetBSD: Makefile,v 1.13.8.1 2017/07/18 17:32:50 snj Exp $
 
 .include <bsd.own.mk>
 
@@ -17,6 +17,10 @@
 SUBDIR+=        groff
 .endif
 
+.if ${MKDTC} != "no"
+SUBDIR+=       dtc
+.endif
+
 SUBDIR+= gettext diffutils texinfo rcs send-pr
 
 .include <bsd.subdir.mk>
diff -r 4ee614e05cd0 -r 9d73d9bb3f0f share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Tue Jul 18 17:17:52 2017 +0000
+++ b/share/mk/bsd.own.mk       Tue Jul 18 17:32:50 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1009 2017/05/21 15:28:42 riastradh Exp $
+#      $NetBSD: bsd.own.mk,v 1.1009.2.1 2017/07/18 17:32:50 snj Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -352,6 +352,7 @@
 TOOL_CVSLATEST=                ${TOOLDIR}/bin/${_TOOL_PREFIX}cvslatest
 TOOL_DB=               ${TOOLDIR}/bin/${_TOOL_PREFIX}db
 TOOL_DISKLABEL=                ${TOOLDIR}/bin/nbdisklabel
+TOOL_DTC=              ${TOOLDIR}/bin/${_TOOL_PREFIX}dtc
 TOOL_EQN=              ${TOOLDIR}/bin/${_TOOL_PREFIX}eqn
 TOOL_FDISK=            ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk
 TOOL_FGEN=             ${TOOLDIR}/bin/${_TOOL_PREFIX}fgen
@@ -1035,7 +1036,7 @@
        MKATF \
        MKBINUTILS \
        MKCOMPLEX MKCVS MKCXX \
-       MKDOC \
+       MKDOC MKDTC \
        MKDYNAMICROOT \
        MKGCC MKGDB MKGROFF \
        MKHESIOD MKHTML \
diff -r 4ee614e05cd0 -r 9d73d9bb3f0f tools/Makefile
--- a/tools/Makefile    Tue Jul 18 17:17:52 2017 +0000
+++ b/tools/Makefile    Tue Jul 18 17:32:50 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.187 2017/01/11 12:08:34 joerg Exp $
+#      $NetBSD: Makefile,v 1.187.6.1 2017/07/18 17:32:50 snj Exp $
 
 .include <bsd.own.mk>
 .include <bsd.endian.mk>
@@ -210,6 +210,8 @@
 .if ${MACHINE} == "evbarm" || ${MACHINE} == "evbmips" || \
     ${MACHINE} == "evbppc" || ${MACHINE} == "sandpoint"
 SUBDIR+=       mkubootimage
+SUBDIR+=       libfdt .WAIT
+SUBDIR+=       dtc
 .endif
 
 .if ${MKX11} != "no"
diff -r 4ee614e05cd0 -r 9d73d9bb3f0f tools/dtc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/dtc/Makefile        Tue Jul 18 17:32:50 2017 +0000
@@ -0,0 +1,17 @@
+#      $NetBSD: Makefile,v 1.2.4.2 2017/07/18 17:32:50 snj Exp $
+
+NOMAN= # defined
+
+.include <bsd.own.mk>
+
+LIBFDT_DIR=    ${.CURDIR}/../../sys/external/bsd/libfdt/dist
+HOST_CPPFLAGS+=        -I${LIBFDT_DIR}
+
+HOSTPROGNAME=  ${_TOOL_PREFIX}dtc
+HOST_SRCDIR=   external/gpl2/dtc/usr.bin/dtc
+
+FDTOBJ!=       cd ${.CURDIR}/../libfdt && ${PRINTOBJDIR}
+LDADD+=                -L${FDTOBJ} -lfdt
+
+.include "${.CURDIR}/../Makefile.nbincludes"
+.include "${.CURDIR}/../Makefile.host"
diff -r 4ee614e05cd0 -r 9d73d9bb3f0f tools/libfdt/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/libfdt/Makefile     Tue Jul 18 17:32:50 2017 +0000
@@ -0,0 +1,24 @@
+#      $NetBSD: Makefile,v 1.2.4.2 2017/07/18 17:32:50 snj Exp $
+
+HOSTLIB=       fdt
+
+.include <bsd.own.mk>
+
+LIBFDT_DIR=    ${.CURDIR}/../../sys/external/bsd/libfdt/dist
+
+.include "${LIBFDT_DIR}/Makefile.libfdt"
+
+SRCS=  ${LIBFDT_SRCS}
+
+CPPFLAGS+=     -I${.CURDIR}/../compat -I${LIBFDT_DIR}
+CPPFLAGS+=     -I${TOOLDIR}/include/nbinclude
+
+.PATH:         ${LIBFDT_DIR}
+
+CPPFLAGS+=     -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
+
+HOST_CPPFLAGS:=        ${CPPFLAGS} ${HOST_CPPFLAGS}
+CPPFLAGS:=     # empty
+
+.include "${.CURDIR}/../Makefile.nbincludes"
+.include <bsd.hostlib.mk>



Home | Main Index | Thread Index | Old Index