summaryrefslogtreecommitdiff
path: root/classes/native.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-07-28packaged-staging, native{,sdk}: Rework OVERRIDES to check PSTAGING_DISABLEDTom Rini1
When the function to set PSTAGING_ACTIVE is an anon python function OVERRIDES is not set so we cannot set things to disabled in the context of BBCLASSEXTEND recipes. To fix this we need to have native/nativesdk set OVERRIDES outside of the anon function context. We then make a COW of the data at this point in packaged-staging's anon function and evaluate so we know what will be in OVERRIDES and check. While we're in here drop a duplicate test in populate_sysroot_postamble and check nativesdk along with the rest of the classes that need mangling. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-05-06native.bbclass: Clear PACKAGES variable when using BBCLASSEXTEND (from poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-05gettext enhancements: Make it easier to use the right gettextJoshua Lock1
This patch adds a check to insane to ensure that gettext exists in the dependancy list when it is used in the configure.[ac|in] Further we enhance the gettext class to enable easy addition of the required gettext dependancies by inheriting the gettext class. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05relocatable: Class to post-process packages for relocatabilityJoshua Lock1
This class helps make packages relocatable by post-processing the binaries and using chrpath to set the RPATH relative to $ORIGIN. Patch also enables this post-processing for native packages and adds chrpath to the required utilties. Based on ideas from a patch from Tom Rini <tom_rini@mentor.com> Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-12-24native.bbclass: Modify STAGING_DIR_JAVA when native build is in chosen.Robert Schuster1
2009-11-12native.bbclass: Change warning to debug, not a note for nowRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-12native.bbclass: Force legacy staging mode autotools_stage_all is used as ↵Richard Purdie1
often the do_install is empty too. This fixes issues with curl-native Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10native.bbclass: Add BBCLASSEXTEND support (from poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10native.bbclass: If do_stage isn't overridden, allow do_install to run for ↵Richard Purdie1
native packages (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10Start removal of layout_* variables and replace these with new mechanisms to ↵Richard Purdie1
allow nextgen SDK generation (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-03-09native.bbclass: Remove java specific stuff from do_stage again.Robert Schuster1
2009-01-09bitbake.conf: Add EXEEXT variables for BUILD/HOST/TARGET so we can start to ↵Richard Purdie1
handle other architectures
2008-10-22native.bbclass: Run java_stage if JAVA_NATIVE_STAGE_INSTALL is set.Robert Schuster1
2008-10-02native bbclass: sync with pokyKoen Kooi1
2008-03-20autotools.bbclass: Merge autotools_stage_all with changes in Poky. Removes a ↵Richard Purdie1
typo, adds libexec dir to staging list, works with cross.bbclass, removed info and man data which is pointless in staging and factors out repeated functionality into a separate function
2008-03-19native.bbclass: fix ] spacingKoen Kooi1
2008-03-19native, autotools bbclass: check if bindir exists before trying to access itKoen Kooi1
* hardcoded since native.bbclass redefines ${bindir} and friends :(
2008-03-19autotools, native bbclass: try harder to stage native binariesKoen Kooi1
2008-03-19native and autotools bbclass: use autotools_stage_all instead of oe_runmake ↵Koen Kooi1
install for staging native packages
2008-03-05native.bbclass: Remove strange bogus inheritRichard Purdie1
2008-03-04Change staging layout to match the target system layout. WARNING - staging ↵Richard Purdie1
ABI change. This update completes the conversion of OE.dev to use sysroot and have a staging layout that matches the target system. This means we no longer need to mangle pkgconfig files and can use its sysroot option instead. Users of old toolchains (gcc prior to 3.4 and external ones) may need to add cross-linkage and staging-linkage to their toolchain dependencies. Since this update changes staging layout and the contents of the .pc files it updates the staging ABI and people will need to rebuild.
2008-01-28native.bbclass: Change prefix so its within the build-arch directory, hence ↵Richard Purdie1
moving on step closer to sysroot. Nothing much uses the prefix path from native.bbclass apart from qemu which this change fixes a problem with
2007-10-29Remove final references to BUILD_SYS in staging pathsRichard Purdie1
2007-09-01native.bbclass: PACKAGE_DEPENDS no longer need be unset, add extra options ↵Richard Purdie1
to PKG_CONFIG_PATH if EXTRA_NATIVE_PKGCONFIG_PATH is set (from poky)
2007-08-30classes: Remove bitbake 1.6 compatibility codeRichard Purdie1
2007-05-19native.bbclass: Unset CONFIG_SITE since we shouldn't be using site files for ↵Richard Purdie1
native builds
2006-11-29Introduce STAGING_BINDIR_CROSS and STAGING_BINDIR_NATIVE as discussed on the ↵Richard Purdie1
mailing list. There should be no functionality changes yet.
2006-11-14disapproval of revision 'b36008d6d508c1a3c7c580085c230913aebe4f87'Richard Purdie1
2006-11-14native.bbclass: set INHIBIT_DEFAULT_DEPS - native packages does not need ↵Marcin Juszkiewicz1
cross toolchain which is added by base.bbclass
2006-05-13classes/native.bbclass:Holger Freyther1
Change the CC, CXX, CPP... variables back to gcc. Someone could have changed them in the bitbake.conf to use a specific version of any of these tools. e.g. when using a provided toolchain instead of compiling one with OpenEmbedded.
2006-04-09OS X: core and native.bbclass:Holger Freyther1
-We do not have rpath on Darwin, do not use it for the native builds
2006-01-31package.bbclass: implement a failsafe strip in classesJohn Bowler1
- package.bbclass now uses file-native and cross strip to reliably strip unstripped executables and check the return code. For the moment a failure here doesn't cause the build to fail but does output a failure message direct to the controlling terminal (this is temporary). This behaviour can be changed by forcing IGNORE_STRIP_ERRORS = "" The change works by using a new runstrip shell function for every potentially strippable file. Since this calls native 'file' there is a dependency on all inheritors of package.bbclass for file-native and since this would break native builds (because of the cycle in file-native and it's own native depends) native.bbclass cancels this dependency (system file should be fine for native packages and, anyway native currently doesn't package.)
2006-01-13native.bbclass: Set RPROVIDES as PACKAGES is cleared and enable resolving of ↵Richard Purdie1
all RDEPENDS
2006-01-08native.bbclass: use BUILD_ARCH instead of 'native'Koen Kooi1
2006-01-08Set some packages/classes PACKAGE_ARCH correctly and also correct some ↵Richard Purdie1
PACKAGE_ARCH= to .
2005-08-09autotools.bbclass: add INHIBIT_AUTO_STAGE_INCLUDESMichael Lauer1
native.bbclass: add INHIBIT_NATIVE_STAGE_INSTALL
2005-02-24Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/02/23 18:20:11-06:00 ti.com!kergoth Add gnupg 1.4.0, consolidate common metadata into gnupg.inc, include some of the gnupg doc files in ${docdir}/${PN}/. Build 1.4.0 with readline support. Need to revisit what gnupg features we are compiling in, and perhaps disable some things to shrink the binary, and/or use the "minimal" configure option. 2005/02/23 18:16:53-06:00 ti.com!kergoth Path adjustments in cross and native bbclasses per the previous cset. 2005/02/23 18:14:30-06:00 ti.com!kergoth Fix infodir, mandir, and docdir variables to be relative to datadir, not prefix, and fix FILES_${PN}-doc to reference docdir rather than datadir/doc. BKrev: 421d2278QZWskeJqmJFXCyPjQutiuw
2005-02-22Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/02/21 17:35:27-06:00 ti.com!kergoth Kill the ipkg paths patch, since its busted. 2005/02/21 17:33:13-06:00 ti.com!kergoth Fix sbindir in native.bbclass and cross.bbclass. Thanks to Jordan Crouse for reporting. 2005/02/21 17:13:19-06:00 ti.com!kergoth Add the paths patch to ipkg which fixes it to no longer hardcode the '/usr/lib/ipkg' path, which I forgot to check in from the previous commit. 2005/02/21 17:09:46-06:00 ti.com!kergoth Merge oe-devel@oe-devel.bkbits.net:openembedded into odin.sc.ti.com:/home/kergoth/code/user/oe/openembedded 2005/02/21 17:09:03-06:00 ti.com!kergoth Run a sed script against our packages to fix some hardcoded target path references. As always when I do things like this, if packages you maintain were touched by this, please do a sanity check to ensure the sed script didn't run wild. 2005/02/21 15:49:47-06:00 ti.com!kergoth Use a HOTPLUG variable to manage which hotplug you prefer, to ensure that hotplug is still included in task-bootstrap even if you dont set DISTRO. BKrev: 421b2b63X5eoMcSrC7pVcptXK-iFKg
2005-02-11Path variable updates:Chris Larson1
* add base_prefix, base_bindir, base_libdir, and base_sbindir, for paths that are always rooted at / (for things like /sbin/ldconfig). * Rearrange the path bits in bitbake.conf to be a bit more comprehensible. * Override more path variables in cross.bbclass and native.bbclass, so that they can safely be overridden by the user. BKrev: 420c0550HAHmBzqBNAmgZogIut9Srg
2004-12-07Merge oe-devel@oe-devel.bkbits.net:packages.bbChris Larson1
into handhelds.org:/home/kergoth/code/packages.bb 2004/12/07 04:58:25-06:00 ti.com!kergoth More updates per the core rename. 2004/12/07 04:46:51-06:00 ti.com!kergoth Update soundtracker per the core rename. 2004/12/07 04:44:14-06:00 ti.com!kergoth Merge 2004/12/07 04:42:38-06:00 ti.com!kergoth Updates per the recent rename of the oe core from 'oe' to 'bitbake'. BKrev: 41b6293b91LRHSxMOt6WnrZVAdLbFw