Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 18:45:21 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bz@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, brde@optusnet.com.au
Subject:   Re: kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound]
Message-ID:  <20090610184521.56b24c2f.ariff@FreeBSD.org>
In-Reply-To: <20090610102419.Q22887@maildrop.int.zabbadoz.net>
References:  <200906090903.n5993D3E062579@svn.freebsd.org> <20090609090541.D22887@maildrop.int.zabbadoz.net> <20090610175011.E20224@delplex.bde.org> <20090610101009.N22887@maildrop.int.zabbadoz.net> <20090610102419.Q22887@maildrop.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Wed__10_Jun_2009_18_45_21_+0800_kMsZ2mBORA57zPOZ
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, 10 Jun 2009 10:24:46 +0000 (UTC)
"Bjoern A. Zeeb" <bz@FreeBSD.org> wrote:
> On Wed, 10 Jun 2009, Bjoern A. Zeeb wrote:
>=20
> > On Wed, 10 Jun 2009, Bruce Evans wrote:
> >
> >> On Tue, 9 Jun 2009, Bjoern A. Zeeb wrote:
> >>=20
> >>> On Tue, 9 Jun 2009, Bjoern A. Zeeb wrote:
> >>>> 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. >>=20
> >>> Anyone with lots of build framework know how may want to look at
> >this. >=20
> >> Failures only for parallel builds normally mean missing
> >dependencies. >=20
> >>>> -feeder_eq_gen.h:
> >>>> +feeder_eq_gen.h:	@ machine
> >>>> 	${AWK} -f @/tools/feeder_eq_mkfilter.awk --
> >${FEEDER_EQ_PRESETS} >  >>> ${.TARGET}
> >>=20
> >> Here there is still a missing dependency on the
> >> @/tools/feeder_eq_mkfilter.awk (fixed in the next commit).  This
> >dependency > is not very important, but since the utility has "@"
> >in its pathname, > running it certainly depends on "@".
> >
> > And adding it again messes with @ not being there for parallel
> > builds:(
> >
> > Or in other words:
> >
> > =3D=3D=3D> sound (depend)
> > =3D=3D=3D> sound/sound (depend)
> > make: don't know how to make @/tools/sound/feeder_eq_mkfilter.awk.
> > Stop *** Error code 2
> > 1 error
> > *** Error code 2
> > 1 error
> > *** Error code 2
>=20
> I forgot to mention that the way we currently seem to handle this
> is:
>=20
> http://people.freebsd.org/~bz/20090610-02-sound-Makefile.diff
>=20

More or less like:

http://people.freebsd.org/~ariff/sound_Makefile.diff

Please test it.



--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........

... Going with the standard and orthodox
    is the death of intellect ..............

--Signature=_Wed__10_Jun_2009_18_45_21_+0800_kMsZ2mBORA57zPOZ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkovjsEACgkQlr+deMUwTNrP9wCeJgLDjhYodniPbtUpGJtW6mbN
sxEAoLIZe2MjLj65WGqlcWKUuGxZRXwm
=aWT/
-----END PGP SIGNATURE-----

--Signature=_Wed__10_Jun_2009_18_45_21_+0800_kMsZ2mBORA57zPOZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090610184521.56b24c2f.ariff>