Changeset View
Changeset View
Standalone View
Standalone View
Makefile
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | |||||
.ORDER: buildkernel reinstallkernel.debug | .ORDER: buildkernel reinstallkernel.debug | ||||
PATH= /sbin:/bin:/usr/sbin:/usr/bin | PATH= /sbin:/bin:/usr/sbin:/usr/bin | ||||
MAKEOBJDIRPREFIX?= /usr/obj | MAKEOBJDIRPREFIX?= /usr/obj | ||||
_MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} ${MAKE} MK_AUTO_OBJ=no \ | _MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} ${MAKE} MK_AUTO_OBJ=no \ | ||||
${.MAKEFLAGS:MMAKEOBJDIRPREFIX=*} __MAKE_CONF=${__MAKE_CONF} \ | ${.MAKEFLAGS:MMAKEOBJDIRPREFIX=*} __MAKE_CONF=${__MAKE_CONF} \ | ||||
SRCCONF=${SRCCONF} SRC_ENV_CONF= \ | SRCCONF=${SRCCONF} SRC_ENV_CONF= \ | ||||
-f /dev/null -V MAKEOBJDIRPREFIX dummy | -f /dev/null -V MAKEOBJDIRPREFIX dummy | ||||
.if !empty(_MAKEOBJDIRPREFIX) | .if !empty(_MAKEOBJDIRPREFIX) || !empty(.MAKEOVERRIDES:MMAKEOBJDIRPREFIX) | ||||
.error MAKEOBJDIRPREFIX can only be set in environment or src-env.conf(5),\ | .error MAKEOBJDIRPREFIX can only be set in environment or src-env.conf(5),\ | ||||
not as a global (in make.conf(5) or src.conf(5)) or command-line variable. | not as a global (in make.conf(5) or src.conf(5)) or command-line variable. | ||||
.endif | .endif | ||||
# We often need to use the tree's version of make to build it. | # We often need to use the tree's version of make to build it. | ||||
# Choices add to complexity though. | # Choices add to complexity though. | ||||
# We cannot blindly use a make which may not be the one we want | # We cannot blindly use a make which may not be the one we want | ||||
# so be explicit - until all choice is removed. | # so be explicit - until all choice is removed. | ||||
▲ Show 20 Lines • Show All 560 Lines • Show Last 20 Lines |