summaryrefslogtreecommitdiffstats
path: root/meta/classes
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* packagehistory.bbclass: Make package history package architecture specificRichard Purdie2009-07-281-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Fix to work with configure files with leading whitespaceRichard Purdie2009-07-161-3/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* root_ipk.bbclass: Give EXTRAOPKGCONFIG a default valueRichard Purdie2009-07-151-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_ipk.bbclass: Don't generate the arch.conf file, provide this as a ↵Richard Purdie2009-07-151-3/+4
| | | | | | packaged file in future Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packagehistory: Make sure package is inherited beforehand to preserve the ↵Richard Purdie2009-07-131-0/+2
| | | | | | PACKAGEFUNCS variable Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gnome.bbclass: Convert to autotools_stageRichard Purdie2009-07-091-5/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add package_history.bbclass which checks generated package against previous ↵Richard Purdie2009-07-091-0/+100
| | | | package looking for problematic changes
* package_ipk.bbclass: Solve opkg-make-index locking problem using flockRichard Purdie2009-07-081-10/+8
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* pkgconfig.bbclass: No longer default to pkgconfig_stage code (breaks libdrm)Richard Purdie2009-07-071-2/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* patch.bbclass: Fix up the environment for the patch resolution codeRichard Purdie2009-07-021-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* patch.bbclass: Sync with OE.devRichard Purdie2009-07-021-25/+63
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>