Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2015 09:13:06 -0800
From:      Sean Bruno <sbruno@freebsd.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   sys/modules "make clean" seems broken again
Message-ID:  <564E0322.8050308@freebsd.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I thought I fixed this a year or two ago, but now a "make clean" in
sys/modules seems to leave bus_if.h device_if.h and pci_if.h in the
directory.

Should I just add these to the clean targets?


Index: kmod.mk
===================================================================
- --- kmod.mk	(revision 290770)
+++ kmod.mk	(working copy)
@@ -425,6 +425,10 @@
 	    ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c
 .endif

+.if !empty(SRCS:M${_i}pci_if.h)
+CLEANFILES+=	${_i}pci_if.h ${_i}device_if.h ${_i}bus_if.h
+.endif
+
 lint: ${SRCS}
 	${LINT} ${LINTKERNFLAGS} ${CFLAGS:M-[DILU]*} ${.ALLSRC:M*.c}


sean

bcc -- imp@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJWTgMbXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5ketYIAKTynLglAjsGrfuES7ibF40p
n9hcbKGTDX9w3EUDNtL2Eho8WdZnuJ1gP4EtkHIQegeFPl156nt26jg6THYSFFiO
oFFxAwR7f7S/S6+AjP7CMvdISxKPgmx0h8TEMIG0jatYPtH529WAM5plvD/GBJ1d
pWBiqkTYnzmzaKz5cUXthHL2cEcerw4imakLj7lKGWw+W5kpQNbzrcqhCdYxCz3v
s19ccxQtBrLE3aufvIGErjS28qa38AIYAd52EdTlObDK61f9H0S+O85DexAyMcEE
e1dURWI/X/s13PQvZ7Cq/6nKVjqCUKUFe3sU/qvMCTm3jgS/7Gip5oK/BVix2R4=
=k8Iw
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564E0322.8050308>