Date: Tue, 9 Jun 2009 09:07:38 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound] Message-ID: <20090609090541.D22887@maildrop.int.zabbadoz.net> In-Reply-To: <200906090903.n5993D3E062579@svn.freebsd.org> References: <200906090903.n5993D3E062579@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090609090541.D22887>