summaryrefslogtreecommitdiffstats
path: root/meta/classes/binconfig.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* classes/binconfig: fix indentation in python functionPaul Eggleton2014-03-251-22/+22
| | | | | | | | | | | | | | If we don't fix this, the recently added dependency from do_populate_sysroot on functions in SYSROOT_PREPROCESS_FUNCS in staging.bbclass triggers warnings that the get_binconfig_mangle function contains tabs for all recipes that inherit binconfig. Related to fix for [YOCTO #5852]. (From OE-Core rev: a30a204270ee5b91d9c0904d3c3dda34bdb9ce1c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binconfig: mangle ${base_libdir}Ross Burton2014-02-091-1/+5
| | | | | | | | | | | | | Some recipes are installing libraries into ${base_libdir} (typically /lib) and also use a foo-config binary to identify compile paths, for example libusb-compat. Without mangling ${base_libdir} the ${base_libdir} path is passed to the compiler, where it looks like a host path and results in compile-host-path QA errors. (From OE-Core rev: ccd9abdccb84d713427541b6ee29a0e217360e74) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binconfig: Handle the case where ${B} != ${S}Richard Purdie2013-03-181-1/+1
| | | | | | | | This change allows ${B} != ${S} builds to work which use binconfig. (From OE-Core rev: dc175a20d3a269c08691d92ecf13afff8c1340dd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/binconfig.bbclass: Allow packages to add sed expressionsHolger Freyther2012-12-061-0/+3
| | | | | | | | | | | | | | | | | | packages/apr/apr-util,apr use this, but it not been in the class patch the config files to be 'installed' and not point to the build and source-directory. From OE-Classic: http://git.openembedded.org/openembedded/commit/?id=030992bdd415c8892cf2925cf6fbe888226be046 [YOCTO #3267] Orignal Author: Holger Freyther <zecke@selfish.org> (From OE-Core rev: ab56f1063a666df5faddd97f44758c8ae378e51c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binconfig: add *-config files to the -dev packageSaul Wold2012-06-211-0/+2
| | | | | | | | | | This is part of the the package reorder, by having binconfig add -config will the files first due to the order being greedy. (From OE-Core rev: df651f5c30acb7cccbc0a0abf4b91a07f1a72e1f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binconfig: improve handling of empty prefixesPhil Blundell2011-06-011-2/+2
| | | | | | | | | | | | | | This is a backport of 952e5e2b7a5c1deefc939594d40b81a71fb16a54 from oe master. Without this the script mangling goes very wrong if ${prefix}="". There isn't really any way to fix this in the completely general case, but this patch does work with the two cases I tested (freetype and gpg-error) which were unusable previously. (From OE-Core rev: 854b15bf631452150d1979dfd8286b306f108688) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Use relative path in sysroot-destdir for target recipesDongxiao Xu2011-01-211-3/+3
| | | | | | | | | | Original we used absolute path in sysroot-destdir for both native and target recipes. This commit changes target recipes to use relative path which is same as the image directory. [sgw: merged with libtool sysroot work] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* classes: Remove and sanitise import statementsRichard Purdie2009-11-131-1/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* binconfig/pkgconfig.bbclass: Convert staging functions into ↵Richard Purdie2009-11-131-4/+6
| | | | | | SYSROOT_PREPROCESS_FUNCS operating on SYSROOT_DESTDIR Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* binconfig.bbclass: Convert do_install_append() into a PACKAGE_PREPROCESS_FUNCSRichard Purdie2009-11-131-13/+11
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Remove layout_* variablesRichard Purdie2009-09-171-4/+4
| | | | | | | | | | | | Remove layout_* variables and replace them with variables specific to the different classes. The layout variables were only useful for the native/cross classes and caused more confusion than they solved. They didn't scale to the sdk class. It now clear a small set of native/cross variables fulfil the needs. This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes sense since we're installing binaries into the locations we're compiling them for. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* binconfig.bbclass: Remove pointless inheritRichard Purdie2009-08-121-2/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Remove hardcoded staging layout assumptionsRichard Purdie2007-11-121-4/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3117 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync various classes with OE for various bugfixesRichard Purdie2007-08-081-0/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2407 311d38ba-8fff-0310-9ca6-ca027cbcb966
* STAGING_BINDIR: No longer need to rename -native binconfig binaries, set ↵Richard Purdie2007-01-301-9/+4
| | | | | | STAGING_BINDIR correctly git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1221 311d38ba-8fff-0310-9ca6-ca027cbcb966
* binconfig.bbclass: Sync with OE to benefit from improved .la file handlingRichard Purdie2006-11-201-5/+29
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@884 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename /openembedded/ -> /meta/Richard Purdie2006-07-211-0/+36
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966