summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2013-11-07 22:50:42 +0000
committerIan Lepore <ian@FreeBSD.org>2013-11-07 22:50:42 +0000
commited39dd91b1b2e3edcea7b4dfc388bc0063ee1900 (patch)
treeb298da426932773180c38b0e73e8860df02392a6
parentbb28b8697d507891dcfcf69df4038331720f71f1 (diff)
downloadsrc-test2-ed39dd91b1b2e3edcea7b4dfc388bc0063ee1900.tar.gz
src-test2-ed39dd91b1b2e3edcea7b4dfc388bc0063ee1900.zip
Notes
-rw-r--r--Makefile.inc118
1 files changed, 4 insertions, 14 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index f3efeefcef4d..15b16ebc392e 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -439,16 +439,6 @@ IMAKE_MTREE= MTREE_CMD="nmtree ${MTREEFLAGS}"
KMAKEENV= ${WMAKEENV}
KMAKE= ${KMAKEENV} ${MAKE} ${.MAKEFLAGS} ${KERNEL_FLAGS} KERNEL=${INSTKERNNAME}
-# kernel build-tools stage
-KTMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \
- ${WMAKEENV} ${MAKE} -f Makefile.inc1 \
- TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
- DESTDIR= \
- BOOTSTRAPPING=${OSRELDATE} \
- SSP_CFLAGS= \
- -DNO_LINT \
- -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF -DEARLY_BUILD
-
#
# buildworld
#
@@ -1029,7 +1019,7 @@ buildkernel:
@echo "--------------------------------------------------------------"
@echo ">>> stage 2.3: build tools"
@echo "--------------------------------------------------------------"
- ${_+_}cd ${.CURDIR}; ${KTMAKE} kernel-tools
+ ${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
.if !defined(NO_KERNELDEPEND)
@echo
@echo "--------------------------------------------------------------"
@@ -1360,9 +1350,9 @@ build-tools: .MAKE
# kernel-tools: Build kernel-building tools
#
kernel-tools: .MAKE
- mkdir -p ${WORLDTMP}/usr
+ mkdir -p ${MAKEOBJDIRPREFIX}/usr
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \
- -p ${WORLDTMP}/usr >/dev/null
+ -p ${MAKEOBJDIRPREFIX}/usr >/dev/null
.for _tool in \
sys/dev/aic7xxx/aicasm
${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
@@ -1370,7 +1360,7 @@ kernel-tools: .MAKE
${MAKE} DIRPRFX=${_tool}/ obj && \
${MAKE} DIRPRFX=${_tool}/ depend && \
${MAKE} DIRPRFX=${_tool}/ all && \
- ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${WORLDTMP} install
+ ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX} install
.endfor
#