summaryrefslogtreecommitdiff
path: root/meta/classes
Commit message (Collapse)AuthorAgeFilesLines
* package_ipk.bbclass: Fix typoRichard Purdie2009-11-161-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross.bbclass: Override the sysroot_stage_all to work appropriately for ↵Richard Purdie2009-11-131-0/+8
| | | | | | cross packages Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Add special stage keyword to override leagcy modeRichard Purdie2009-11-131-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie2009-11-1317-56/+63
| | | | | | | | | | | | | populate_staging task to populate_sysroot This change makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gtk-icon-cache.bbclass: Drop unneeded module importRichard Purdie2009-11-131-1/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gconf.bbclass: Drop unneeded module importRichard Purdie2009-11-131-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* native.bbclass: Fix DEPENDS handling for BBCLASSEXTEND useRichard Purdie2009-11-131-29/+21
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base/autotools.bbclass: Make sure extra dependencies are not lost for native ↵Richard Purdie2009-11-133-2/+6
| | | | | | and nativesdk BBCLASSEXTEND. Ugly but no simpler/neater way seems possible Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Remove and sanitise import statementsRichard Purdie2009-11-1331-147/+34
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Drop import bb and import os as no longer neededRichard Purdie2009-11-131-23/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* native.bbclass: Improve DEPENDS mangling code so sub matches don't break ↵Richard Purdie2009-11-131-5/+11
| | | | | | upon substitutions Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Add an option of forcing the new staging mechanismRichard Purdie2009-11-131-0/+2
| | | | | | | Add an option of forcing the new staging mechanism for native packages that don't use autotools with the NATIVE_INSTALL_WORKS option Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Fix do_populate_staging to operating on TMPDIR, not ↵Richard Purdie2009-11-131-1/+1
| | | | | | STAGING_DIR_TARGET Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Various staging improvement fixupsRichard Purdie2009-11-133-14/+15
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Rework staging function to use a DESTDIR style configuration ↵Richard Purdie2009-11-132-51/+70
| | | | | | based on the data from the do_install step. This falls back to any standard do_stage function if defined, see the mailing list for more info. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Use a variable for the location of the staging ↵Richard Purdie2009-11-132-5/+5
| | | | | | lock file Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* native.bbclass: If do_stage isn't overridden, allow do_install to run for ↵Richard Purdie2009-11-131-5/+5
| | | | | | | | native packages Also let do_install run for packages that run autotools_stage_all directly Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* binconfig/pkgconfig.bbclass: Convert staging functions into ↵Richard Purdie2009-11-133-7/+16
| | | | | | SYSROOT_PREPROCESS_FUNCS operating on SYSROOT_DESTDIR Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Separate out useful staging functions into base.bbclass ↵Richard Purdie2009-11-132-45/+64
| | | | | | and call from autotools classes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: No need to fork sed each timeRichard Purdie2009-11-131-4/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Convert .la file mangling to package preprocessing hookRichard Purdie2009-11-131-1/+5
| | | | 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>
* package.bbclass: Add the option to declare package preprocess function hooksRichard Purdie2009-11-131-1/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Change to operate on a copy of the install directory ↵Richard Purdie2009-11-131-12/+25
| | | | | | instead of directly. Also take the opportunity to rename the temp directories so their function is clear Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Remove hardcoded use of PKGDEST variableRichard Purdie2009-11-131-1/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Move variable checks to one place making the code more readableRichard Purdie2009-11-131-38/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Only run do_stage if its been overwritten as the default is ↵Richard Purdie2009-11-131-1/+6
| | | | | | empty and its pointless to run it Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* xfce.bbclass: Sync with OE.devRichard Purdie2009-11-131-2/+9
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Cleanup getVar syntax to use True, not 1 as third argumentRichard Purdie2009-10-291-61/+61
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging: Whitelist the empty base_do_stage function as it does ↵Richard Purdie2009-10-281-1/+4
| | | | | | nothing and locks need not be held Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* nativesdk.bbclass: Drop ineffective dynamic linker flagRichard Purdie2009-09-181-2/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* nativesdk/package_ipk.bbclass: Clean up sdk package architecturesRichard Purdie2009-09-174-22/+20
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Convert to use SDK_ARCHRichard Purdie2009-09-171-4/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass Use libdir_native for opkg paths in directory creationRichard Purdie2009-09-171-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* native.bbclass: Use prefix_native variableRichard Purdie2009-09-171-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* nativesdk: Convert to use crosssdk toolchain and remove binutils/gcc ↵Richard Purdie2009-09-171-67/+38
| | | | | | nativesdk recipes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross-canadian: Add cross-canadian class with gcc and binutils recipesRichard Purdie2009-09-171-0/+56
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* crosssdk: Add crosssdk class with gcc and binutils recipesRichard Purdie2009-09-171-0/+15
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* nativesdk: Don't use search and replace on DEPENDS fieldRichard Purdie2009-09-171-6/+10
| | | | | | | | Search and replace on the DEPENDS field can cause problems if multiple similar names are present in the string so use an alternative approach. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sdk.bbclass: Rename to nativesdk.bbclassRichard Purdie2009-09-173-12/+12
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Remove layout_* variablesRichard Purdie2009-09-179-77/+37
| | | | | | | | | | | | 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>
* bitbake.conf: Rename SDK_PREFIX SDKPATHRichard Purdie2009-09-101-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* patch.bbclass: Merge in git resolver changes from OE.dev. Catch all ↵Richard Purdie2009-09-031-5/+21
| | | | | | exceptions rather than print horrid backtraces Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add poky-trim-schemas post install script to remove unneeded schema locale ↵Richard Purdie2009-08-281-0/+12
| | | | | | translations from images (credit to Ross Burton for the initial script) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Don't retrieve SRC_URI when not necessaryDamien Lespiau2009-08-261-4/+2
| | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
* base.bbclass: packages pulling a mercurial tree should depend on mercurialDamien Lespiau2009-08-262-1/+8
| | | | | | | | As we don't provide a mercurial-native package (yet) let's assume the build machine has it installed and check (sanity.bbclass) if it's the case. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
* base.bbclass: Use subprocess rather than os.system for do_unpackRichard Purdie2009-08-251-2/+10
| | | | | | | | | | | gzip reports broken pipe errors with do_unpack on Fedora with certain builds of gzip and bash. By avoding python's SIGPIPE handler we can work correctly on these distributions. Patch based on a patch from the OE-devel mailing list, thanks to Khem Raj <raj.khem@gmail.com> and Holger Freyther <zecke@selfish.org> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Remove pointless inheritRichard Purdie2009-08-121-2/+0
| | | | 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>
* package_ipk.bbclass: Place configuration files in WORKDIR, not stagingRichard Purdie2009-08-121-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>