summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* u-boot: renamed dir from uboot to the more appropriate u-bootFrans Meulenbroeks2011-12-1310-0/+0
| | | | | | | recipe dirs normally have the name of the (main) package and the official name is u-boot Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libacpi: Use the cross strip instead of host stripNitin A Kamble2011-12-122-2/+26
| | | | | | | | | | to avoid this build error on x32: | strip: Unable to recognise the format of the input file `test-libacpi' | make: *** [test-libacpi] Error 1 | ERROR: oe_runmake failed Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* libacpi: Fix libdir for x32Nitin A Kamble2011-12-122-2/+50
| | | | | | | | libacpi doesn't use base_libdir for install. This patch adds base_libdir support so that x32 libraries are installed properly. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
* qemu-config: Disable dbus-x11 when no x11 in DISTRO_FEATURESXiaofeng Yan2011-12-081-2/+2
| | | | | | | | | | | dbus-x11 could be not needed by an image without x11. So I modified this bb file to enable dbus-x11 when x11 is in DISTRO_FEATURES and disable \ dbus-x11 without x11 feature. [YOCTO #1674] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Create /etc/grub.dSaul Wold2011-12-081-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* omap3-sgx-modules: drop from oe-core, it lives in the meta-ti BSP nowadaysKoen Kooi2011-12-061-17/+0
| | | | | | | | | OE-core only support qemu based machines, so BSP type recipe should be moved to their respective BSPs omap3-sgx-modules can be found in the meta-ti BSP: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/ Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Use COMPATIBLE_HOSTDarren Hart2011-11-301-7/+2
| | | | | | | | | Drop the anonymous python block in favor of the much simpler COMPATIBLE_HOST mechanism. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Drop "apply=yes" from patchDarren Hart2011-11-301-1/+1
| | | | | | | | | The "apply=yes" doesn't appear to be necessary, drop it in favor of a simpler SRC_URI specification. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eee-acpi-scritps: Upgrade to 1.1.12 via git tagZhai Edwin2011-11-302-24/+24
| | | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi-native: New recipe to build GRUB EFI imagesDarren Hart2011-11-301-0/+74
| | | | | | | | | | | | | | | Add a recipe to build the GRUB efi images. This recipe is written as a native recipe as the resulting GRUB utils are required to assemble the final image. Rather than build a native and a target recipe (and increase build times), this recipe builds the utils for the host and passes an appropriate --target argument to the GRUB configure script to build the modules for the target arch. The only output of this recipe is an EFI image in the deploy directory. Care is taken to ensure changing targets will force a rebuild of this native recipe by including the target arch in the PN. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* keymaps: depend on kbd instead of console-toolsMartin Jansa2011-11-101-2/+3
| | | | | | * nowadays kbd seems more active Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions ↵Martin Jansa2011-11-101-1/+5
| | | | | | to use different set of initscripts or no initscripts at all Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-105-5/+5
| | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* v86d: update to 0.1.10Saul Wold2011-10-141-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* grub: Add SRC_URI ChecksumSaul Wold2011-10-061-1/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* apmd: use ${HOST_SYS}-libtoolAndrew Gabbasov2011-09-281-1/+1
| | | | | | | | | libtool-cross uses ${HOST_SYS}- prefix while building and installing. In some cases that may be different from ${TARGET_PREFIX}, that is currently used in apmd recipe. It's better to have them consistent. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Fix insane/QA architecture warningRichard Purdie2011-09-271-1/+1
| | | | | | | | There is QA warning about this package for an architecture mismatch but this is inappropriate in this case since the bootloader needs 32 and 64 bit code. We therefore flag the QA check to be skipped. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-config: use pkg_postinst to generate the proper shutdown.desktopDexuan Cui2011-09-222-11/+6
| | | | | | | | | | | | | | | | | | | | | | [YOCTO #1507] We need to remove the file qemuarm/shutdown.desktop, or else, on qemuarm, due to the PACKAGE_ARCH overriding from all to qemuarm in base.bbclass, the generated deb file will be stored at tmp/deploy/deb/qemuarm/qemu-config_1.0-r21_allarch.deb rather than tmp/deploy/deb/all/qemu-config_1.0-r21_all.deb, and the package qemu-config won't be installable -- task-base finally rdepends on qemu-config, so we get the do_rootfs failure: The following packages have unmet dependencies: | task-base-extended: Depends: task-base but it is not going to be installed | E: Broken packages There is also a generic shutdown.desktop, we can keep it and use a proper pkg_postinst to cope with the case of qemuarm. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* usbutils: Move the pkgconfig file(s) to the -dev packageMark Hatle2011-09-221-2/+2
| | | | | | | | | pkgconfig files belong in the -dev package. They automatically add a runtime dependency (when packaging with RPM) for "pkgconfig", which is not desired to be installed with this package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub_1.99: add PN to RDEPENDSTom Zanussi2011-09-161-2/+2
| | | | | | | RDEPENDS is package-specific, so add ${PN} to it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: new recipeTom Zanussi2011-09-153-0/+73
| | | | | | This adds the grub-1.98 from meta-intel while upgrading it to 1.99. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.orgSaul Wold2011-09-021-5/+6
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj2011-08-234-7/+7
| | | | | | | Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
* SRC_URI, S: use BPN instead of PN for multilib caseYu Ke2011-08-042-3/+3
| | | | | | | | | in multilibcase, PN has multilib prefix, so it is not correct to use PN in SRC_URI and S. instead, we've dedicately pruned multilib prefix in BPN, so BPN is the right alternative for PN. Signed-off-by: Yu Ke <ke.y@intel.com>
* pciutils: Change the hardcoded /usr/lib to support multilib.Dongxiao Xu2011-07-202-2/+17
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* Patches: Fix Upstream-Status infoSaul Wold2011-07-134-4/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* usbutils: Add RDEPENDS on bashSaul Wold2011-07-081-2/+3
| | | | | | [YOCTO #1214] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* uboot: Add 2011.06 VersionSaul Wold2011-07-074-0/+176
| | | | | | | | | | | [YOCTO #1198] Addes the 2011.06 version, while keeping the older 2011.03 version since other layers might be using it still. This will need to be fixed in the future as oe-core should only be keeping the current versions and layer management addresses this somehow. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* x-load: Drop PR from PV and fix version to 1.5.0Richard Purdie2011-07-071-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x-load: Update to 1.5.0Saul Wold2011-07-051-6/+5
| | | | | | [YOCTO #1197] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* u-boot: Drop INSANE_SKIP since it insane no longer trips up on this recipeRichard Purdie2011-07-051-2/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-0111-11/+0
| | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: add -fno-reorder-functions into STAGE2_COMPILEDexuan Cui2011-06-292-2/+34
| | | | | | | | This is used to work around a gcc-4.6's bug about the option. [YOCTO #1099] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* [PATCH] u-boot-mkimage: bump version to 2011.03Ilya Yanok2011-06-285-54/+152
| | | | | | | | | This patch changes u-boot-mkimage version to 2011.03. Unfortunately U-Boot 2011.03 release has some problems building tools from unconfigured tree, so this patch aslo includes the backported fixes. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: set SRCREV to a git revision instead of a tag referencePaul Eggleton2011-06-221-2/+5
| | | | | | | | | | | | | | | | | If we use a tag here then bitbake has to connect to the repository to find out the corresponding revision (so it can expand SRCPV which is part of PV, which amongst other things is needed to determine whether or not the package has to be rebuilt.) This occurs at parse time; on machines behind a firewall or with no network access this can be a problem. We wish to avoid unnecessary network accesses and network access in our default configuration during parse time is even worse. Substituting the git revision corresponding to the tag prevents bitbake from having to contact the remote repository in order to expand PV. Addresses [YOCTO #1186] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* usbinit: Inherit allarch as its a generic scriptRichard Purdie2011-06-131-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* keymaps: Inhibit toolchain dependencies as its just configuration filesRichard Purdie2011-06-131-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* formfactor: Inhibit toolchain dependencies as its just config filesRichard Purdie2011-06-131-0/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pointercal: Inhibit toolchain dependencies as its just config filesRichard Purdie2011-06-131-0/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: package up u-boot.bin for field upgradesKoen Kooi2011-06-022-1/+12
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* Improve handling of 'all' architecture recipes and their interaction with sstateRichard Purdie2011-05-313-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing PACKAGE_ARCH = "all" mechanism of sharing packages is problematic with sstate since there are a variety of variables which have target specific values and the sstate package therefore correctly changes signature depending on the MACHINE setting. This patch creates a new "allarch" class which sets: PACKAGE_ARCH = "all" (as per the existing convention) INHIBIT_DEFAULT_DEPS = "1" (since its not target specific and therefore can't depend on the cross compiler or target libc) TARGET_ARCH = "all" TARGET_OS = "linux" TARGET_CC_ARCH = "none" (since these variables shouldn't change between the different packages and target compiler flags shouldn't be getting used) PACKAGE_EXTRA_ARCHS = "" (since we shouldn't be depending on any architecture specific package architectures) Not all PACKAGE_ARCH = "all" recipes can use this class since some run configure checks on the compiler. This means they have target specific components and therefore the "all" classification is incorrect. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: rename u-boot_git.bb to u-boot_${PV}.bbDarren Hart2011-05-271-0/+0
| | | | | | | | | | | | | | | | | | | | | | | In order to facilitate reuse of the oe-core u-boot recipe, there needs to be some assurance that the oe-core version won't change without a clear indicator to people extending it. By renaming the recipe to include its version string instead of "git", BSP layers can extend a specific base version of u-boot, ie. u-boot_2011.03.bbappend. When 2011.06 becomes available, we can create that file without instantly breaking all the BSPs depending on oe-core version of the recipe. As a matter of policy I would recommend we not carry more than 2 versioned u-boot recipess at any given time. This will provide BSP layers time to migrate to the newer version, without cluttering oe-core with numerous stale versions of u-boot. We may decide later to resurrect u-boot_git.bb as an AUTOREV recipe to faciliate upstream development on u-boot in the oe environment. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Jason Kridner <jkridner@beagleboard.org>
* u-boot: remove UBOOT_MACHINE and COMPATIBLE_MACHINESDarren Hart2011-05-272-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oe-core does not define any machines, so it does not make sense to add machine specific information in the oe-core u-boot recipe and infrastructure. Also note that COMPATIBLE_MACHINES is not easily extended due to its regex syntax: "(machine_a|machine_b)", making it difficult to extend the u-boot recipe in bbappend files without resorting to machine specific overrides. Remove COMPATIBLE_MACHINES and the default UBOOT_MACHINE from the recipe and insert some anonymous python into u-boot.inc to raise SkipPackage if UBOOT_MACHINE is not set (this ensures 'world' still works for machines that can't build u-boot). UBOOT_MACHINE must now be specified in each machine config that requires u-boot. This is an improvement over requiring machine specific overrides in every BSP layer's u-boot_git.bbappend file. For example, a beagleboard machine config currently contains: UBOOT_ENTRYPOINT = "0x80008000" UBOOT_LOADADDRESS = "0x80008000" With this change, it must now contain: UBOOT_MACHINE = "omap3_beagle_config" UBOOT_ENTRYPOINT = "0x80008000" UBOOT_LOADADDRESS = "0x80008000" So long as the SRC_URI in the base recipe can build a working u-boot for a given machine, there is no need to create a u-boot_git.bbappend file. If additional patches are deemed necessary, a BSP layer creates a u-boot_git.bbappend file and extends the SRC_URI to include general or machine specific backports. Note: I used bb.note() instead of bb.debug() to ensure the message at least makes it to the console. From what I could gather, bb.debug() doesn't go anywhere during recipe parsing. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Jason Kridner <jkridner@beagleboard.org> Cc: Chris Larson <clarson@kergoth.com>
* qemu-config: add runtime dep on dbus-x11Koen Kooi2011-05-261-5/+6
| | | | | | | | | dbus-launch moved into the dbus-x11 packages, so we need to drag it in. Also reorder fields to better fit with the styleguide Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "u-boot: fix LIC_FILE_CHKSUM"Richard Purdie2011-05-201-1/+1
| | | | | | This reverts commit bbdd81fcd25d2d5aa730a1ea99eecf50a2111989. Saul discovered this change was incorrect.
* u-boot: fix LIC_FILE_CHKSUMSaul Wold2011-05-201-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* usbutils: Update to 0.91Saul Wold2011-05-191-3/+3
| | | | | | Also move the upstream location to kernel.org Signed-off-by: Saul Wold <sgw@linux.intel.com>
* u-boot: update SRCREV to 2011.03Darren Hart2011-05-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO 1029] u-boot 2010.12 fails to run on the Beagleboard C4 and xM Rev A boards. Commit 55aacbc30e48f6f8a73fb989a58625e70887bc01 suggests there was a mixup during development, as the MD5SUM change is from the 2011.03 SRCREV back to the 2010.12. Chances are a patch was never sent to update the SRCREV, leaving the MD5SUM in a bad state. Update the SRCREV and COPYING MD5SUM to use the 2011.03 version. Built and tested on Beagleboard xM Rev A and Beagleboard Rev C4. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Tested-by: Jeff Osier-Mixon <jefro@jefro.net> Cc: Jeff Osier-Mixon <jefro@jefro.net> Cc: Yi Zhao <yi.zhao@windriver.com> Cc: Robert Berger <pokylinux@reliableembeddedsystems.com> Cc: Gary Thomas <gary@mlbassoc.com> Merged Richard's removal of PR from PV Signed-off-by: Saul Wold <sgw@linux.intel.com>
* u-boot: Don't add PR in PV, its pointlessRichard Purdie2011-05-191-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: add Upstream-Status to various recipe patchesScott Garman2011-05-182-20/+28
| | | | | | | | | | | | | | Add Upstream-Status tag to patches for the following recipes: apmd insserv linuxdoc-tools openjade sgmlspl at sudo Signed-off-by: Scott Garman <scott.a.garman@intel.com>