Skip to contentSkip to conversation

how to use makefile in bitbake

DISCUSSION Liu 2 participants 2 messages Sep 18, 2012 – Sep 19, 2012

lore
Share & tools
lore

Liu

author
#0 lore raw

Hi all,
I have a project which is built by buildroot,so it uses a set of makefiles to build image.But I want to use bitbake instead of buildroot to build the project.Now I am faced with some difficulties :
1) How can I use the variables and rules in makefile ? I know bitbake can not parse files like makefile.

Is there any example like this problem? Can anyone give me some good ideas?

Best wishes,
---------------Liu

#1 lore raw
Quoted 7 lines · Liu

Hi all,
I have a project which is built by buildroot,so it uses a set of
makefiles to build image.But I want to use bitbake instead of buildroot to build the project.Now I am faced with some difficulties :
1) How can I use the variables and rules in makefile ? I know bitbake can not parse files like makefile.

bitbake drives the build using recipes which are set of rules similar to makefiles. I would suggest to read the bitbake reference manual and see the OE metadata especially the .bb files
on examples of recipes.

Quoted 11 lines

Is there any example like this problem? Can anyone give me some good ideas?

Best wishes,
---------------Liu

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto