summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-08-18 06:49:56 +0000
committerru <ru@FreeBSD.org>2004-08-18 06:49:56 +0000
commit75f12cc1b845dff2facb164af7389aa5541337e6 (patch)
treefc02b86ee874757b18c909ab0ae6140a54feb9dd /Makefile.inc1
parenta1194af70b00c977ef71a4aac99e89c65dbe25fa (diff)
downloadFreeBSD-src-75f12cc1b845dff2facb164af7389aa5541337e6.zip
FreeBSD-src-75f12cc1b845dff2facb164af7389aa5541337e6.tar.gz
Moved the MAKEOBJDIRPREFIX check from Makefile.inc1 to Makefile,
to suppress warnings with installworld and distributeworld when env(1) cannot be found in the PATH.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc17
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 2290adf..5b1ffb6 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -90,13 +90,6 @@ SUPFLAGS+= -h ${SUPHOST}
.endif
MAKEOBJDIRPREFIX?= /usr/obj
-_MAKEOBJDIRPREFIX!= env -i PATH=${PATH} MAKEFLAGS="${.MAKEFLAGS}" ${MAKE} \
- -f /dev/null -V MAKEOBJDIRPREFIX dummy
-.if !empty(_MAKEOBJDIRPREFIX)
-.error MAKEOBJDIRPREFIX can only be set in environment, not as a global\
- (in /etc/make.conf) or command-line variable.
-.endif
-
.if !defined(OSRELDATE)
.if exists(/usr/include/osreldate.h)
OSRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
OpenPOWER on IntegriCloud