svn commit: r333654 - head/share/mk

2018-05-15 Thread Bryan Drewery
Author: bdrewery Date: Tue May 15 23:46:49 2018 New Revision: 333654 URL: https://svnweb.freebsd.org/changeset/base/333654 Log: Fix stale dependencies on libcasper libraries. Libcasper and its modules have no static libraries so don't define paths to them. This fixes LIBADD

Re: svn commit: r333466 - in head: contrib/bmake sys/conf sys/kern sys/modules/epoch_test sys/sys sys/tests/epoch

2018-05-11 Thread Bryan Drewery
nt i, pollToken; > > (void)fflush(stdout); > > + pollToken = 0; > + > /* The first fd in the list is the job token pipe */ > do { > - nready = poll(fds + 1 - wantToken, nfds - 1 + wantToken, POLL_MSEC); > + nready = poll(fds + 1 - pollToken, nfds - 1

svn commit: r333498 - head

2018-05-11 Thread Bryan Drewery
Author: bdrewery Date: Fri May 11 17:24:04 2018 New Revision: 333498 URL: https://svnweb.freebsd.org/changeset/base/333498 Log: Revert r333496. I didn't put the correct paths, nor lib32, and I may have been comparing against the wrong source tree. Modified: head/ObsoleteFiles.inc

Re: svn commit: r333496 - head

2018-05-11 Thread Bryan Drewery
On 5/11/2018 10:14 AM, Konstantin Belousov wrote: > On Fri, May 11, 2018 at 04:46:52PM +0000, Bryan Drewery wrote: >> Author: bdrewery >> Date: Fri May 11 16:46:52 2018 >> New Revision: 333496 >> URL: https://svnweb.freebsd.org/changeset/base/333496 >> >

svn commit: r333496 - head

2018-05-11 Thread Bryan Drewery
Author: bdrewery Date: Fri May 11 16:46:52 2018 New Revision: 333496 URL: https://svnweb.freebsd.org/changeset/base/333496 Log: Add a bunch of orphaned libraries. MFC after:3 days Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r332455 - in head: share/mk sys/conf

2018-04-12 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 12 20:48:17 2018 New Revision: 332455 URL: https://svnweb.freebsd.org/changeset/base/332455 Log: Use known SRCTOP if possible to determine SYSDIR. Suggested by: sjg Sponsored by: Dell EMC Modified: head/share/mk/bsd.dtb.mk head/share/mk/bsd.kmod.mk

svn commit: r332453 - in head: share/mk sys/conf

2018-04-12 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 12 20:27:57 2018 New Revision: 332453 URL: https://svnweb.freebsd.org/changeset/base/332453 Log: Fix using wrong SYSDIR after r331683. This was inadvertently overriding the first found SYSDIR with the last of /usr/src which could result in the wrong headers

svn commit: r331683 - in head: share/mk sys/conf

2018-03-28 Thread Bryan Drewery
Author: bdrewery Date: Wed Mar 28 16:28:24 2018 New Revision: 331683 URL: https://svnweb.freebsd.org/changeset/base/331683 Log: Avoid looping if SYSDIR already known. Sponsored by: Dell EMC Modified: head/share/mk/bsd.dtb.mk head/share/mk/bsd.kmod.mk head/sys/conf/kmod.mk Modified:

svn commit: r331682 - in head: share/mk sys/conf

2018-03-28 Thread Bryan Drewery
Author: bdrewery Date: Wed Mar 28 16:28:20 2018 New Revision: 331682 URL: https://svnweb.freebsd.org/changeset/base/331682 Log: Avoid upwards directory walk in kernel build for finding known SYSDIR. Sponsored by: Dell EMC Modified: head/share/mk/bsd.dtb.mk head/share/mk/bsd.kmod.mk

svn commit: r330725 - head/sys/conf

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 10 02:13:48 2018 New Revision: 330725 URL: https://svnweb.freebsd.org/changeset/base/330725 Log: Fix rebase mismerge in r330724. X-MFC-With: r330724 MFC after:2 weeks Sponsored by: Dell EMC Modified: head/sys/conf/kern.post.mk Modified:

svn commit: r330724 - head/sys/conf

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 10 02:10:26 2018 New Revision: 330724 URL: https://svnweb.freebsd.org/changeset/base/330724 Log: Don't skip reading depend for 'make obj' unless it is alone. This was effectively done in bsd.dep.mk quite some time ago. MFC after:2 weeks Sponsored

svn commit: r330723 - head/sys/conf

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 10 02:10:19 2018 New Revision: 330723 URL: https://svnweb.freebsd.org/changeset/base/330723 Log: Skip reading depend files with -V unless looking up a depend variable. This speeds up some simple -V lookups significantly. Reported by: bde MFC after:

svn commit: r330722 - head/sys/conf

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 10 02:09:36 2018 New Revision: 330722 URL: https://svnweb.freebsd.org/changeset/base/330722 Log: Reduce overhead for simple 'make -V' lookups by avoiding 'find sys/'. Setting -DNO_SKIP_MPATH can be used for debugging. Reported by: bde MFC after:2

svn commit: r330702 - head/lib/libmagic

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Mar 9 18:51:24 2018 New Revision: 330702 URL: https://svnweb.freebsd.org/changeset/base/330702 Log: LIB32: Avoid linking in unneeded (and invalid lib32) libz for libmagic build tool. Usually this is just ignored: /usr/bin/ld: skipping incompatible

svn commit: r330561 - head/bin/chflags

2018-03-06 Thread Bryan Drewery
Author: bdrewery Date: Wed Mar 7 01:55:38 2018 New Revision: 330561 URL: https://svnweb.freebsd.org/changeset/base/330561 Log: chflags: Add SIGINFO support. This is copied from chmod r311668. MFC after:2 weeks Modified: head/bin/chflags/chflags.1 head/bin/chflags/chflags.c

Re: svn commit: r330436 - head/bin/chflags

2018-03-05 Thread Bryan Drewery
On 3/5/2018 8:37 AM, Bryan Drewery wrote: > On 3/4/2018 8:30 PM, Bruce Evans wrote: >> On Sun, 4 Mar 2018, Ian Lepore wrote: >> >>> On Mon, 2018-03-05 at 01:56 +, Bryan Drewery wrote: >>>> >>>> Log: >>>> \xa0 chflags: Add -x option

Re: svn commit: r330436 - head/bin/chflags

2018-03-05 Thread Bryan Drewery
On 3/4/2018 8:30 PM, Bruce Evans wrote: > On Sun, 4 Mar 2018, Ian Lepore wrote: > >> On Mon, 2018-03-05 at 01:56 +, Bryan Drewery wrote: >>> >>> Log: >>> \xa0 chflags: Add -x option to not traverse mount points. >> >> Yay! \xa0One day late

svn commit: r330436 - head/bin/chflags

2018-03-04 Thread Bryan Drewery
Author: bdrewery Date: Mon Mar 5 01:56:07 2018 New Revision: 330436 URL: https://svnweb.freebsd.org/changeset/base/330436 Log: chflags: Add -x option to not traverse mount points. MFC after:2 weeks Modified: head/bin/chflags/chflags.1 head/bin/chflags/chflags.c Modified:

Re: svn commit: r330384 - in head: contrib/llvm/lib/Target/AArch64 contrib/llvm/lib/Target/X86 contrib/llvm/tools/clang/include/clang/Basic contrib/llvm/tools/clang/lib/Basic lib/clang lib/clang/inclu

2018-03-04 Thread Bryan Drewery
lvm/Support/VCSRevision.h Sun Mar 4 15:07:23 > 2018(r330383) > +++ head/lib/clang/include/llvm/Support/VCSRevision.h Sun Mar 4 17:06:37 > 2018(r330384) > @@ -1,2 +1,2 @@ > /* $FreeBSD$ */ > -#define LLVM_REVISION "svn-r325932" > +#define LLVM_RE

svn commit: r330363 - head/share/mk

2018-03-03 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 3 23:23:01 2018 New Revision: 330363 URL: https://svnweb.freebsd.org/changeset/base/330363 Log: Ignore MAKEOBJDIRPREFIX from src-env.conf in sub-makes. A sub-make, such as in 'make buildworld', may want to override MAKEOBJDIRPREFIX but is unable to do so

svn commit: r330364 - head

2018-03-03 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 3 23:23:23 2018 New Revision: 330364 URL: https://svnweb.freebsd.org/changeset/base/330364 Log: Don't read SRC_ENV_CONF for MAKEOBJDIRPREFIX guard. This is mostly to allow using MAKEOBJDIRPREFIX in src-env.conf on stable where src.sys.obj.mk is not going

svn commit: r330127 - head/share/mk

2018-02-28 Thread Bryan Drewery
Author: bdrewery Date: Wed Feb 28 20:06:03 2018 New Revision: 330127 URL: https://svnweb.freebsd.org/changeset/base/330127 Log: Allow overriding .MAKE.MAKEFILE_PREFERENCE. This will be utilized by Ports tools to avoid some extra stat(2) calls. MFC after:3 days Modified:

svn commit: r330053 - head/lib/libc/gen

2018-02-26 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 27 04:41:14 2018 New Revision: 330053 URL: https://svnweb.freebsd.org/changeset/base/330053 Log: Fix some grammar: "signals <...> are set" Modified: head/lib/libc/gen/posix_spawn.3 Modified: head/lib/libc/gen/posix_spawn.3

svn commit: r329890 - head/share/mk

2018-02-23 Thread Bryan Drewery
Author: bdrewery Date: Sat Feb 24 01:33:17 2018 New Revision: 329890 URL: https://svnweb.freebsd.org/changeset/base/329890 Log: Fix installation with read-only OBJDIR. Reported by: npn Sponsored by: Dell EMC Modified: head/share/mk/src.sys.obj.mk Modified:

svn commit: r329679 - head

2018-02-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 20 22:03:08 2018 New Revision: 329679 URL: https://svnweb.freebsd.org/changeset/base/329679 Log: Properly lookup values if they were empty. Spotted by: rpokala X-MFC-With: r329676 MFC after:2 weeks Sponsored by: Dell EMC Modified:

svn commit: r329678 - head

2018-02-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 20 22:03:04 2018 New Revision: 329678 URL: https://svnweb.freebsd.org/changeset/base/329678 Log: Only lookup SVN once and rename to SVN_CMD. MFC after:2 weeks Sponsored by: Dell EMC Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r329677 - head

2018-02-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 20 21:53:39 2018 New Revision: 329677 URL: https://svnweb.freebsd.org/changeset/base/329677 Log: Avoid looking up VCS_REVISION for every sub-make call to Makefile.inc1. MFC after:2 weeks Sponsored by: Dell EMC Modified: head/Makefile.inc1 Modified:

svn commit: r329676 - in head: . share/mk

2018-02-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 20 21:48:16 2018 New Revision: 329676 URL: https://svnweb.freebsd.org/changeset/base/329676 Log: Move SVNVERSION_CMD into the one place that uses it. This code, which is basically `svnversion || svnliteversion`, generates 2 fstatat(2) for every directory in

svn commit: r329271 - in head: contrib/netbsd-tests/lib/libc/sys sys/kern

2018-02-14 Thread Bryan Drewery
Author: bdrewery Date: Wed Feb 14 18:43:50 2018 New Revision: 329271 URL: https://svnweb.freebsd.org/changeset/base/329271 Log: nanosleep(2): Fix bogus incrementing of rmtp by tc_tick_sbt on [EINTR]. sbt is the time in the future that the tsleep_sbt() is expected to be completed at.

svn commit: r329232 - head/sys/conf

2018-02-13 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 13 17:51:16 2018 New Revision: 329232 URL: https://svnweb.freebsd.org/changeset/base/329232 Log: ports modules: Don't leak AUTO_OBJ changes into the port builds. This came about when r328489 made ports modules builds no longer use the in-tree share/mk

svn commit: r329221 - head/bin/sh

2018-02-13 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 13 16:48:57 2018 New Revision: 329221 URL: https://svnweb.freebsd.org/changeset/base/329221 Log: Allow overriding VTABSIZE at compile-time. Reviewed by: jilles Differential Revision:https://reviews.freebsd.org/D14339 Modified: head/bin/sh/var.c

svn commit: r328560 - in head/sys: amd64/linux amd64/linux32 compat/cloudabi32 compat/cloudabi64 compat/freebsd32 i386/ibcs2 i386/linux kern

2018-01-29 Thread Bryan Drewery
Author: bdrewery Date: Mon Jan 29 19:14:15 2018 New Revision: 328560 URL: https://svnweb.freebsd.org/changeset/base/328560 Log: Don't use an .OBJDIR for 'make sysent'. Reported by: emaste, jhb Sponsored by: Dell EMC Modified: head/sys/amd64/linux/Makefile

svn commit: r328348 - head

2018-01-24 Thread Bryan Drewery
Author: bdrewery Date: Wed Jan 24 18:09:44 2018 New Revision: 328348 URL: https://svnweb.freebsd.org/changeset/base/328348 Log: test-system-compiler: Display X_ variants for compiler/linker. Sponsored by: Dell EMC Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r328347 - head

2018-01-24 Thread Bryan Drewery
Author: bdrewery Date: Wed Jan 24 18:08:37 2018 New Revision: 328347 URL: https://svnweb.freebsd.org/changeset/base/328347 Log: X_COMPILER_* may not be defined. Sponsored by: Dell EMC Modified: head/Makefile.inc1 head/Makefile.libcompat Modified: head/Makefile.inc1

Re: svn commit: r328218 - in head/sys: amd64/amd64 arm/xscale/ixp425 arm64/arm64 cam cam/ctl compat/ndis dev/aacraid dev/advansys dev/ath dev/beri/virtio dev/bnxt dev/bwn dev/ciss dev/cxgbe/crypto dev

2018-01-23 Thread Bryan Drewery
.) > > All in all, the compiler is not provably wrong: it's just using more > swap space, which is rather inconvenient for small platforms but not > necessarily wrong. > > Pedro. > > I haven't dug into this to understand it all, but if mallocarray() is causing this s

svn commit: r327892 - head

2018-01-12 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 12 20:40:27 2018 New Revision: 327892 URL: https://svnweb.freebsd.org/changeset/base/327892 Log: Ensure MK_LDD for bootstrap-tools matches MK_LLD_BOOTSTRAP. This fixes building libllvmminimal with MK_LLD support when WITHOUT_LLD or WITHOUT_TOOLCHAIN are

svn commit: r327858 - head/share/mk

2018-01-11 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 12 01:09:41 2018 New Revision: 327858 URL: https://svnweb.freebsd.org/changeset/base/327858 Log: Add a hack to disable AUTO_OBJ for 'old style' kernel builds. Another solution would be to extend the Makefile.sys.inc idea, or a .no_obj file, to more places

svn commit: r327857 - head

2018-01-11 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 12 01:09:30 2018 New Revision: 327857 URL: https://svnweb.freebsd.org/changeset/base/327857 Log: Cache LINKER_FEATURES to fix the wrong ones being used. Submitted by: Dan McGregor Modified: head/Makefile.inc1 Modified:

svn commit: r327740 - head/sys/sys

2018-01-09 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 9 21:12:53 2018 New Revision: 327740 URL: https://svnweb.freebsd.org/changeset/base/327740 Log: Bump version for r327597 adding cpucontrol -e support Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

Re: svn commit: r327523 - in head/stand/mips/beri: boot2 loader

2018-01-03 Thread Bryan Drewery
\ > +LDFLAGS+=-static \ > -T ${.CURDIR}/loader.ldscript \ > -L${.CURDIR}\ > -e __start > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r326659 - head/share/mk

2017-12-07 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 7 16:37:19 2017 New Revision: 326659 URL: https://svnweb.freebsd.org/changeset/base/326659 Log: Look for libraries in OBJDIR when building outside of buildworld. This allows build testing more easily without establishing a sysroot or installing the files.

svn commit: r326649 - in head/targets/pseudo/userland: . lib

2017-12-06 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 7 01:49:35 2017 New Revision: 326649 URL: https://svnweb.freebsd.org/changeset/base/326649 Log: Disconnect OFED after r326169 broke all DIRDEPS support for it. Modified: head/targets/pseudo/userland/Makefile.depend

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:53 PM, Hans Petter Selasky wrote: > On 12/07/17 01:38, Bryan Drewery wrote: >> 1. SUBDIR=../../somewhere else is inherently wrong. >> 2. Building a library from a directory named '2' is wrong. >> 3. Not just using proper SUBDIR_DEPEND and making all these sub

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
BDESTDIR}${LIBDIR_BASE}/libprivate${_l}.a > .endfor > > .for _l in ${_LIBRARIES} > -.if ${_INTERNALLIBS:M${_l}} > +.if ${_INTERNALLIBS:M${_l}} || !defined(SYSROOT) > LDADD_${_l}_L+= -L${LIB${_l:tu}DIR} > .endif > DPADD_${_l}?= ${LIB${_l:tu}} -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:53 PM, Hans Petter Selasky wrote: > On 12/07/17 01:38, Bryan Drewery wrote: >> 1. SUBDIR=../../somewhere else is inherently wrong. >> 2. Building a library from a directory named '2' is wrong. >> 3. Not just using proper SUBDIR_DEPEND and making all these sub

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:48 PM, Bryan Drewery wrote: > On 12/6/2017 4:38 PM, Bryan Drewery wrote: >> On 12/6/2017 4:28 PM, Hans Petter Selasky wrote: >>> On 12/07/17 01:10, Bryan Drewery wrote: >>>> I'm a bit speechless.  Why??  The old version was 90% fine and I sent >>

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:38 PM, Bryan Drewery wrote: > On 12/6/2017 4:28 PM, Hans Petter Selasky wrote: >> On 12/07/17 01:10, Bryan Drewery wrote: >>> I'm a bit speechless.  Why??  The old version was 90% fine and I sent >>> you advice on how to make it work with the new layo

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:28 PM, Hans Petter Selasky wrote: > On 12/07/17 01:10, Bryan Drewery wrote: >> I'm a bit speechless.  Why??  The old version was 90% fine and I sent >> you advice on how to make it work with the new layout. > > Hi, > > I tried to listen to your advice,

svn commit: r326647 - head

2017-12-06 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 7 00:31:10 2017 New Revision: 326647 URL: https://svnweb.freebsd.org/changeset/base/326647 Log: Revert r325529: No longer needed after r325699. Sponsored by: Dell EMC Modified: head/Makefile Modified: head/Makefile

svn commit: r326648 - head

2017-12-06 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 7 00:31:28 2017 New Revision: 326648 URL: https://svnweb.freebsd.org/changeset/base/326648 Log: tinderbox/universe: Don't execute KERNCONFS lookup if not needed. Sponsored by: Dell EMC Modified: head/Makefile Modified: head/Makefile

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
gt; > .include I'm a bit speechless. Why?? The old version was 90% fine and I sent you advice on how to make it work with the new layout. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r326634 - head/share/mk

2017-12-06 Thread Bryan Drewery
Author: bdrewery Date: Wed Dec 6 21:00:41 2017 New Revision: 326634 URL: https://svnweb.freebsd.org/changeset/base/326634 Log: AUTO_OBJ: Don't create nested OBJDIRS with print-dir or make -n. Sponsored by: Dell EMC Modified: head/share/mk/bsd.obj.mk Modified: head/share/mk/bsd.obj.mk

svn commit: r326583 - head

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 21:36:08 2017 New Revision: 326583 URL: https://svnweb.freebsd.org/changeset/base/326583 Log: native-xtools: Ensure GCC files are cleaned up. Because we force enable MK_GCC when building we need to also force enable it for the cleaning phase. Otherwise

svn commit: r326581 - head/share/mk

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 21:30:17 2017 New Revision: 326581 URL: https://svnweb.freebsd.org/changeset/base/326581 Log: Handle writable-but-not-a-directory cases for writable OBJDIR check. Sponsored by: Dell EMC Modified: head/share/mk/src.sys.obj.mk Modified:

svn commit: r326582 - head/share/mk

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 21:30:22 2017 New Revision: 326582 URL: https://svnweb.freebsd.org/changeset/base/326582 Log: Deal with bmake-20170301 no longer resolving -C like it used to. Several checks assume .CURDIR is resolved, such as for determining RELDIR from SRCTOP/.CURDIR.

svn commit: r326580 - in head: . share/mk

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 21:29:47 2017 New Revision: 326580 URL: https://svnweb.freebsd.org/changeset/base/326580 Log: AUTO_OBJ: For all top-level targets enforce using an OBJDIR. This will cause an error if the wanted OBJDIR is not writable. Previously it would cause the files

svn commit: r326569 - head/sys/modules/vmm

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 17:23:33 2017 New Revision: 326569 URL: https://svnweb.freebsd.org/changeset/base/326569 Log: Fix cyclic dependency after r326552. The OBJS_DEPEND_GUESS mechanism was making vmx_genassym.o depend on all headers along with vmx_assym.h, though vmx_assym.h

svn commit: r326553 - head

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:36 2017 New Revision: 326553 URL: https://svnweb.freebsd.org/changeset/base/326553 Log: native-xtools: Fix build without META_MODE for GCC archs. The initial kernel-toolchain is built with TARGET=MACHINE but we want GCC to have files generated for

svn commit: r326552 - head/share/mk

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:33 2017 New Revision: 326552 URL: https://svnweb.freebsd.org/changeset/base/326552 Log: Fix DPSRCS not getting .depend.* files. Reported by: jhb MFC after:2 weeks Sponsored by: Dell EMC Modified: head/share/mk/bsd.dep.mk Modified:

svn commit: r326551 - head/share/mk

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:30 2017 New Revision: 326551 URL: https://svnweb.freebsd.org/changeset/base/326551 Log: Allow Makefiles to append to DEPENDSRCS. Sponsored by: Dell EMC Modified: head/share/mk/bsd.dep.mk Modified: head/share/mk/bsd.dep.mk

svn commit: r326549 - head/sys/conf

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:23 2017 New Revision: 326549 URL: https://svnweb.freebsd.org/changeset/base/326549 Log: Rename DEPENDFILES_OBJS to DEPENDFILES. This is to be consistent with bsd.dep.mk using DEPENDFILES after r325677. Sponsored by: Dell EMC Modified:

svn commit: r326550 - head/sys/conf

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:27 2017 New Revision: 326550 URL: https://svnweb.freebsd.org/changeset/base/326550 Log: DEPENDSRCS not used here. Sponsored by: Dell EMC Modified: head/sys/conf/kern.post.mk Modified: head/sys/conf/kern.post.mk

svn commit: r325986 - head/share/mk

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 21:27:33 2017 New Revision: 325986 URL: https://svnweb.freebsd.org/changeset/base/325986 Log: Remove unneeded special case for .OBJDIR=.CURDIR. The else statement is already handling this by ensuring a safe .OBJDIR is used. Sponsored by: Dell

svn commit: r325975 - head/share/mk

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:10:36 2017 New Revision: 325975 URL: https://svnweb.freebsd.org/changeset/base/325975 Log: Evaluate options after including src-env.conf and before Makefile.sys.inc. Fixes top-level breakage in r325974. Pointyhat to: bdrewery Sponsored by: Dell

Re: svn commit: r325974 - in head: . share/mk

2017-11-18 Thread Bryan Drewery
On 11/18/17 12:06 PM, O. Hartmann wrote: > Am Sat, 18 Nov 2017 20:01:15 + (UTC) > Bryan Drewery <bdrew...@freebsd.org> schrieb: > >> Author: bdrewery >> Date: Sat Nov 18 20:01:15 2017 >> New Revision: 325974 >> URL: https://svnweb.freebsd.org/change

svn commit: r325974 - in head: . share/mk

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:15 2017 New Revision: 325974 URL: https://svnweb.freebsd.org/changeset/base/325974 Log: Fix top-level targets with read-only OBJDIR. This also makes it so that top-level build targets do not immediately create the OBJDIR. Only sub-make targets

svn commit: r325973 - head

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:12 2017 New Revision: 325973 URL: https://svnweb.freebsd.org/changeset/base/325973 Log: Move top-level AUTO_OBJ logic to Makefile.sys.inc. Sponsored by: Dell Added: head/Makefile.sys.inc (contents, props changed) Modified: head/Makefile

svn commit: r325970 - head

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:02 2017 New Revision: 325970 URL: https://svnweb.freebsd.org/changeset/base/325970 Log: Fix 'make -n' for {reinstall,distribute}kernel. PR: 201779 Sponsored by: Dell Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r325971 - head/sys/conf

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:05 2017 New Revision: 325971 URL: https://svnweb.freebsd.org/changeset/base/325971 Log: Fix PORTS_MODULES+'make reinstallkernel' trying to run bogus 'make redeinstall'. Also fix 'make installkernel' running 'make deinstall' twice. PR:

svn commit: r325972 - head/share/mk

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:09 2017 New Revision: 325972 URL: https://svnweb.freebsd.org/changeset/base/325972 Log: Include Makefile.sys.inc if possible for top-level only. This will allow disabling some things like AUTO_OBJ early if not needed for the directory/targets,

svn commit: r325955 - head/usr.sbin/config

2017-11-17 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 17 18:34:14 2017 New Revision: 325955 URL: https://svnweb.freebsd.org/changeset/base/325955 Log: Fix 'local' to not look in the source tree for the file. Usually 'local' is used along with other rules such as 'no-implicit-rule' or 'dependency' which avoids

svn commit: r325776 - in head: . sys/conf

2017-11-13 Thread Bryan Drewery
Author: bdrewery Date: Mon Nov 13 20:49:08 2017 New Revision: 325776 URL: https://svnweb.freebsd.org/changeset/base/325776 Log: Rework r325568 so all 'make LINT' targets work. Reported by: ngie Sponsored by: Dell EMC Isilon Modified: head/Makefile head/sys/conf/makeLINT.mk

Re: svn commit: r325705 - head/secure

2017-11-11 Thread Bryan Drewery
cpdump/tcpdump > + usr.sbin/ppp usr.sbin/tcpdump/tcpdump > .if ${MK_SENDMAIL} != "no" > SPROGS+=usr.sbin/sendmail > .endif > This whole list and target seems outdated. IMHO it should all be removed. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r325700 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:11:00 2017 New Revision: 325700 URL: https://svnweb.freebsd.org/changeset/base/325700 Log: DIRDEPS_BUILD: Fix after r325417. DIRDEPS_BUILD works just fine without defining __objdir or dealing with any of this logic. It handles its own TARGET_SPEC in

svn commit: r325698 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:50 2017 New Revision: 325698 URL: https://svnweb.freebsd.org/changeset/base/325698 Log: META_MODE: Avoid some logic if disabled and allow enabling with make argument. Sponsored by: Dell EMC Isilon Modified: head/Makefile Modified: head/Makefile

svn commit: r325697 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:46 2017 New Revision: 325697 URL: https://svnweb.freebsd.org/changeset/base/325697 Log: AUTO_OBJ: Disable in non-build targets. There's no reason to create object directories for targets like 'installworld' or 'distributeworld', and the others in

svn commit: r325695 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:08 2017 New Revision: 325695 URL: https://svnweb.freebsd.org/changeset/base/325695 Log: cleanworld only needs a tree walk if the expected .OBJDIR is .CURDIR. Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r325699 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:55 2017 New Revision: 325699 URL: https://svnweb.freebsd.org/changeset/base/325699 Log: Don't work out of a TARGET. directory if TARGET_ARCH is not defined. This fixes 'TARGET= make universe_kernels' creating an empty TARGET. directory and showing

svn commit: r325696 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:41 2017 New Revision: 325696 URL: https://svnweb.freebsd.org/changeset/base/325696 Log: Handle MAKEOBJDIRPREFIX when already inside of .OBJDIR. This can happen in obscure cases with things like the kernel build. Sponsored by: Dell EMC Isilon

Re: svn commit: r325594 - head/sys/ddb

2017-11-10 Thread Bryan Drewery
ble to run 'man'. The same could be said for opening a browser but it's more likely they're going to have another system that can load a website but not as assured it will be FreeBSD with the ddb manpage. >> db_printf("Use \"bt\" for backtrace, \"dump\&q

svn commit: r325682 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 21:52:33 2017 New Revision: 325682 URL: https://svnweb.freebsd.org/changeset/base/325682 Log: Remove rerelease target that was added in r38978. I'm not sure what this target is but it doesn't exist now and doesn't seem to have existed before.

Re: svn commit: r325568 - head

2017-11-10 Thread Bryan Drewery
\ >> +${SUB_MAKE} -DNO_OBJ LINT \ >> +> ${.CURDIR}/_.${target}.makeLINT 2>&1 || \ >> (echo "${target} 'make LINT' failed," \ >> "check _.${target}.makeLINT for details"| ${MAKEFAIL})) >> .endif >> >> > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r325679 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 20:10:05 2017 New Revision: 325679 URL: https://svnweb.freebsd.org/changeset/base/325679 Log: AUTO_OBJ: Don't create .OBJDIR with 'make -n'. Sponsored by: Dell EMC Isilon Modified: head/share/mk/sys.mk Modified: head/share/mk/sys.mk

svn commit: r325677 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 20:09:11 2017 New Revision: 325677 URL: https://svnweb.freebsd.org/changeset/base/325677 Log: Allow consuming Makefiles to add to DEPENDFILES. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.dep.mk Modified: head/share/mk/bsd.dep.mk

svn commit: r325678 - in head/lib/clang: libclang libllvm

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 20:09:15 2017 New Revision: 325678 URL: https://svnweb.freebsd.org/changeset/base/325678 Log: Tell bsd.dep.mk which depend files to dinclude. This allows the _SKIP_DEPEND optimization to work, avoiding reading the files when not needed. It also fixes

svn commit: r325676 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:53:17 2017 New Revision: 325676 URL: https://svnweb.freebsd.org/changeset/base/325676 Log: No need to run 'make depend' with FAST_DEPEND logic in-tree. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.crunchgen.mk Modified:

svn commit: r325674 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:53:11 2017 New Revision: 325674 URL: https://svnweb.freebsd.org/changeset/base/325674 Log: Pass down any PROG-specific buildopts for forwarded targets. This currently has no impact. Sponsored by: Dell EMC Isilon Modified:

svn commit: r325675 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:53:14 2017 New Revision: 325675 URL: https://svnweb.freebsd.org/changeset/base/325675 Log: AUTO_OBJ: No need to tree-walk with 'make obj' here. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.crunchgen.mk Modified:

svn commit: r325673 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:53:07 2017 New Revision: 325673 URL: https://svnweb.freebsd.org/changeset/base/325673 Log: native-xtools: Fix for GCC archs. - This also adds in a _cleanobj step as needed. - This redirects TARGET/TARGET_ARCH to NXB_TARGET/NXB_TARGET_ARCH in

svn commit: r325672 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:52:31 2017 New Revision: 325672 URL: https://svnweb.freebsd.org/changeset/base/325672 Log: Don't append TARGET.TARGET_ARCH if OBJTOP is already set. This avoids flipping the expected TARGET.TARGET_ARCH suffix / OBJTOP when it is already set by a

svn commit: r325634 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 08:00:09 2017 New Revision: 325634 URL: https://svnweb.freebsd.org/changeset/base/325634 Log: Add some missed OBJS_SRCS_FILTER from r323637. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.clang-analyze.mk head/share/mk/bsd.progs.mk

svn commit: r325633 - in head: rescue/rescue tools/bsdbox

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 07:53:02 2017 New Revision: 325633 URL: https://svnweb.freebsd.org/changeset/base/325633 Log: Avoid referencing private lib names directly. Sponsored by: Dell EMC Isilon Modified: head/rescue/rescue/Makefile head/tools/bsdbox/Makefile Modified:

svn commit: r325631 - head/share/mk

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 07:52:46 2017 New Revision: 325631 URL: https://svnweb.freebsd.org/changeset/base/325631 Log: Add support for CRUNCH_LIBS_ for specifying a lib only for 1 prog. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.crunchgen.mk Modified:

svn commit: r325632 - in head: . rescue/rescue sbin/ipf/ipf

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 07:52:58 2017 New Revision: 325632 URL: https://svnweb.freebsd.org/changeset/base/325632 Log: rescue ipf: Remove hacks and link in libipf directly. Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 head/rescue/rescue/Makefile

svn commit: r325626 - in head: . share/mk

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 02:09:33 2017 New Revision: 325626 URL: https://svnweb.freebsd.org/changeset/base/325626 Log: Handle some .OBJDIR == .CURDIR cases. - If OBJROOT is SRCTOP then don't add on TARGET.TARGET_ARCH. This only happens at the top-level, and for

svn commit: r325627 - head

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 02:09:37 2017 New Revision: 325627 URL: https://svnweb.freebsd.org/changeset/base/325627 Log: Deal with src.conf for top-level MAKEOBJDIRPREFIX guard. - Don't discard SRCCONF value since it may incorrectly have MAKEOBJDIRPREFIX in it. - Add note

svn commit: r325619 - head/share/mk

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Thu Nov 9 22:08:07 2017 New Revision: 325619 URL: https://svnweb.freebsd.org/changeset/base/325619 Log: Mark targets .PHONY. This avoids the obvious of not running the target when expected, but also avoids META_MODE from showing 'Building'. This is mostly only

svn commit: r325570 - head/sys/conf

2017-11-08 Thread Bryan Drewery
Author: bdrewery Date: Thu Nov 9 02:37:49 2017 New Revision: 325570 URL: https://svnweb.freebsd.org/changeset/base/325570 Log: AUTO_OBJ: Fix 'old style' kernel builds using wrong .OBJDIR. There's no way currently to automatically prevent the bad .OBJDIR from being created but it can at

svn commit: r325568 - head

2017-11-08 Thread Bryan Drewery
Author: bdrewery Date: Wed Nov 8 23:41:27 2017 New Revision: 325568 URL: https://svnweb.freebsd.org/changeset/base/325568 Log: universe: Fix creating LINT files with AUTO_OBJ. These are expected to be created in .CURDIR. Reported by: kib Sponsored by: Dell EMC Isilon Modified:

svn commit: r325560 - head/share/mk

2017-11-08 Thread Bryan Drewery
Author: bdrewery Date: Wed Nov 8 18:02:01 2017 New Revision: 325560 URL: https://svnweb.freebsd.org/changeset/base/325560 Log: META_MODE: Bmake 20171028 in r325340 simplifies the meta filename. Now if the meta file is in the objdir, the objdir is stripped away from the meta filename.

<    1   2   3   4   5   6   7   8   9   10   >