On 12/17/2012 09:51 AM, [email protected] wrote:
> From: Tom Zanussi <[email protected]>
>
> Add a 'layer' target containing all the data that will be used to
> generate a generic yocto layer.
>
> Signed-off-by: Tom Zanussi <[email protected]>
> ---
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
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto