mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Makefile.inc1: Remove unused non-NO_ROOT support
As of commit 41adc5f29b ("release: Always use NO_ROOT for distribute*
and package*") this packagekernel code path is never used, so remove it.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50361
This commit is contained in:
parent
da2dbdc297
commit
26064d3e74
1 changed files with 0 additions and 25 deletions
|
|
@ -1938,7 +1938,6 @@ distributekernel distributekernel.debug: .PHONY
|
|||
.endif
|
||||
|
||||
packagekernel: .PHONY
|
||||
.if defined(NO_ROOT)
|
||||
.if !defined(NO_INSTALLKERNEL)
|
||||
cd ${DESTDIR}/${DISTDIR}/kernel; \
|
||||
${TAR_CMD} cvf - --exclude '*.debug' \
|
||||
|
|
@ -1965,30 +1964,6 @@ packagekernel: .PHONY
|
|||
.endif
|
||||
.endfor
|
||||
.endif
|
||||
.else
|
||||
.if !defined(NO_INSTALLKERNEL)
|
||||
cd ${DESTDIR}/${DISTDIR}/kernel; \
|
||||
${TAR_CMD} cvf - --exclude '*.debug' . | \
|
||||
${XZ_CMD} > ${PACKAGEDIR}/kernel.txz
|
||||
.endif
|
||||
.if ${MK_DEBUG_FILES} != "no"
|
||||
cd ${DESTDIR}/${DISTDIR}/kernel; \
|
||||
${TAR_CMD} cvf - --include '*/*/*.debug' $$(eval find .) | \
|
||||
${XZ_CMD} > ${DESTDIR}/${DISTDIR}/kernel-dbg.txz
|
||||
.endif
|
||||
.if ${BUILDKERNELS:[#]} > 1 && ${NO_INSTALLEXTRAKERNELS} != "yes"
|
||||
.for _kernel in ${BUILDKERNELS:[2..-1]}
|
||||
cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \
|
||||
${TAR_CMD} cvf - --exclude '*.debug' . | \
|
||||
${XZ_CMD} > ${PACKAGEDIR}/kernel.${_kernel}.txz
|
||||
.if ${MK_DEBUG_FILES} != "no"
|
||||
cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \
|
||||
${TAR_CMD} cvf - --include '*/*/*.debug' $$(eval find .) | \
|
||||
${XZ_CMD} > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}-dbg.txz
|
||||
.endif
|
||||
.endfor
|
||||
.endif
|
||||
.endif
|
||||
|
||||
stagekernel: .PHONY
|
||||
${_+_}${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} DISTDIR=. distributekernel
|
||||
|
|
|
|||
Loading…
Reference in a new issue