meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sw:yocto:bitbake:vars [2022/10/19 14:00] – niziak | sw:yocto:bitbake:vars [2026/03/05 19:45] (current) – niziak | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| * **B** (by default the same as **S**) - directory within build directory, where objects are generated. | * **B** (by default the same as **S**) - directory within build directory, where objects are generated. | ||
| * **D** - directory within build directory, where components are installed (destination directory) | * **D** - directory within build directory, where components are installed (destination directory) | ||
| + | |||
| + | < | ||
| + | Variable name Definition | ||
| + | ------------- | ||
| + | prefix | ||
| + | base_prefix (empty) | ||
| + | exec_prefix ${base_prefix} | ||
| + | base_bindir ${base_prefix}/ | ||
| + | base_sbindir ${base_prefix}/ | ||
| + | base_libdir ${base_prefix}/ | ||
| + | datadir | ||
| + | sysconfdir / | ||
| + | localstatedir / | ||
| + | infodir | ||
| + | mandir | ||
| + | docdir | ||
| + | servicedir / | ||
| + | bindir | ||
| + | sbindir | ||
| + | libexecdir ${exec_prefix}/ | ||
| + | libdir | ||
| + | includedir ${exec_prefix}/ | ||
| + | palmtopdir ${libdir}/ | ||
| + | palmqtdir ${palmtopdir} | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====== get current layer dir ====== | ||
| + | |||
| + | For '' | ||
| + | |||
| + | Trick is to define own new variable in '' | ||
| + | |||
| + | < | ||
| + | MY_DISTRO_LAYER_BASE = ' | ||
| + | </ | ||
| + | |||
| + | and use in recipe or distro.conf: | ||
| + | < | ||
| + | OVERLAYFS_ETC_INIT_TEMPLATE = " | ||
| + | </ | ||