Lines Matching refs:kernel
47 # doxygen - build API documentation of the kernel
336 .if (make(buildworld) || make(buildkernel) || make(kernel-toolchain) || \
656 TAGS+= kernel
657 PACKAGE= kernel
764 # kernel-tools stage
774 OBJTOP='${WORLDTMP}/obj-kernel-tools' \
965 # kernel stage
1100 ${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
1218 .if make(kernel-toolchain)
1221 kernel-toolchain: ${KERNEL_TOOLCHAIN_TGTS} .PHONY
1235 @echo ">>> Install check kernel"
1288 # supported by the currently running kernel), abort the installation.
1575 # KERNCONF. If not defined a GENERIC kernel is built/installed.
1581 # we're in kernel-land. Since only TARGET_ARCH is (expected) to
1603 INSTKERNNAME?= kernel
1645 # record kernel(s) build time in seconds
1657 @echo "ERROR: Missing kernel configuration file(s) (${KERNCONF})."; \
1670 @echo ">>> stage 1: configuring the kernel"
1698 ${_+_}cd ${.CURDIR}; ${KTMAKE} kernel-tools
1727 # Install the kernel defined by INSTALLKERNEL
1733 @echo "ERROR: No kernel \"${KERNCONF}\" to install."; \
1737 @echo ">>> Installing kernel ${INSTALLKERNEL} on $$(LC_ALL=C date)"
1741 ${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//}
1743 @echo ">>> Installing kernel ${INSTALLKERNEL} completed on $$(LC_ALL=C date)"
1749 @echo ">>> Installing kernel ${_kernel} $$(LC_ALL=C date)"
1753 ${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME}.${_kernel} ${.TARGET:S/kernel//}
1755 @echo ">>> Installing kernel ${_kernel} completed on $$(LC_ALL=C date)"
1763 @echo "ERROR: No kernel \"${KERNCONF}\" to install."; \
1768 @echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.premeta
1771 ${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.premeta/} \
1773 DESTDIR=${INSTALL_DDIR}/kernel \
1776 @sed -e 's|^./kernel|.|' ${DESTDIR}/${DISTDIR}/kernel.premeta > \
1777 ${DESTDIR}/${DISTDIR}/kernel.meta
1783 @echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta
1786 ${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.${_kernel}.premeta/} \
1789 DESTDIR=${INSTALL_DDIR}/kernel.${_kernel} \
1792 @sed -e "s|^./kernel.${_kernel}|.|" \
1793 ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta > \
1794 ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.meta
1802 cd ${DESTDIR}/${DISTDIR}/kernel; \
1804 @${DESTDIR}/${DISTDIR}/kernel.meta | \
1805 ${XZ_CMD} > ${PACKAGEDIR}/kernel.txz
1808 cd ${DESTDIR}/${DISTDIR}/kernel; \
1810 @${DESTDIR}/${DISTDIR}/kernel.meta | \
1811 ${XZ_CMD} > ${DESTDIR}/${DISTDIR}/kernel-dbg.txz
1815 cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \
1817 @${DESTDIR}/${DISTDIR}/kernel.${_kernel}.meta | \
1818 ${XZ_CMD} > ${PACKAGEDIR}/kernel.${_kernel}.txz
1820 cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \
1822 @${DESTDIR}/${DISTDIR}/kernel.${_kernel}.meta | \
1823 ${XZ_CMD} > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}-dbg.txz
1829 cd ${DESTDIR}/${DISTDIR}/kernel; \
1831 ${XZ_CMD} > ${PACKAGEDIR}/kernel.txz
1834 cd ${DESTDIR}/${DISTDIR}/kernel; \
1836 ${XZ_CMD} > ${DESTDIR}/${DISTDIR}/kernel-dbg.txz
1840 cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \
1842 ${XZ_CMD} > ${PACKAGEDIR}/kernel.${_kernel}.txz
1844 cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \
1846 ${XZ_CMD} > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}-dbg.txz
1865 .ORDER: create-packages create-kernel-packages
1873 .if make(create-world-packages-jobs) || make(create-kernel-packages*) || make(real-update-packages)
1938 stage-packages-kernel: .PHONY
1943 stage-packages: .PHONY stage-packages-world stage-packages-kernel
1954 create-packages-kernel: _pkgbootstrap _repodir .PHONY
1958 PKG_VERSION=${PKG_VERSION} DISTDIR=kernel \
1960 create-kernel-packages
1962 create-packages: .PHONY create-packages-world create-packages-kernel
2004 .if make(*package*) && exists(${KSTAGEDIR}/kernel.meta)
2008 create-kernel-packages: .PHONY
2010 create-kernel-packages: create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}
2011 create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}: _pkgbootstrap .PHONY
2013 env -i LC_COLLATE=C sort ${KSTAGEDIR}/kernel.meta | \
2015 -v kernel=yes -v _kernconf=${INSTALLKERNEL} ; \
2017 -e "s/%PKGNAME%/kernel-${INSTALLKERNEL:tl}${flavor}/" \
2018 -e "s/%KERNELDIR%/kernel/" \
2019 -e "s/%COMMENT%/FreeBSD ${INSTALLKERNEL} kernel ${flavor}/" \
2020 -e "s/%DESC%/FreeBSD ${INSTALLKERNEL} kernel ${flavor}/" \
2025 ${SRCDIR}/release/packages/kernel.ucl \
2026 > ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.ucl ; \
2030 ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.ucl ; \
2033 -M ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.ucl \
2034 -p ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.plist \
2041 . if exists(${KSTAGEDIR}/kernel.${_kernel}.meta)
2046 create-kernel-packages: create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}-${_kernel}
2047 create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}-${_kernel}: _pkgbootstrap .PHONY
2048 @cd ${KSTAGEDIR}/kernel.${_kernel} ; \
2049 env -i LC_COLLATE=C sort ${KSTAGEDIR}/kernel.${_kernel}.meta | \
2051 -v kernel=yes -v _kernconf=${_kernel} ; \
2053 -e "s/%PKGNAME%/kernel-${_kernel:tl}${flavor}/" \
2054 -e "s/%KERNELDIR%/kernel.${_kernel}/" \
2055 -e "s/%COMMENT%/FreeBSD ${_kernel} kernel ${flavor}/" \
2056 -e "s/%DESC%/FreeBSD ${_kernel} kernel ${flavor}/" \
2061 ${SRCDIR}/release/packages/kernel.ucl \
2062 > ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl ; \
2066 ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl ; \
2069 -M ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl \
2070 -p ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.plist \
2071 -r ${KSTAGEDIR}/kernel.${_kernel} \
2111 echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \
2544 # kernel-toolchain skips _cleanobj, so handle cleaning up previous
2546 .if ${MK_CLEAN} == "yes" && make(kernel-toolchain)
2573 # kernel-tools: Build kernel-building tools
2575 kernel-tools: .PHONY
2656 # via poudriere and the imgact_binmisc kernel module.
2809 ${_+_}cd ${.CURDIR}; ${NXBTMAKE} kernel-toolchain