Difference between revisions of "Directories and installation variables"

From KoanSoftware Wiki
Jump to: navigation, search
(Created page with "== Yocto Project Openembedded directories installation variables == The following table provides a list of the variables that are used to control the directories into which f...")
 
(Yocto Project Openembedded directories installation variables)
Line 4: Line 4:
 
These variables can be used directly by the recipe to refer to paths that will be used after the package is installed.
 
These variables can be used directly by the recipe to refer to paths that will be used after the package is installed.
  
Variable name Definition         Typical value
+
Variable name Definition         Typical value
prefix         /usr                    /usr
+
-------------  --------------------    --------------------
base_prefix (empty)                 (empty)
+
prefix         /usr                    /usr
exec_prefix ${base_prefix}         (empty)
+
base_prefix (empty)                 (empty)
base_bindir ${base_prefix}/bin /bin
+
exec_prefix ${base_prefix}         (empty)
base_sbindir ${base_prefix}/sbin /sbin
+
base_bindir ${base_prefix}/bin /bin
base_libdir ${base_prefix}/lib /lib
+
base_sbindir ${base_prefix}/sbin /sbin
datadir         ${prefix}/share         /usr/share
+
base_libdir ${base_prefix}/lib /lib
sysconfdir /etc                 /etc
+
datadir       ${prefix}/share         /usr/share
localstatedir /var                 /var
+
sysconfdir /etc                 /etc
infodir         ${datadir}/info         /usr/share/info
+
localstatedir /var                 /var
mandir         ${datadir}/man         /usr/share/man
+
infodir       ${datadir}/info         /usr/share/info
docdir         ${datadir}/doc         /usr/share/doc
+
mandir         ${datadir}/man         /usr/share/man
servicedir /srv                 /srv
+
docdir         ${datadir}/doc         /usr/share/doc
bindir         ${exec_prefix}/bin /usr/bin
+
servicedir /srv                 /srv
sbindir         ${exec_prefix}/sbin /usr/sbin
+
bindir         ${exec_prefix}/bin /usr/bin
libexecdir ${exec_prefix}/libexec /usr/libexec
+
sbindir       ${exec_prefix}/sbin /usr/sbin
libdir         ${exec_prefix}/lib /usr/lib
+
libexecdir ${exec_prefix}/libexec /usr/libexec
includedir ${exec_prefix}/include /usr/include
+
libdir         ${exec_prefix}/lib /usr/lib
palmtopdir ${libdir}/opie         /usr/lib/opie
+
includedir ${exec_prefix}/include /usr/include
palmqtdir ${palmtopdir}         /usr/lib/opie
+
palmtopdir ${libdir}/opie         /usr/lib/opie
 +
palmqtdir ${palmtopdir}         /usr/lib/opie

Revision as of 17:19, 21 February 2017

Yocto Project Openembedded directories installation variables

The following table provides a list of the variables that are used to control the directories into which files are installed. These variables can be used directly by the recipe to refer to paths that will be used after the package is installed.

Variable name	Definition	        Typical value
-------------  --------------------    --------------------
prefix	        /usr                    /usr
base_prefix	(empty)	                (empty)
exec_prefix	${base_prefix}	        (empty)
base_bindir	${base_prefix}/bin	/bin
base_sbindir	${base_prefix}/sbin	/sbin
base_libdir	${base_prefix}/lib	/lib
datadir        ${prefix}/share	        /usr/share
sysconfdir	/etc	                /etc
localstatedir	/var	                /var
infodir        ${datadir}/info	        /usr/share/info
mandir         ${datadir}/man	        /usr/share/man
docdir         ${datadir}/doc	        /usr/share/doc
servicedir	/srv	                /srv
bindir         ${exec_prefix}/bin	/usr/bin
sbindir        ${exec_prefix}/sbin	/usr/sbin
libexecdir	${exec_prefix}/libexec	/usr/libexec
libdir         ${exec_prefix}/lib	/usr/lib
includedir	${exec_prefix}/include	/usr/include
palmtopdir	${libdir}/opie	        /usr/lib/opie
palmqtdir	${palmtopdir}	        /usr/lib/opie