Page MenuHomeFreeBSD
Feed Advanced Search

Nov 11 2017

bdrewery committed rP453949: Update to 3.0-2600-g5d5671f7.
Update to 3.0-2600-g5d5671f7
Nov 11 2017, 1:45 AM
bdrewery committed rS325700: DIRDEPS_BUILD: Fix after r325417..
DIRDEPS_BUILD: Fix after r325417.
Nov 11 2017, 1:11 AM
bdrewery committed rS325699: Don't work out of a TARGET. directory if TARGET_ARCH is not defined..
Don't work out of a TARGET. directory if TARGET_ARCH is not defined.
Nov 11 2017, 1:11 AM
bdrewery committed rS325697: AUTO_OBJ: Disable in non-build targets..
AUTO_OBJ: Disable in non-build targets.
Nov 11 2017, 1:11 AM
bdrewery committed rS325698: META_MODE: Avoid some logic if disabled and allow enabling with make argument..
META_MODE: Avoid some logic if disabled and allow enabling with make argument.
Nov 11 2017, 1:11 AM
bdrewery committed rS325696: Handle MAKEOBJDIRPREFIX when already inside of .OBJDIR..
Handle MAKEOBJDIRPREFIX when already inside of .OBJDIR.
Nov 11 2017, 1:10 AM
bdrewery committed rS325695: cleanworld only needs a tree walk if the expected .OBJDIR is .CURDIR..
cleanworld only needs a tree walk if the expected .OBJDIR is .CURDIR.
Nov 11 2017, 1:10 AM

Nov 10 2017

bdrewery added a comment to D13015: Axe xlint..
In D13015#270901, @imp wrote:

What about all of the make lint support and LINT references in Makefiles?

I'd be more careful about them. Again, that's support for running a linter over the tree vs removing THIS linter from the tree. Orthogonal, but related, problems.

OTOH, it would save a few hundred lines of code in the Makefiles, so what's not to love? I'm sure you'd love that. :)

So Great Idea, but I'm cool with that being a followup commit.

Nov 10 2017, 11:03 PM
bdrewery committed rS325682: Remove rerelease target that was added in r38978..
Remove rerelease target that was added in r38978.
Nov 10 2017, 9:52 PM
bdrewery added a comment to D13015: Axe xlint..

What about all of the make lint support and LINT references in Makefiles?

share/mk/bsd.README:    lint:
share/mk/bsd.README:            run lint on the source files
share/mk/bsd.README:cleandir, depend, install, lint, and tags.  For all of the directories
share/mk/bsd.README:install, lint, and tags.  It has a limited number of suffixes, consistent
share/mk/bsd.README:LINTLIBDIR  Target directory for lint libraries.
share/mk/bsd.README:    lint:
share/mk/bsd.README:            run lint on the source files.
share/mk/bsd.lib.mk:    @${ECHO} building lint library ${.TARGET}
share/mk/bsd.lib.mk:.if !target(lint)
share/mk/bsd.lib.mk:lint: ${SRCS:M*.c}
share/mk/bsd.man.mk:manlint: ${__page}lint
share/mk/bsd.man.mk:${__page}lint: ${__page}
share/mk/bsd.own.mk:# LINTLIBDIR        Base path for lint libraries. [/usr/libdata/lint]
share/mk/bsd.own.mk:LINTLIBDIR?=        /usr/libdata/lint
share/mk/bsd.prog.mk:.if !target(lint)
share/mk/bsd.prog.mk:lint: ${SRCS:M*.c}
share/mk/bsd.subdir.mk:         installfiles installincludes print-dir realinstall lint \
share/mk/bsd.sys.mk:            installincludes lint obj objlink objs objwarn \
share/mk/sys.mk:LINT            ?=      lint
Nov 10 2017, 9:23 PM
bdrewery committed rP453930: Release brad from mentorship..
Release brad from mentorship.
Nov 10 2017, 9:16 PM
bdrewery committed rS325679: AUTO_OBJ: Don't create .OBJDIR with 'make -n'..
AUTO_OBJ: Don't create .OBJDIR with 'make -n'.
Nov 10 2017, 8:10 PM
bdrewery committed rS325678: Tell bsd.dep.mk which depend files to dinclude..
Tell bsd.dep.mk which depend files to dinclude.
Nov 10 2017, 8:09 PM
bdrewery committed rS325677: Allow consuming Makefiles to add to DEPENDFILES..
Allow consuming Makefiles to add to DEPENDFILES.
Nov 10 2017, 8:09 PM
bdrewery committed rS325676: No need to run 'make depend' with FAST_DEPEND logic in-tree..
No need to run 'make depend' with FAST_DEPEND logic in-tree.
Nov 10 2017, 7:53 PM
bdrewery committed rS325675: AUTO_OBJ: No need to tree-walk with 'make obj' here..
AUTO_OBJ: No need to tree-walk with 'make obj' here.
Nov 10 2017, 7:53 PM
bdrewery committed rS325674: Pass down any PROG-specific buildopts for forwarded targets..
Pass down any PROG-specific buildopts for forwarded targets.
Nov 10 2017, 7:53 PM
bdrewery committed rS325673: native-xtools: Fix for GCC archs..
native-xtools: Fix for GCC archs.
Nov 10 2017, 7:53 PM
bdrewery committed rS325672: Don't append TARGET.TARGET_ARCH if OBJTOP is already set..
Don't append TARGET.TARGET_ARCH if OBJTOP is already set.
Nov 10 2017, 7:52 PM
bdrewery committed rS325634: Add some missed OBJS_SRCS_FILTER from r323637..
Add some missed OBJS_SRCS_FILTER from r323637.
Nov 10 2017, 8:00 AM
bdrewery committed rS325633: Avoid referencing private lib names directly..
Avoid referencing private lib names directly.
Nov 10 2017, 7:53 AM
bdrewery committed rS325632: rescue ipf: Remove hacks and link in libipf directly..
rescue ipf: Remove hacks and link in libipf directly.
Nov 10 2017, 7:53 AM
bdrewery committed rS325631: Add support for CRUNCH_LIBS_ for specifying a lib only for 1 prog..
Add support for CRUNCH_LIBS_ for specifying a lib only for 1 prog.
Nov 10 2017, 7:53 AM
bdrewery added a comment to D12924: Remove mailaddr(7).

I learned a lot reading this just now.

Nov 10 2017, 7:51 AM
bdrewery committed rP453884: Update to 3.0-2592-gba53cb5b.
Update to 3.0-2592-gba53cb5b
Nov 10 2017, 6:39 AM
bdrewery committed rP453882: Avoid running git and finding PORTSDIR/.git..
Avoid running git and finding PORTSDIR/.git.
Nov 10 2017, 6:28 AM
bdrewery committed rS325626: Handle some .OBJDIR == .CURDIR cases..
Handle some .OBJDIR == .CURDIR cases.
Nov 10 2017, 2:09 AM
bdrewery committed rS325627: Deal with src.conf for top-level MAKEOBJDIRPREFIX guard..
Deal with src.conf for top-level MAKEOBJDIRPREFIX guard.
Nov 10 2017, 2:09 AM

Nov 9 2017

bdrewery committed rS325619: Mark targets .PHONY..
Mark targets .PHONY.
Nov 9 2017, 10:08 PM
bdrewery accepted D13019: Fix problem with "make -C /usr/ports/ search name=text".
[/usr/src] # make -C bin/sh/ -V .CURDIR
/usr/src/bin/sh
[/usr/src] # fmake -C bin/sh/ -V .CURDIR
/usr/src/bin/sh
[/usr/src] # fmake -C bin/sh//// -V .CURDIR
/usr/src/bin/sh
[/usr/src] # bmake -C bin/sh//// -V .CURDIR
/usr/src/bin/sh
Nov 9 2017, 8:53 PM
bdrewery added a comment to D13015: Axe xlint..
In D13015#270388, @kib wrote:

Aren't they automatically re-generated by somebody else ? I did found them by grepping, and decided not to update because they are not human-editable. Am I wrong ?

Paging @sjg or @bdrewery

Looking at the history in targets/pseudo I see commits to manually chase up previously-removed components.

Nov 9 2017, 3:50 PM
bdrewery closed D12989: AUTO_OBJ: Fix 'old style' kernel builds using wrong .OBJDIR..
Nov 9 2017, 2:38 AM
bdrewery committed rS325570: AUTO_OBJ: Fix 'old style' kernel builds using wrong .OBJDIR..
AUTO_OBJ: Fix 'old style' kernel builds using wrong .OBJDIR.
Nov 9 2017, 2:38 AM

Nov 8 2017

bdrewery committed rS325568: universe: Fix creating LINT files with AUTO_OBJ..
universe: Fix creating LINT files with AUTO_OBJ.
Nov 8 2017, 11:41 PM
bdrewery committed rS325560: META_MODE: Bmake 20171028 in r325340 simplifies the meta filename..
META_MODE: Bmake 20171028 in r325340 simplifies the meta filename.
Nov 8 2017, 6:02 PM
bdrewery accepted D13000: Add py3-* stub ports required for the upcoming finance/electrum update to 3.0.1.

Approved by: portmgr (bdrewery)

Nov 8 2017, 5:39 PM
bdrewery committed rS325557: AUTO_OBJ: Hide 'creating dirs' output with 'make -s'..
AUTO_OBJ: Hide 'creating dirs' output with 'make -s'.
Nov 8 2017, 4:04 PM
bdrewery committed rS325529: AUTO_OBJ: Don't create TARGET. directories during 'make universe'..
AUTO_OBJ: Don't create TARGET. directories during 'make universe'.
Nov 8 2017, 2:40 AM
bdrewery added a comment to D12989: AUTO_OBJ: Fix 'old style' kernel builds using wrong .OBJDIR..

Perhaps config could create a .no_obj file that we check for in src.sys.obj.mk ?

Nov 8 2017, 2:28 AM
bdrewery created D12989: AUTO_OBJ: Fix 'old style' kernel builds using wrong .OBJDIR..
Nov 8 2017, 2:27 AM

Nov 7 2017

bdrewery added inline comments to D12981: Document MACHINE, MACHINE_ARCH, TARGET and TARGET_ARCH historical use and general philosphy..
Nov 7 2017, 9:28 PM
bdrewery committed rS325520: Reenable AUTO_OBJ by default..
Reenable AUTO_OBJ by default.
Nov 7 2017, 6:46 PM
bdrewery committed rS325493: Reapply r295227: Stop hiding link install commands..
Reapply r295227: Stop hiding link install commands.
Nov 7 2017, 3:52 PM

Nov 5 2017

bdrewery committed rS325457: Rework r325076: Just use the pre-existing OBJDIR..
Rework r325076: Just use the pre-existing OBJDIR.
Nov 5 2017, 10:29 PM
bdrewery committed rS325437: Follow-up r325405: Fix assertion still for kernel module builds..
Follow-up r325405: Fix assertion still for kernel module builds.
Nov 5 2017, 4:28 PM
bdrewery committed rS325419: Avoid trying to remove a fullpath directory in CLEANDIRS..
Avoid trying to remove a fullpath directory in CLEANDIRS.
Nov 5 2017, 12:26 AM
bdrewery committed rS325418: AUTO_OBJ: Allow 'make cleandir obj all' combinations..
AUTO_OBJ: Allow 'make cleandir obj all' combinations.
Nov 5 2017, 12:12 AM
bdrewery committed rS325417: Set the expected __objdir for auto.obj.mk to try..
Set the expected __objdir for auto.obj.mk to try.
Nov 5 2017, 12:12 AM
bdrewery committed rS325416: Always try to set .OBJDIR, even if AUTO_OBJ is enabled, and fallback to .CURDIR..
Always try to set .OBJDIR, even if AUTO_OBJ is enabled, and fallback to .CURDIR.
Nov 5 2017, 12:12 AM
bdrewery committed rS325415: Validate MAKEOBJDIR after the MAKEOBJDIRPREFIX override..
Validate MAKEOBJDIR after the MAKEOBJDIRPREFIX override.
Nov 5 2017, 12:12 AM
bdrewery committed rS325414: AUTO_OBJ: Set .OBJDIR=.CURDIR earlier for NO_OBJ Makefiles..
AUTO_OBJ: Set .OBJDIR=.CURDIR earlier for NO_OBJ Makefiles.
Nov 5 2017, 12:12 AM
bdrewery committed rS325413: Simplify location of bootstrap make..
Simplify location of bootstrap make.
Nov 5 2017, 12:12 AM
bdrewery committed rS325412: Fix nested MAKEOBJDIRPREFIX breaking various release/buildworld/toolchain….
Fix nested MAKEOBJDIRPREFIX breaking various release/buildworld/toolchain…
Nov 5 2017, 12:12 AM
bdrewery committed rS325411: Set OBJROOT/OBJTOP as make arguments. Missed in r325329..
Set OBJROOT/OBJTOP as make arguments. Missed in r325329.
Nov 5 2017, 12:12 AM

Nov 4 2017

bdrewery committed rS325409: MFC r318432:.
MFC r318432:
Nov 4 2017, 10:23 PM
bdrewery committed rS325408: Follow-up r325405: Only enable assertion for in-tree src builds..
Follow-up r325405: Only enable assertion for in-tree src builds.
Nov 4 2017, 10:00 PM
bdrewery committed rS325406: AUTO_OBJ: Revert r325351 now that the fix is in auto.obj.mk in r325404..
AUTO_OBJ: Revert r325351 now that the fix is in auto.obj.mk in r325404.
Nov 4 2017, 9:06 PM
bdrewery committed rS325405: Add an assertion to avoid the 'rm -rf /etc' case from cleanobj fixed in r325404..
Add an assertion to avoid the 'rm -rf /etc' case from cleanobj fixed in r325404.
Nov 4 2017, 9:05 PM
bdrewery abandoned D12952: Fallback to .OBJDIR=.CURDIR if unable to use the wanted OBJDIR..

Going to rework this a bit and trim the commit log

Nov 4 2017, 8:30 PM
bdrewery added inline comments to D12952: Fallback to .OBJDIR=.CURDIR if unable to use the wanted OBJDIR..
Nov 4 2017, 7:58 PM
bdrewery added inline comments to D12952: Fallback to .OBJDIR=.CURDIR if unable to use the wanted OBJDIR..
Nov 4 2017, 7:41 PM
bdrewery created D12952: Fallback to .OBJDIR=.CURDIR if unable to use the wanted OBJDIR..
Nov 4 2017, 7:12 PM

Nov 3 2017

bdrewery committed rS325374: Follow-up r318105: Don't use NO_OBJ at top-level, use NO_OBJWALK..
Follow-up r318105: Don't use NO_OBJ at top-level, use NO_OBJWALK.
Nov 3 2017, 11:22 PM
bdrewery added inline comments to D12918: Install libcasper and libcasper_random under the /lib directory..
Nov 3 2017, 7:05 PM
bdrewery accepted D12918: Install libcasper and libcasper_random under the /lib directory..
Nov 3 2017, 7:03 PM
bdrewery committed rS325351: AUTO_OBJ: If the wanted .OBJDIR was not used then disable the feature..
AUTO_OBJ: If the wanted .OBJDIR was not used then disable the feature.
Nov 3 2017, 1:09 AM
bdrewery committed rS325350: Follow-up r325329: Store all WORLDTMP objects back in the same directory..
Follow-up r325329: Store all WORLDTMP objects back in the same directory.
Nov 3 2017, 12:30 AM

Nov 2 2017

bdrewery committed rS325348: AUTO_OBJ is unsafe at the moment as it is for some reason removing /etc with….
AUTO_OBJ is unsafe at the moment as it is for some reason removing /etc with…
Nov 2 2017, 11:00 PM
bdrewery committed rS325347: Something is very wrong.
Something is very wrong
Nov 2 2017, 10:23 PM
bdrewery committed rS325346: Follow-up r325342: Always ensure WORLDTMP exists..
Follow-up r325342: Always ensure WORLDTMP exists.
Nov 2 2017, 9:58 PM
bdrewery committed rS325342: DIRDEPS_BUILD: Cleanup leftover WORLDTMP files..
DIRDEPS_BUILD: Cleanup leftover WORLDTMP files.
Nov 2 2017, 8:45 PM
bdrewery accepted D12814: Introduce EVENTHANDLER_LIST_* and some users..
Nov 2 2017, 8:17 PM
bdrewery accepted D12917: Casper work's only as shared library - disable building static ones..
Nov 2 2017, 8:09 PM
bdrewery committed rS325331: Regenerate for AUTO_OBJ..
Regenerate for AUTO_OBJ.
Nov 2 2017, 6:09 PM
bdrewery committed rS325330: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..
Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds.
Nov 2 2017, 6:09 PM
bdrewery closed D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..
Nov 2 2017, 6:09 PM
bdrewery committed rS325329: Reduce MAKEOBJDIRPREFIX path spam by specifying a direct objdir to use..
Reduce MAKEOBJDIRPREFIX path spam by specifying a direct objdir to use.
Nov 2 2017, 6:09 PM
bdrewery added inline comments to D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..
Nov 2 2017, 5:13 PM
bdrewery added a comment to D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..

Thanks!

Nov 2 2017, 5:09 PM
bdrewery added a comment to D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..

Any further comments? I'd like to commit this today.

Nov 2 2017, 4:26 PM
bdrewery committed rS325304: Don't propagate MAKEOBJDIRPREFIX changes to environment..
Don't propagate MAKEOBJDIRPREFIX changes to environment.
Nov 2 2017, 4:05 AM

Nov 1 2017

bdrewery abandoned D874: Better sandbox 'make universe' targets to within the same tree that everything else uses, i.e. ${MAKEOBJDIRPREFIX}${.CURDIR}..

D12840 obsoletes this change.

Nov 1 2017, 9:23 PM
bdrewery commandeered D874: Better sandbox 'make universe' targets to within the same tree that everything else uses, i.e. ${MAKEOBJDIRPREFIX}${.CURDIR}..
Nov 1 2017, 9:23 PM
bdrewery closed D3711: Always add ${TARGET}.${TARGET_ARCH} to objtree path..

D12840 obsoletes this change.

Nov 1 2017, 9:23 PM
bdrewery committed rS325293: Regenerate for UNIFIED_OBJDIR..
Regenerate for UNIFIED_OBJDIR.
Nov 1 2017, 9:22 PM
bdrewery committed rS325291: make obj: Skip treewalk if AUTO_OBJ is enabled..
make obj: Skip treewalk if AUTO_OBJ is enabled.
Nov 1 2017, 9:22 PM
bdrewery committed rS325292: META_MODE: Respect make -s..
META_MODE: Respect make -s.
Nov 1 2017, 9:22 PM
bdrewery committed rS325290: native-xtools/xdev: Store these in a location including both MACHINE/TARGET..
native-xtools/xdev: Store these in a location including both MACHINE/TARGET.
Nov 1 2017, 9:22 PM
bdrewery committed rS325289: Add a 'make cleanuniverse'..
Add a 'make cleanuniverse'.
Nov 1 2017, 9:22 PM
bdrewery committed rS325288: Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR..
Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR.
Nov 1 2017, 9:22 PM
bdrewery closed D12840: Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR..
Nov 1 2017, 9:22 PM
bdrewery updated the diff for D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..

Remove leftover comment to myself

Nov 1 2017, 8:36 PM
bdrewery updated the diff for D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..
  • Simplify detection, no need to create directories, just look for the last missing component and if we can write to that directory.
  • Simplify more of the change overall
  • Check the wanted OBJDIR rather than only OBJROOT
  • Support broken symlinks in the path by recursing on the new link's path, tested with 2 nested links in MAKEOBJDIRPREFIX both with and without missing dirs and writable dirs
  • Fix more of the 'make showconfig' support, it actually runs a child with make -dg1 so we need to export to that one
  • Add an UPDATING entry
Nov 1 2017, 8:35 PM
bdrewery updated the summary of D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..
Nov 1 2017, 8:32 PM
bdrewery added inline comments to D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..
Nov 1 2017, 6:43 PM
bdrewery added inline comments to D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..
Nov 1 2017, 5:37 PM
bdrewery retitled D12841: Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds. from Enable AUTO_OBJ by default if the OBJDIR is writable. to Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds..
Nov 1 2017, 5:30 PM
bdrewery added a comment to D12840: Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR..
In D12840#267376, @sjg wrote:

In Junos build we have always used .OBJDIR = ${OBJTOP} for the case ${.CURDIR} == ${SRCTOP} which is why I asserted that it is the correct answer ;-)

How about I do it in a separate commit. This commit doesn't handle MK_AUTO_OBJ, so it is just setting .OBJDIR if possible to an existing directory. I am keeping the current behavior of .OBJDIR==.CURDIR when there's no OBJDIR yet in SRCTOP. I do prefer having a valid .OBJDIR to use even if 'make obj' hasn't ran yet. So I am open to doing it, I just think it's a behavior change that deserves its own commit.

Nov 1 2017, 5:27 PM
bdrewery added inline comments to D12840: Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR..
Nov 1 2017, 5:24 PM
bdrewery updated the diff for D12840: Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR..

Fix WITHOUT_UNIFIED_OBJDIR to actually work and only apply it at top-level like was done historically.

Nov 1 2017, 5:23 PM