summaryrefslogtreecommitdiff
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto: streamline BSP bootstrappingBruce Ashfield2011-02-095-69/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to build BSPs that were not already integrated into the upstream linux yocto kernel AND keep the git fetcher happy, some fairly complex anonymous python sections were required. These sections cause problems with variable expansion and SRCREV processing. With the updated git fetcher code, we can streamline the BSP boostrapping process and drop 99% of the anonymous python code. This commit has the following changes to support BSP boot strapping and simplication for existing BSPs. - KMETA is set per-recipe rather than in python code - undefined machines are no longer used, but instead common branch names are set per-recipe - fallback machine SRCREVs are present in the default revisions file - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in the local.conf for new BSPs instead of being programatically determined in the anonymous python. - No more explicity KMACHINE variable expansion and manipulation, since the tools and build phases no longer require it due to the per-recipe fallbacks. Integrated/merged BSPs are unaffected by the changes and have been regression tested. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> foo Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* binutils-cross-canadian.inc: disable -werror like -cross doesKoen Kooi2011-02-091-1/+2
| | | | | | | | | | | | | | The error this works around is: cc1: warnings being treated as errors gas/config/tc-arm.c: In function 'parse_operands': gas/config/tc-arm.c:1876:27: error: 'firsttype$defined' may be used uninitialized in this function gas/config/tc-arm.c:1876:27: error: 'firsttype$index' may be used uninitialized in this function Ideally it should get fixed properly, but let's mimic binutils-cross for now Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: fix SDK_NAMEKoen Kooi2011-02-091-1/+1
| | | | | | | | | | | | | | It was using a '/' in a name variable, subtly breaking things like this: populate_sdk.bbclass: mkdir -p ${SDK_DEPLOY} cd ${SDK_OUTPUT} tar --owner=root --group=root -cj --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . Tar will error out since SDK_DEPLOY/DISTRO/ doesn't exist. Change the default to be more like the one from poky.conf, without the poky specific POKYLIBC. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fetch2: Add SRPM knowledgeMark Hatle2011-02-081-50/+2
| | | | | | | | | | | | | | | | Enable the fetcher to be able to unpack and SRPM. By default the system will unpack the contents of the SRPM into the WORKDIR. A new syntax "unpack=file" was developed for the SRC_URI, to allow for a recipe to extract a specific file within an SRPM. An unpack operation will then be executed on the extracted file. In order to apply extracted patches (or unpack files not specified with unpack), you must specify the path using WORKDIR, i.e.: file://${WORKDIR}/mypatch.patch Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* insane.bbclass: Fix config.log error messageMark Hatle2011-02-081-1/+1
| | | | | | | | | [BUG #702] The previous error message was confusing. It was looking for both library and include host contamination, but the message only indicated include files. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* linux-yocto-stable: Fix meta branch nameRichard Purdie2011-02-081-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: Ensure python code has awlays run before SRCPV is expandedRichard Purdie2011-02-081-2/+9
| | | | | | | | | | | | | The python code in this class file needs to run before SRCPV is expanded and calls into the fetcher are made. To so this we create a python function and prepend a call to it before SRCPV's get_srcrev() call. Ugly, ugly, ugly but the ordering is guaranteed. If this doesn't happen, the fetcher can end up in two different states and there may be caching implications of this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto/poky-default-revisions: Ensure SRCREV_machine is set for the ↵Richard Purdie2011-02-082-1/+2
| | | | | | | | | kernels If we don't do this and try to bring up a new machine we can trigger network access to resolve the branch name to a revision which is undesireable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-live.sh: add 'coldplug' udev triggerTom Zanussi2011-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #693] The init-live.sh script starts udevd in init-live.sh:early_setup(), but doesn't account for the possibility that the root device may have already been registered by the kernel before udevd starts up. If the device is detected after udevd starts up, everything's fine - udevd gets the 'add' uevent for the device, the root image shows up at e.g. /media/sda/rootfs.img, and the boot continues. If however the device is detected before udevd starts up, udevd misses the 'add' uevent and the root image never shows up, causing it to stay in the 'waiting for removable media' loop forever. The 'udevadm trigger' command is meant to be used to avoid this situation, but init-live.sh doesn't use it. Furthermore, since the default was changed in udev 152 from 'add' to 'change', the command needs to explicity name 'add' as the action. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* rpm: catch up with fetcher2Koen Kooi2011-02-071-11/+20
| | | | | | | | | | Update the rpm recipe after the recent changes to the fetcher API. Koen wrote the original patch, Richard cleaned it up and fixed it. This code needs to be merged into the fetcher instead at some point soon. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* beagleboard: allow kernel provider overrideDarren Hart2011-02-071-1/+1
| | | | | Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: uprev lttng to 2.6.37-lttng-0.242Bruce Ashfield2011-02-071-11/+11
| | | | | | | | | | commits: 7697c24..2e05e11 upstream: git://git.kernel.org/pub/scm/linux/kernel/git/compudj/linux-2.6-lttng.git Update to lttng-0.242 for 2.6.37. Built and boot tested on all architectures. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* mesa-demos: fix build issue with gcc dso linking changeNitin A Kamble2011-02-072-2/+26
| | | | | | | | | All the libraries needs to be specified explicitely with the new gcc dso linking change patch. This was causing build errors for this recipe. Specifying the libpthread library explicitely for linking to work without errors. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* util-linux: Add mount lock patchMark Hatle2011-02-072-2/+28
| | | | | | | | | Add the mount lock patch that moves the lock file from the potentially R/O /etc, to the R/W /var/lock directory. This resolves a problem when mounting when / (and /etc) is mounted R/O. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* sysfsutils: Merge bug fixMark Hatle2011-02-072-2/+25
| | | | | | | Merge a small bug fix located in the Fedora Core 9 version of this package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* coreutils: Add various bug fixesMark Hatle2011-02-076-0/+4403
| | | | | | | | | | | | | Add a number of bug fixes, mostly imported from Fedora and Wind River Linux. cp-i-u: fix unnecessary prompting fix-install: Fix installing to a dangling symlink i18n: li18nux/lsb compliance ls-x: Fix incorrect output overflow: Fix potential overflow in who command Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* busybox: Support DHCP refresh without restarting the interfaceMark Hatle2011-02-074-2/+141
| | | | | | | | | | | | | | | | When the kernel is started using ip=dhcp, we want a way to be able to run the udhcp client within busybox and not reset the interface. When using the '-D' option to udhcpc, the defconfig script will be skipped allowing the refresh without changing the network settings. Also provide an initscript that can be used to detect ip=dhcp on the kernel command line, if detected it will refresh the lease and set the proper resolve.conf and related files, but not reset the interface. Original code in Wind River Linux by Greg Moffatt <greg.moffat@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* pseudo: Uprev pseudo and fix a few minor bugsMark Hatle2011-02-074-15/+52
| | | | | | | | | | | | | Uprev pseudo to the latest version. This corrects a linking problem on some newer host systems. In addition, we add more detail to the local.conf.sample file to explain the NO32LIBS and why someone would set it to 0. Also fix a minor bug in pseudo that prevented it from building for the target. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* distrodata: Update to new fetcher APIRichard Purdie2011-02-071-35/+24
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utility-tasks: Update checkuri to new fetcher APIRichard Purdie2011-02-071-23/+8
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: 'standard' isn't a valid git branch name for a SRCREV, fixRichard Purdie2011-02-071-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Update extra unpack code after fetcher changesRichard Purdie2011-02-071-5/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/classes: Update classes to use new fetcher APIRichard Purdie2011-02-075-189/+63
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Update after fetcher changesRichard Purdie2011-02-071-3/+7
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Force git fetches to a new location after fetcher layout changesRichard Purdie2011-02-071-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Turn off mirror tarball generation by defaultRichard Purdie2011-02-061-0/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* prelink: Temporary workaround for documentation buildMark Hatle2011-02-051-0/+5
| | | | | | | | | | | | This issue is really do to the timestamps of files being different enough and that the make of the doc directory is being triggered by this. This is partly due to the new git fetcher laying the files down differently. Once this issue is resolve, this can be reverted. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Revert "iputils: enable generation of man pages"Saul Wold2011-02-031-5/+5
| | | | | | This reverts commit 62337be30b904542ca46333aa9b58fe0f09d3561. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Revert "docbook-utils: new recipe v0.6.14"Saul Wold2011-02-031-20/+0
| | | | | | This reverts commit 8b5e600141b2b4275551bea925a2e63cfe1297bd. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Revert "docbook-utils: fix build errors"Saul Wold2011-02-031-30/+0
| | | | | | This reverts commit 3eef8470547beed186c38a7da44cb8e22e1497e8. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* package.bbclass: Optimise file dependency calculations to ignore locales and ↵Richard Purdie2011-02-031-1/+1
| | | | | | kernel modules as these never have dependencies we'd detect anyway Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* beagleboard: set kernel provider to linux-yocto (2.6.37)Darren Hart2011-02-032-2/+2
| | | | | | | | | Support has been added for basic Beagleboard xM functionality, including networking, to the linux-yocto kernel repository. Tested on the Beagleboard xM. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>
* bitbake.conf & package.bbclass: Use default SUMMARY and DESCRIPTIONMark Hatle2011-02-032-9/+26
| | | | | | | | | | | | | | | A new default SUMMARY and DESCRIPTION was defined for any package that previously did not contain one. This value is based on the original SUMMARY_${PN} value. The new default SUMMARY and DESCRIPTION is used as a basis for all of the automatic summary and descriptions for the various package splits, include ${PN}, ${PN}-dbg, ${PN}-dev, ${PN}-doc, and locales. A recipe may also override any of the automatic summaries by simply specifying the value. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* recipes-graphics: Add more detailed SUMMARY and DESCRIPTIONSMark Hatle2011-02-03129-108/+790
| | | | | | | | | | | | | Add more detailed SUMMARY and DESCRIPTIONS to various graphics and graphics related components. I've recently gotten question from users what something is, or why it was needed.. this should go a long way toward answering those questions. Many of the descriptions were taken directly from the upstream location, where one was not available the Debian packages were consulted for information. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* bitbake.conf: Fix missing NM definitionMark Hatle2011-02-031-0/+2
| | | | | | | | The definition of NM was missing, causing certain configure calls to revert to using the host system's version of NM. This can cause problems on some MIPS based targets, but is theoretically wrong everywhere. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* linux-yocto: BSP updatesBruce Ashfield2011-02-032-13/+13
| | | | | | | | | Updating for the sugarbay and beagleboard BSPs. To make the sugbay inhert common-pc-64 generic config/changes/fixes it has been branched in the kernel as yocto/standard/common-pc-64/sugarbar, as a result, we'll bump the common-pc-64 to be yocto/standard/common-pc-64/base. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* gobject-introspection: fix DEPENDSJoshua Lock2011-02-031-1/+1
| | | | | | | We need flex and bison to build gobject-introspection Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* mailx: Disable parallel makeSaul Wold2011-02-031-0/+2
| | | | | | | When makeconfig is called multiple times via parallel make, it causes the LIBS files to get corrupted. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* license.bbclass: Add coverage by sstate code (also use cleandirs and dirs ↵Richard Purdie2011-02-032-13/+17
| | | | | | task attribures for directory handling) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rm_work: Retain package and package-split directories to be consistent with ↵Richard Purdie2011-02-031-1/+4
| | | | | | sstate code Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootrs_rpm.bbclass: Disable createrepo for now due to this error:Richard Purdie2011-02-031-2/+2
| | | | | | | | | | | + createrepo /media/build2/builds/rptest/b4/tmp/deploy/rpm | Traceback (most recent call last): | File "/media/build2/builds/rptest/b4/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", line 26, in <module> | import rpm | ImportError: No module named rpm Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-utils: fix build errorsScott Garman2011-02-031-0/+30
| | | | | | Fix build errors found in my first iteration of the recipe. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* wpa-supplicant 0.7.3: fix packaging of dbus service files and fix layout ↵Koen Kooi2011-02-032-3/+4
| | | | | | | variables Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libconvert-asn1-perl: upgrade from 0.21 to 0.22Nitin A Kamble2011-02-021-2/+4
| | | | | | | | | And fix following issue caused by the upgrade | Can't load '/build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/auto/File/Glob/Glob.so' for module File::Glob: /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/auto/File/Glob/Glob.so: wrong ELF class: ELFCLASS32 at /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/XSLoader.pm line 79. | at /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib/perl/5.12.2/File/Glob.pm line 96 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* subversion: upgrade from 1.6.13 to 1.6 15Nitin A Kamble2011-02-022-9/+21
| | | | | | | Rebased this patch to the newer code modified: subversion/disable-revision-install.patch Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* linux-yocto-stable: Update SRC_URI after fetcher changesRichard Purdie2011-02-021-3/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/linux-libc-headers-yocto: Adjust to git fetcher improvementsRichard Purdie2011-02-023-6/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Drop info directory listings as they're going to be ↵Richard Purdie2011-02-021-0/+4
| | | | | | broken if generated at this point and cause file conflicts Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Ensure SUMMARY is written to pkgdata as well as DESCRIPTIONRichard Purdie2011-02-021-0/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross-localedef-native: Fix do_move_ports since the definition of changes. ↵Richard Purdie2011-02-021-2/+2
| | | | | | Raises the question of whether we even need ports for this? Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>