[yocto] [PATCH 4/5] yocto-layer: add 'layer' template data

Darren Hart dvhart at linux.intel.com
Wed Dec 19 16:40:22 PST 2012



On 12/17/2012 09:51 AM, tom.zanussi at intel.com wrote:
> From: Tom Zanussi <tom.zanussi at intel.com>
> 
> Add a 'layer' target containing all the data that will be used to
> generate a generic yocto layer.
> 
> Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
> ---

Great stuff Tom, only one nit below:

> new file mode 100644
> index 0000000..90ce90e
> --- /dev/null
> +++ "b/scripts/lib/bsp/substrate/target/arch/layer/{{ if create_example_recipe == \"y\": }} recipes-example/example/{{=example_recipe_name}}-0.1/helloworld.c"	
> @@ -0,0 +1,6 @@
> +#include <stdio.h>
> +
> +int main(int argc, char **argv)
> +{
> +    printf("Hello World!\n");

If you specify a return type of int, you should be returning one:

	return 0;

:-)

> +}


Looks good otherwise.


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel



More information about the yocto mailing list