Yocto Recipe / Some runtime variables


Recipe
.bb or .bbappend file
- Recipes describe how to handle a given package
- A recipe is a set of instructions to describe how to retrieve, patch, compile, install and generate binary packages for a given application.
- It also defines what build or runtime dependencies are required.
- The recipes are parsed by the BitBake build engine.
- The format of a recipe file name is <package-name>_<version>.bb
 
Some runtime variables
WORKDIR : The package location that was created after bitbake built the package.
$ bitbake -e vehicle | grep ^WORKDIR=
WORKDIR="/home/yocto/poky/build/tmp/work/arm-linux-gnueabi/vehicle/0.1-r0"

PN : package name(Extract from recipe file name)
PR : package revision
PV : package version

S : The location where bitbake unpacks the package.(where the source is located)
$ bitbake -e hello | grep ^S=
S="/home/yocto/poky/build/tmp/work/arm-linux-gnueabi/vehicle/0.1-r0"

D : Directory to import output files (destination directory)
$ bitbake -e hello | grep ^D=
D="/home/yocto/poky/build/tmp/work/arm-linux-gnueabi/vehicle/0.1-r0/image"

A command to be used after "D" path.
Bindir : /usr/bin
sbindir : /usr/sbin
libdir : /usr/lib
libexecdir : /usr/lib
sysconfdir : /etc
datadir : /usr/share
mandir : /usr/share/man
includedir : /usr/include

#Recipe #Runtime Variables #Yocto #Bitbake #Linux #Build system

No comments:

Post a Comment

알뜰폰 삼성페이 교통카드 '한도 초과' 오류(등록 불가 오류) 해결방법

sk7mobile 알뜰폰 삼성페이 교통카드 등록 시, 한도 초과 문제 해결방법 skt usim 해킹 사건으로 인해 sk7mobile 알뜰폰을 사용하는 저도 usim을 바꾸고 나니 삼성페이 교통카드가 등록이 안되더라구요...  삼성페이 교통카드 기능 은...