Changeset View
Changeset View
Standalone View
Standalone View
Makefile.inc1
Show First 20 Lines • Show All 1,705 Lines • ▼ Show 20 Lines | .endif | ||||
@echo "--------------------------------------------------------------" | @echo "--------------------------------------------------------------" | ||||
.endfor | .endfor | ||||
@seconds=$$(($$(date '+%s') - ${_BUILDKERNEL_START})); \ | @seconds=$$(($$(date '+%s') - ${_BUILDKERNEL_START})); \ | ||||
echo -n ">>> Kernel(s) ${BUILDKERNELS} built in $$seconds seconds, "; \ | echo -n ">>> Kernel(s) ${BUILDKERNELS} built in $$seconds seconds, "; \ | ||||
echo "ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}" | echo "ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}" | ||||
@echo "--------------------------------------------------------------" | @echo "--------------------------------------------------------------" | ||||
.if !make(packages) && !make(update-packages) | |||||
NO_INSTALLEXTRAKERNELS?= yes | NO_INSTALLEXTRAKERNELS?= yes | ||||
.else | |||||
# packages/update-packages installs kernels to a staging directory then builds | |||||
# packages from the result to be installed, typically to other systems. It is | |||||
# less surprising for these targets to honor KERNCONF if multiple kernels are | |||||
# specified. | |||||
NO_INSTALLEXTRAKERNELS?= no | |||||
.endif | |||||
# | # | ||||
# installkernel, etc. | # installkernel, etc. | ||||
# | # | ||||
# Install the kernel defined by INSTALLKERNEL | # Install the kernel defined by INSTALLKERNEL | ||||
# | # | ||||
installkernel installkernel.debug \ | installkernel installkernel.debug \ | ||||
reinstallkernel reinstallkernel.debug: _installcheck_kernel .PHONY | reinstallkernel reinstallkernel.debug: _installcheck_kernel .PHONY | ||||
▲ Show 20 Lines • Show All 144 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.if !defined(PKG_VERSION_FROM) | .if !defined(PKG_VERSION_FROM) | ||||
.if defined(PKG_ABI) | .if defined(PKG_ABI) | ||||
PKG_VERSION_FROM!=/usr/bin/readlink ${REPODIR}/${PKG_ABI}/latest | PKG_VERSION_FROM!=/usr/bin/readlink ${REPODIR}/${PKG_ABI}/latest | ||||
.endif | .endif | ||||
.endif | .endif | ||||
PKGMAKEARGS+= PKG_VERSION=${PKG_VERSION} \ | |||||
NO_INSTALLEXTRAKERNELS=${NO_INSTALLEXTRAKERNELS} | |||||
packages: .PHONY | packages: .PHONY | ||||
${_+_}${MAKE} -C ${.CURDIR} PKG_VERSION=${PKG_VERSION} real-packages | ${_+_}${MAKE} -C ${.CURDIR} ${PKGMAKEARGS} real-packages | ||||
update-packages: .PHONY | update-packages: .PHONY | ||||
${_+_}${MAKE} -C ${.CURDIR} PKG_VERSION=${PKG_VERSION} real-update-packages | ${_+_}${MAKE} -C ${.CURDIR} ${PKGMAKEARGS} real-update-packages | ||||
package-pkg: .PHONY | package-pkg: .PHONY | ||||
rm -rf /tmp/ports.${TARGET} || : | rm -rf /tmp/ports.${TARGET} || : | ||||
env ${WMAKEENV:Q} SRCDIR=${.CURDIR} PORTSDIR=${PORTSDIR} REVISION=${_REVISION} \ | env ${WMAKEENV:Q} SRCDIR=${.CURDIR} PORTSDIR=${PORTSDIR} REVISION=${_REVISION} \ | ||||
PKG_CMD=${PKG_CMD} PKG_VERSION=${PKG_VERSION} REPODIR=${REPODIR} \ | PKG_CMD=${PKG_CMD} PKG_VERSION=${PKG_VERSION} REPODIR=${REPODIR} \ | ||||
WSTAGEDIR=${WSTAGEDIR} \ | WSTAGEDIR=${WSTAGEDIR} \ | ||||
sh ${.CURDIR}/release/scripts/make-pkg-package.sh | sh ${.CURDIR}/release/scripts/make-pkg-package.sh | ||||
▲ Show 20 Lines • Show All 1,624 Lines • Show Last 20 Lines |