[okl4-developer] build system usage

Joshua Root jmr at cse.unsw.edu.au
Thu Oct 23 21:24:34 EST 2008


Oliver Mayer-Buschmann wrote:
> Can somebody give me a clue, how I can accomplish a second link-run
> for the additional set of applications:
> I do not need to create a second weaver.xml, nor a merged image, no
> bootinfo, etc.
> I just want to use the build system, to create me these elf files.
> Can I create a second KengeEnvironment for doing this?
> Some basic information of how a build is structured would help, too.

I think you can use the same KengeEnvironment. If you don't want an app
to be put in the boot image, just don't add it to the 'apps' list (which
is passed to GenWeaverXML() and CreateImages()). Then, to get the
non-boot-image apps to build despite not being needed for the boot
image, you add a call like: Default(my_app, other_app)

ELF files end up in build/environment_name/bin/.

- Josh



More information about the Developer mailing list