summaryrefslogtreecommitdiff
path: root/meta/classes
Commit message (Collapse)AuthorAgeFilesLines
* relocatable.bbclass: remove hard-coded rpaths from native binariesJoshua Lock2010-02-112-0/+27
| | | | | | | | | | | The relocatable path will pre-process built binaries in SYSROOT_DESTDIR and replace any harcoded dynamic link rpaths with relative paths. Add an inherit of class in native.bbclass to make our native packages relocatable and tweak the chrpath recipe so that the native package can make itself relocatable with the just built chrpath binary. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* poky.bbclass: Use pokylinux.org stashes as PREMIRRORS for vcs'Joshua Lock2010-02-041-0/+11
| | | | | | | | Check the tarball stash on pokylinux.org before hitting the upstream version control systems. This is friendlier to the upstream repositories than us hammering their bandwidth. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* packaged-staging: basic support for pulling staging packages from a mirrorJoshua Lock2010-01-291-1/+26
| | | | | | | | | | | | | | Add simple support for trying to fetch staging packages from a http, https or ftp mirror if they do not already exist in PSTAGE_DIR. As documented in local.conf.sample "Poky can try and fetch packaged-staging packages from a http, https or ftp mirror. Set this variable to the root of a pstage directory on a server." If the PSTAGE_MIRROR variable is not set, or the package cannot be found on the mirror it will be built as usual. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* packaged-staging: Move packaged staging directory outside of DEPLOY_DIRJoshua Lock2010-01-291-12/+12
| | | | | | | | | | Rename DEPLOY_DIR_PSTAGE to PSTAGE_DIR and move it outside of deploy. Do soft assignment of a default variable inside bitbake.conf as ${OEROOT}/tmp/pstage. Use a separate directory, PSTAGE_WORKDIR, to store transient packaged staging files such as the stamp files and opkg.conf Signed-off-by: Joshua Lock <josh@linux.intel.com>
* packaged-staging: fix up handling of crosssdk packagesJoshua Lock2010-01-291-1/+1
| | | | | | | | | The packaged-staging class already special cases native packages for ensuring the package is only reused if the path doesn't change. This patch ensures the special casing is also done for crosssdk packages. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: Since we have no legacy packaging, no need to repeatedly ↵Richard Purdie2010-01-261-1/+1
| | | | | | scan staging Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gcc-cross-canadian: Fix include paths and hence c++ compiler issuesRichard Purdie2010-01-201-0/+8
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross.bbclass: Set BASEPKG_HOST_SYS to a sane valueRichard Purdie2010-01-141-0/+1
| | | | Signed-off-by: Richard Purdie <richard@rex.(none)>
* package_ipk.bbclass: Tweak handling for all/any/noarch and nativesdkRichard Purdie2010-01-141-1/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Add handling for all/any/noarch and nativesdkRichard Purdie2010-01-141-2/+6
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: Fix typoRichard Purdie2010-01-141-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross-canadian: Fix gettext issuesRichard Purdie2010-01-142-0/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: Fix multiline stringJoshua Lock2010-01-061-2/+2
| | | | | | | Earlier commit had created a multiline string without updating the python string quotation (""" for multiline). Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: enhance gettext error messageJoshua Lock2010-01-061-1/+2
| | | | | | | Point the user at gettext.bbclass which handles adding the correct gettext to DEPENDS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* gettext.bbclass: Set the gettext dependencies correctly for target, cross ↵Richard Purdie2010-01-053-1/+7
| | | | | | and native packages Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: special case gettext as it can't depend on itselfJoshua Lock2010-01-041-10/+11
| | | | | | | | Only run the gettext section of the QA configure sanity check if the package is not gettext as the gettext tools, shipped with gettext, use the macro employed in the sanity check. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: Fix gettext testJoshua Lock2009-12-211-22/+18
| | | | | | | | | | | | The previous gettext check was broken resulting in many false positives. This improved version works as follows: * Adds to the existing os.walk() and builds a list of configure.in and configure.ac files * Tests whether DEPENDS includes an appropriate gettext * If not greps the configure files in the list for instances of AM_GNU_GETTEXT * If if an instance is found we bb.fatal with an appropriate message Signed-off-by: Joshua Lock <josh@linux.intel.com>
* base.bbclass: Fix missing argumentRichard Purdie2009-12-181-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Fix indentation errorRichard Purdie2009-12-181-2/+2
|
* kernel.bbclass: Use B, not S in KERNEL_VERSIONRichard Purdie2009-12-181-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* devshell.bbclass: Merge tweaks from OE.devRichard Purdie2009-12-181-1/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Partially sync branch/scm handling functions with OE.devRichard Purdie2009-12-181-34/+38
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: Handle native packages in the gettext testJoshua Lock2009-12-171-1/+5
| | | | | | | When the package we are checking is a native package we need to check for gettext-native rather than gettext in the DEPENDS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: Check whether gettext is required but not in DEPENDSJoshua Lock2009-12-151-1/+19
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* kernel.bbclass: Sync with OE.devRichard Purdie2009-12-141-4/+22
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: Skip arch check for Cross CanadianJoshua Lock2009-12-141-1/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* distutils: Sync with OE.devRichard Purdie2009-12-054-16/+44
| | | | Signed-off-by: Richard Purdie <richard@rex.(none)>
* nativesdk.bbclass: Disable debugRichard Purdie2009-12-021-2/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* nativesdk.bbclass: Fix DEPENDS handlingRichard Purdie2009-12-021-2/+8
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross-canadian: Set PKGHIST_DIR to a correct valueRichard Purdie2009-12-021-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Make sure config.rpath is present if neededRichard Purdie2009-11-301-0/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Stage etc directory for native packagesRichard Purdie2009-11-301-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Clear package directory copy before installing new files to ↵Richard Purdie2009-11-201-0/+1
| | | | | | prevent stale data Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* glibc-package.bbclass: Fix the case PN == glibcRichard Purdie2009-11-201-7/+18
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* glibc-package.bbclass: Add GLIBC_INTERNAL_USE_BINARY_LOCALE precompiled modeRichard Purdie2009-11-201-32/+39
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* glibc: Separate out core glibc packaging functionality into a classRichard Purdie2009-11-191-0/+261
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Disable packaged-staging for cross-linkage/staging-linkage and ↵Richard Purdie2009-11-191-0/+3
| | | | | | external-poky-toolchain Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Merge do_stage into do_installRichard Purdie2009-11-191-63/+64
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Fix runtime_maping_rename so version information isn't removedRichard Purdie2009-11-191-5/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* perl: Update from OE.dev and convert to use do_install for stagingRichard Purdie2009-11-183-71/+15
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross.bbclass: Adjust the core class staging method as all users have been ↵Richard Purdie2009-11-171-4/+4
| | | | | | vetted and won't be affected Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross.bbclass: Add defitions of target_*dir variables and improve ↵Richard Purdie2009-11-161-1/+15
| | | | | | sysroot_stage_all to cope with mixed packages as found in cross recipes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* native.bbclass: Make sure PACKAGES is empty in case _prepend or _append are usedRichard Purdie2009-11-161-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Drop unused PSTAGE_BROKEN_DESTDIR variable and run ↵Richard Purdie2009-11-161-3/+1
| | | | | | sysroot_prehook at the right point Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Fix staging reference -> sysrootsRichard Purdie2009-11-161-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* update-rc.d: Add native version, add native dependency to class, convert ↵Richard Purdie2009-11-161-1/+1
| | | | | | staging function Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* perl: Standardise config.sh locationRichard Purdie2009-11-163-3/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* lib_package.bbclass: Sync with OE.dev to remove hardcoded layout assumptionRichard Purdie2009-11-161-1/+2
|
* debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixesRichard Purdie2009-11-164-9/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_rpm/icecc: Sync whitespace with OE.devRichard Purdie2009-11-162-28/+13
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>