On 20 December 2017 at 09:08, Mircea Gliga <[email protected]> wrote:
> Hello
>
> I have a build.sh script used to build outside yocto, after sourcing the
> build environment.
> I want to use the same build.sh script inside the recipe, in the
> do_compile task, something like:
>
> do_compile () {
>
> ./build.sh ${MACHINE}
> }
>
> The build.sh script eventually calls make for several targets, release
> debug etc...
> The idea with this script is to be used both inside yocto and outside
> (after sourcing
> build/tmp/environment-setup-cortexa5hf-neon-poky-linux-gnueabi), by
> reusing the code.
>
> What is the proper way to use a custom shell script to build things ?
> How to pass info from oe_runmake/EXTRA_OEMAKE ?
>
This depends on how build.sh expects to be given extra make arguments.
Ross
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto