On Sat, May 21, 2011 at 6:05 AM, Michael Olbrich <[email protected]>wrote:
> On Sat, May 21, 2011 at 01:27:13AM -0400, Jon Ringle wrote: > > By using lndir, the .ko files are kept separate from the src directory > > and building multiple architectures can be supported > > > > Signed-off-by: Jon Ringle <[email protected]> > > --- > > rules/templates/template-src-linux-driver-in | 1 + > > rules/templates/template-src-linux-driver-make | 39 > ++++++++++++++++-------- > > 2 files changed, 27 insertions(+), 13 deletions(-) > > > > diff --git a/rules/templates/template-src-linux-driver-in > b/rules/templates/template-src-linux-driver-in > > index 7cb61c8..6edb6bc 100644 > > --- a/rules/templates/template-src-linux-driver-in > > +++ b/rules/templates/template-src-linux-driver-in > > @@ -3,6 +3,7 @@ > > config @PACKAGE@ > > tristate > > select KERNEL > > + select HOST_LNDIR > > This is not sufficient. The dependency is created for prepare not extract. > I think dgen must generate something like this: > > ifneq ($(findstring lndir://,$(<PKG>_URL)),) > $(STATEDIR)/<pkg>.extract: $(STATEDIR)/<lndir>.install > endif > > and lndir must default to 'y' and lndir.make must have: > LAZY_PACKAGES-$(PTXCONF_HOST_LNDIR) += lndir > > Or something like this. > > I'm guessing you meant host-lndir.make? I don't have lndir.{make,in} Is LAZY_PACKAGES- instead of or in addition to HOST_PACKAGES- ?
-- ptxdist mailing list [email protected]
