I have a build question about bitbake as below:
(1) I install bitbake in my default folder : /home/xiang/bitbake
, and set'BBPATH
' to /home/xiang/bitbake
(2) Created two files for compiling:
/home/xiang/bbtest/hello.c
/home/xiang/bbtest/hello.bb
For hello.c
#include "stdio.h"
int main()
{
printf("hello world.\n");
}
For hello.bb
XFILES=/home/xiang/bbtest/hello.c
do_mybuild() {
${CC} ${CFLAGS} $(LDFLAGS} $(XFILES} -o helloworld
}
How to fix this issue? And how to add more independent tasks in different bb files and control them?