From 7d1183458919c79e7f57807dc3b7bba0fd341dc1 Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 11 Jul 2002 14:13:37 +0000 Subject: [PATCH] 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. --- sys/conf/kmod.mk | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index f18110afa67..4fc31ef8d71 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -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 -- 2.45.2