diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 06b95e51b7c3..66299ea82389 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -222,6 +222,7 @@ _ILINKS+=${MACHINE_CPUARCH} .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" _ILINKS+=x86 .endif +CLEANFILES+=${_ILINKS} all: objwarn ${PROG}