Re: Build system

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
On Thu Aug 14, 2014 at 12:16:41 -0400, teclis High Elf wrote:
> So I should do:

Please tell we what you actually want to do as I cannot read it out of
the command.
 
> make S=bootstrap E=hello
> 
> so make S=bootstrap jus does a
> cd pkg/bootstrap
> make

Yes. The feature actually is that you can quickly redo some packages
where you exactly know that you only need to remake those (i.e. without
dependency checking), in pkg: make S=pkg1:pkg2:pkg3

> in which file is the S= actually processed? Where is the statement
> VARIABLE := $(S) ?

S processing is done in pkg/Makefile

> I found ones for B= and E=
> 
> 
> On Wed, Aug 13, 2014 at 6:18 PM, Adam Lackorzynski <
> [email protected]> wrote:
> 
> > On Wed Aug 13, 2014 at 18:09:15 -0400, teclis High Elf wrote:
> > > If I execute this command from the l4 build directory:
> > >
> > > make E=hello S=bootstrap
> > >
> > > In which Makefile or script is the S= processed (its a bit of a difficult
> > > thing to grep for :)
> >
> > S processing is done in pkg/Makefile, i.e. S=.. can be used from
> > pkg-dir.
> > Besides that, your call is mixing up things.
> > make S=bootstrap is like going to pkg/bootstrap and doing make there.
> > make E=... needs some target (such as 'qemu') and is run from the build
> > directory root.
> >


Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.