[OE-core] [PATCH] waf.bbclass: explicitly pass libdir

Joshua Watt jpewhacker at gmail.com
Mon Dec 11 15:32:18 UTC 2017


On Mon, 2017-12-11 at 14:58 +0000, Burton, Ross wrote:
> On 11 December 2017 at 14:16, Stefan Agner <stefan at agner.ch> wrote:
> > Hm, isn't this a "base" option which is always supported?
> 
> No idea. :)
>  
> > There are a bunch of others. But most seem to derive from PREFIX,
> > which
> > 
> > we set...
> > 
> > 
> > 
> >   Installation prefix:
> > 
> > 
> > 
> >     By default, "waf install" will put the files in
> > "/usr/local/bin",
> > 
> > "/usr/local/lib" etc. An installation prefix other than
> > 
> >     "/usr/local" can be given using "--prefix", for example
> > 
> > "--prefix=$HOME"
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >     --prefix=PREFIX     installation prefix [default:
> > '/usr/local/']
> > 
> >     --destdir=DESTDIR   installation root [default: '']
> > 
> >     --exec-prefix=EXEC_PREFIX
> > 
> >                         installation prefix for binaries [PREFIX]
> > 
> > 
> > 
> >   Installation directories:
> > 
> >     --bindir=BINDIR     user commands [EXEC_PREFIX/bin]
> > 
> >     --sbindir=SBINDIR   system binaries [EXEC_PREFIX/sbin]
> > 
> >     --libexecdir=LIBEXECDIR
> > 
> >                         program-specific binaries
> > [EXEC_PREFIX/libexec]
> > 
> > 
> > 
> >     --sysconfdir=SYSCONFDIR
> > 
> >                         host-specific configuration [PREFIX/etc]
> > 
> >     --sharedstatedir=SHAREDSTATEDIR
> > 
> >                         architecture-independent variable data
> > 
> > [PREFIX/com]
> > 
> > 
> > 
> >     --localstatedir=LOCALSTATEDIR
> > 
> >                         variable data [PREFIX/var]
> > 
> >     --libdir=LIBDIR     object code libraries [EXEC_PREFIX/lib64]
> > 
> >     --includedir=INCLUDEDIR
> > 
> >                         header files [PREFIX/include]
> > 
> >     --oldincludedir=OLDINCLUDEDIR
> > 
> >                         header files for non-GCC compilers
> > 
> > [/usr/include]
> > 
> > 
> > 
> >     --datarootdir=DATAROOTDIR
> > 
> >                         architecture-independent data root
> > 
> > [PREFIX/share]
> > 
> > 
> > 
> >     --datadir=DATADIR   architecture-independent data [DATAROOTDIR]
> > 
> >     --infodir=INFODIR   GNU "info" documentation [DATAROOTDIR/info]
> > 
> >     --localedir=LOCALEDIR
> > 
> >                         locale-dependent data [DATAROOTDIR/locale]
> > 
> >     --mandir=MANDIR     manual pages [DATAROOTDIR/man]
> > 
> >     --docdir=DOCDIR     documentation root
> > [DATAROOTDIR/doc/PACKAGE]
> > 
> >     --htmldir=HTMLDIR   HTML documentation [DOCDIR]
> > 
> >     --dvidir=DVIDIR     DVI documentation [DOCDIR]
> > 
> >     --pdfdir=PDFDIR     PDF documentation [DOCDIR]
> > 
> >     --psdir=PSDIR       PostScript documentation [DOCDIR]
> 
> But we do allow distros to override those, so passing the on

Vanilla waf only supports --prefix, --libdir, and --bindir. Anything
else is a result of loading the gnu_dirs tool, which not all projects
are required to do.
> es that we can is good.  bitbake.conf has the canonical list of
> prefix variables that we expose.
> 
> Ross 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171211/126fb698/attachment-0002.html>


More information about the Openembedded-core mailing list