aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-11-10 02:09:33 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-11-10 02:09:33 +0000
commitfa65e3a53d378ff5a6d3746ac65c2247b401c04c (patch)
treef22c7de18d72d845faf0eadacb34cd6547eff233 /Makefile
parent40a770116cc3c2131d52955906af4daea8f0b89a (diff)
downloadsrc-fa65e3a53d378ff5a6d3746ac65c2247b401c04c.tar.gz
src-fa65e3a53d378ff5a6d3746ac65c2247b401c04c.zip
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 sub-directories when the user is clever with MAKEOBJDIRPREFIX=/. - Don't bother checking 'test -w' on .CURDIR. - Properly set OBJTOP/OBJROOT to SRCTOP in various needed cases. - Check if the OBJDIR is writable even for *clean* targets since it determines which .OBJDIR the user gets; If they cannot write to an existing eligible .OBJDIR then it needs to clean in .CURDIR instead. - Add guard to cleanworld/cleanuniverse from removing SRCTOP. - Ensure OBJTOP is proper for .OBJDIR=.CURDIR which fixes finding libraries since src.libnames.mk is based on OBJTOP. - Avoid some chdir(2) for modifying .OBJDIR Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=325626
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions