Date: Wed, 27 Jan 2016 11:19:47 -0800 From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r294915 - head/sys/conf Message-ID: <56A91853.30103@FreeBSD.org> In-Reply-To: <201601271446.u0REkUOi081035@repo.freebsd.org> References: <201601271446.u0REkUOi081035@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PLX2CKJtVGdeHtcbJ3XXXkWLgeBOQATKL Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 1/27/2016 6:46 AM, Hans Petter Selasky wrote: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/conf/kern.post.mk Wed Jan 27 14:16:13 2016 (r294914) > +++ head/sys/conf/kern.post.mk Wed Jan 27 14:46:30 2016 (r294915) > @@ -186,12 +186,23 @@ genassym.o: $S/$M/$M/genassym.c > =20 > ${SYSTEM_OBJS} genassym.o vers.o: opt_global.h > =20 > +# Normal files first > +CFILES_NORMAL=3D ${CFILES:N*/cddl/*:N*fs/nfsclient/nfs_clkdtrace*:N*/c= ompat/linuxkpi/common/*:N*/ofed/*:N*/dev/mlx5/*} > +SFILES_NORMAL=3D ${SFILES:N*/cddl/*} > + > # We have "special" -I include paths for zfs/dtrace files in 'depend'.= > -CFILES_NOCDDL=3D ${CFILES:N*/cddl/*:N*fs/nfsclient/nfs_clkdtrace*} > -SFILES_NOCDDL=3D ${SFILES:N*/cddl/*} > CFILES_CDDL=3D ${CFILES:M*/cddl/*} > SFILES_CDDL=3D ${SFILES:M*/cddl/*} > =20 > +# We have "special" -I include paths for LinuxKPI. > +CFILES_LINUXKPI=3D${CFILES:M*/compat/linuxkpi/common/*} > + > +# We have "special" -I include paths for OFED. > +CFILES_OFED=3D${CFILES:M*/ofed/*} > + > +# We have "special" -I include paths for MLX5. > +CFILES_MLX5=3D${CFILES:M*/dev/mlx5/*} > + > kernel-depend: .depend > # The argument list can be very long, so use make -V and xargs to > # pass it to mkdep. > @@ -220,12 +231,20 @@ DEPENDFILES_OBJS=3D ${DEPENDOBJS:O:u:C/^/. > .depend: .PRECIOUS ${SRCS} > .if ${MK_FAST_DEPEND} =3D=3D "no" > rm -f ${.TARGET}.tmp > - ${MAKE} -V CFILES_NOCDDL -V SYSTEM_CFILES -V GEN_CFILES | \ > +# C files > + ${MAKE} -V CFILES_NORMAL -V SYSTEM_CFILES -V GEN_CFILES | \ > CC=3D"${_MKDEPCC}" xargs mkdep -a -f ${.TARGET}.tmp ${CFLAGS} > ${MAKE} -V CFILES_CDDL | \ > CC=3D"${_MKDEPCC}" xargs mkdep -a -f ${.TARGET}.tmp ${ZFS_CFLAGS}= \ > ${FBT_CFLAGS} ${DTRACE_CFLAGS} > - ${MAKE} -V SFILES_NOCDDL | \ > + ${MAKE} -V CFILES_LINUXKPI | \ > + CC=3D"${_MKDEPCC}" xargs mkdep -a -f ${.TARGET}.tmp \ > + ${CFLAGS} ${LINUXKPI_INCLUDES} > + ${MAKE} -V CFILES_OFED -V CFILES_MLX5 | \ > + CC=3D"${_MKDEPCC}" xargs mkdep -a -f ${.TARGET}.tmp \ > + ${CFLAGS} ${OFEDINCLUDES} > +# Assembly files > + ${MAKE} -V SFILES_NORMAL | \ > CC=3D"${_MKDEPCC}" xargs mkdep -a -f ${.TARGET}.tmp ${ASM_CFLAGS}= > ${MAKE} -V SFILES_CDDL | \ > CC=3D"${_MKDEPCC}" xargs mkdep -a -f ${.TARGET}.tmp ${ZFS_ASM_CFL= AGS} >=20 I plan to nuke this code quite soon in favor of FAST_DEPEND. None of this or related hacks will be needed anymore. --=20 Regards, Bryan Drewery --PLX2CKJtVGdeHtcbJ3XXXkWLgeBOQATKL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWqRhTAAoJEDXXcbtuRpfPwbAIAKVqIlZdHb/CzFsvIINKl7AM q/lzXlEMKeMU0B2eQQOI9GaJGEBsBi2Var+poQszkCGX/fHchNgs4opW8Xg3rc/o xnQ6AlVlJavCpIfMDDL+bHkfAjL5mSY0G6NdbkzlIDhuQoWXnD5bCzYIHaAAC3C7 ubWwlESs+ldrkvxV/SGrJehBY0wCNvsBwC62ZaCMH3nNnM8blFi4nZ8f9z0KP/Wv e+E5h2gR+uXGW0neHm/AmgUalwzO2VuCLHLBQaFwza/oW0oLstp2wXv47dt40e7M lFsvkGDAxUFXIUZv7H4IMTfgsgQgJRfrdOyOzCpyqcyELlYcRmCLyt3NIc9g68w= =3kJ4 -----END PGP SIGNATURE----- --PLX2CKJtVGdeHtcbJ3XXXkWLgeBOQATKL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56A91853.30103>