summaryrefslogtreecommitdiff
path: root/recipes/meta/meta-toolchain.bb
AgeCommit message (Collapse)AuthorFiles
2010-06-07rootfs_ipk/meta-toolchain: Add locking on tasks that add ↵Tom Rini1
package_update_index_ipk We add a lockfile of do_populate_sdk and do_rootfs (in rootfs_ipk) that is also the lockfile that package_update_index_ipk uses. With enough threads it is possible that one image (or meta-toolchain) is attempting to use the package index while another has only reached the point of generating the index leading to an empty index being seen later on. Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Roman I Khimov <khimov@altell.ru> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-03recipes: conform to OE packaging guidelines with RDEPENDS/RRECOMMENDSMartin Jansa1
* there is probably very few cases when it's needed without _${PN}, if you find one in attached patch, please enlighten me * usually we want those only for ${PN} not for all ${PACKAGES} ie ${PN}-dev, ${PN)-doc etc * there is a check for this in recipe-sanity.bclass * there is maybe few possible fixes also in bbclasses cpan-base.bbclass:RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" distutils-base.bbclass:RDEPENDS += "python-core" gtk-icon-cache.bbclass:RDEPENDS += "hicolor-icon-theme" image.bbclass:RDEPENDS += "${IMAGE_INSTALL} ${IMAGE_BOOT}" module.bbclass:RDEPENDS += "kernel (${KERNEL_VERSION}) update-modules" ?opie_i18n.bbclass: rdepends = bb.data.getVar("RDEPENDS", d, 1) ?opie_i18n.bbclass: bb.data.setVar('RDEPENDS_%s' % x[0].lower(), pn, d) ?opie_i18n.bbclass: bb.data.setVar('RDEPENDS', rdepends, d) rubyextension.bbclass:RDEPENDS += "ruby" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-04-21meta-toolchain: add hook to install proper feedconfigs and add an extra ↵Koen Kooi1
check to prevent bogus ones from going in
2010-03-25meta-toolchain: fix SDK_PATH resolving early by swapping quotingDenys Dmytriyenko1
http://thread.gmane.org/gmane.comp.handhelds.openembedded/31484 Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2010-03-01meta-toolchain: Show the host system in toolchain archive nameAntonio Ospite1
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-02-19meta-toolchain: make SDK relocatable by using $SDK_PATH var in env setup scriptDenys Dmytriyenko1
Do not hard-code SDK location into all the libtool's .la files and other libtool, pkg-config and opkg service variables and aliases. Use $SDK_PATH environment variable instead, which is set once in the main environment-setup script, allowing easy SDK relocation by adjusting a single variable. This patch does not address gcc relocatability, if any. Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2010-02-14meta-toolchain: Run rmdir only if empty dirs are actually found.Antonio Ospite1
Prevent a failure in do_populate_sdk when there are no empty directories: /bin/rmdir: missing operand Try `/bin/rmdir --help' for more information. See also http://tinderbox.openembedded.net/packages/478437/ Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
2010-02-03meta-toolchain: introduce TOOLCHAIN_TARGET_EXCLUDE to uninstall unneeded depsDenys Dmytriyenko1
TOOLCHAIN_TARGET_EXCLUDE is a list of packages to uninstall from the target portion of meta-toolchain/SDK, which were brought as dependencies, but not needed in the SDK. Useful to have only relevant libPKG and PKG-dev packages with libs and headers installed, while keeping the main PKG package with binaries out. Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2009-11-12meta-toolchain: Various corrections after the layout_* variable removal ↵Richard Purdie1
(from Poky) * Drop the inherit sdk since it only gains us a single path and a world of pain. * Fix up paths to use SDKPATH instead of prefix. * Drop layout_* variable usage * Correct opkg control file locations Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-24meta-toolchain: Oops, we want layout_libdir not layout_base_libdir for opkgTom Rini1
2009-06-19meta-toolchain: Use ${layout_base_libdir} not usr/lib for opkg.Tom Rini1
2009-06-19Make package_update_index_ipk proper task with lockingRoman I Khimov1
Parallel image builds race in package_update_index_ipk, so locking is needed and for a proper lock package_update_index_ipk needs to be a proper task. Acked-by: Tom Rini <trini@embeddedalley.com>
2009-04-06meta-toolchain, canadian-sdk: Move C++ headers into the correct location, ↵Tom Rini1
bump PR A gcc that has sysroot support expects that the default C++ headers (iostream, etc) are in <toolchain prefix>/include/c++ while regular C headers are still in <toolchain prefix>/usr/include. Acked-by: Florian Boor <florian.boor@kernelconcepts.de> Acked-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tom Rini <trini@embeddedalley.com>
2009-03-17rename packages/ to recipes/ per earlier agreementDenys Dmytriyenko1
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>