kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound]

Bjoern A. Zeeb bz at FreeBSD.org
Tue Jun 9 09:10:07 UTC 2009


On Tue, 9 Jun 2009, Bjoern A. Zeeb wrote:

> Author: bz
> Date: Tue Jun  9 09:03:13 2009
> New Revision: 193818
> URL: http://svn.freebsd.org/changeset/base/193818
>
> Log:
>  Depend on @ machine (_ILINKS) as we do with other modules so that @
>  is there for parallel (-jN) builds.  Ideally beforedepends in kmod.mk
>  should do the right thing but it seems it does not.


Anyone with lots of build framework know how may want to look at this.

/bz


PS: In case you do I'd have another request to be able to have an
option similar to COPTFLAGS that will actually be passed down to
module builds - at least for make buildkernel/universe/..



> Modified:
>  head/sys/modules/sound/sound/Makefile
>
> Modified: head/sys/modules/sound/sound/Makefile
> ==============================================================================
> --- head/sys/modules/sound/sound/Makefile	Tue Jun  9 09:02:58 2009	(r193817)
> +++ head/sys/modules/sound/sound/Makefile	Tue Jun  9 09:03:13 2009	(r193818)
> @@ -19,13 +19,13 @@ SRCS+=	ac97.c ac97_patch.c buffer.c chan
> SRCS+=	mixer.c sndstat.c sound.c unit.c vchan.c
> SRCS+=	midi.c mpu401.c sequencer.c
>
> -feeder_eq_gen.h:
> +feeder_eq_gen.h:	@ machine
> 	${AWK} -f @/tools/feeder_eq_mkfilter.awk -- ${FEEDER_EQ_PRESETS} > ${.TARGET}
>
> -feeder_rate_gen.h:
> +feeder_rate_gen.h:	@ machine
> 	${AWK} -f @/tools/feeder_rate_mkfilter.awk -- ${FEEDER_RATE_PRESETS} > ${.TARGET}
>
> -snd_fxdiv_gen.h:
> +snd_fxdiv_gen.h:	@ machine
> 	${AWK} -f @/tools/snd_fxdiv_gen.awk -- > ${.TARGET}
>
> CLEANFILES+=	feeder_eq_gen.h feeder_rate_gen.h snd_fxdiv_gen.h
>

-- 
Bjoern A. Zeeb                      The greatest risk is not taking one.


More information about the svn-src-all mailing list