Do not override the standard `distribute' target that is currently
available from bsd.obj.mk. The native version was identical (and pretty much unused except in the -DMODULES_WITH_WORLD case, which it is not for "make release") except that the "bin" -> "base" change of the default DISTRIBUTION name did not propagate here.
This commit is contained in:
parent
11f0b352e0
commit
6dc6a04be5
@ -9,8 +9,6 @@
|
||||
#
|
||||
# CLEANFILES Additional files to remove for the clean and cleandir targets.
|
||||
#
|
||||
# DISTRIBUTION Name of distribution. [bin]
|
||||
#
|
||||
# KMOD The name of the kernel module to build.
|
||||
#
|
||||
# KMODDIR Base path for kernel modules (see kld(4)). [/boot/kernel]
|
||||
@ -268,14 +266,6 @@ afterinstall: realinstall
|
||||
realinstall: beforeinstall
|
||||
.endif
|
||||
|
||||
DISTRIBUTION?= bin
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR} ; $(MAKE) install DESTDIR=${DISTDIR}/${dist} SHARED=copies
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !target(load)
|
||||
load: ${PROG}
|
||||
${KMODLOAD} -v ${.OBJDIR}/${KMOD}.ko
|
||||
|
Loading…
Reference in New Issue
Block a user