summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* transfig: new recipe v3.2.5dScott Garman2011-02-091-0/+40
| | | | | | | Transfig provides fig2dev, which is used when building documentation for many packages. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* imake: add native support to recipe and update DEPENDSScott Garman2011-02-091-5/+5
| | | | | | | xorg-cf-files includes configuration files used by imake-based recipes. Also add native support to the recipe. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* libxpm: add native support to recipeScott Garman2011-02-091-0/+2
| | | | | | The native recipe is needed by the transfig-native dependency chain. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* libxext: add native support to recipeScott Garman2011-02-091-1/+1
| | | | | | The native recipe is needed by the transfig-native dependency chain. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* xorg-cf-files: new recipe v1.0.4Scott Garman2011-02-091-0/+14
| | | | | | | This package includes configuration files needed for old x11 imake-based packages - transfig in particular. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* uboot: move license data into recipe with SRC_URIDarren Hart2011-02-092-4/+1
| | | | | | | | | | | | The LIC_CHKSUM_FILES are specific to the source determined by SRC_URI. As such, keep all the license information together with the SRC_URI. This also avoids confusion from having these defined in both the .inc and the .bb files. The CHKSUM got out of date in u-boot_git.bb, so update it while we're at it. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Ilya Yanok <yanok@emcraft.com> CC: Gary Thomas <gary@mlbassoc.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org>
* uboot: build with -O2 on all architecturesDarren Hart2011-02-091-7/+2
| | | | | | | | | | | | | | | | | | | The -Os option was disabled due to a bug in gcc building bad binaries for ARM in an earlier commit: f2dc7fadd8c6b180c3f985873261216d53f47f0d This caused problems for powerpc which was resolved by replacing -Os with -O2 for that architecture: d0eb6794d964aa5ac938533a222c39bef09fd945 Using -O2 also works for ARM, so there is no need to condition using -O2 on powerpc. Remove the condition and use -O2 on all architectures. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Ilya Yanok <yanok@emcraft.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: use defconfig if it existsDarren Hart2011-02-091-1/+5
| | | | | | | | | | | It is common enough to want to apply a defconfig if the inheriting recipe provides it. If the file exists in the $WORKDIR, copy it over to ${S}/.config provided the target does not already exist. This allows for recipes derived from kernel.bbclass to manage the .config on their own, such as linux.inc. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* linux.inc: don't overwrite an existing uImageDarren Hart2011-02-091-1/+1
| | | | | | If a valid uImage exists, don't overwrite it with Image. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* u-boot: compile with -O2 on PowerPCIlya Yanok2011-02-091-1/+6
| | | | | | | | gcc on PowerPC is currently compiled with -Os optimization disabled so we have to use -O2 on PowerPC instead. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: add LIC_FILES_CHKSUMIlya Yanok2011-02-091-0/+2
| | | | | Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux/u-boot: Update LICENSE fields to specify GPL versionRichard Purdie2011-02-092-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux: add LIC_FILES_CHKSUMIlya Yanok2011-02-091-0/+2
| | | | | | | | Linux is licensed under GPL so add appropriate LIC_FILES_CHKSUM to linux.inc file. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Merge branch 'jzhang/i686' of ssh://git.pokylinux.org/poky-contribRichard Purdie2011-02-091-3/+3
|\
| * local.conf: change i586 to i686 for 32bit SDKJessica Zhang2011-02-081-3/+3
| | | | | | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
* | Merge branch 'jzhang/adt-repo' of ssh://git.pokylinux.org/poky-contribRichard Purdie2011-02-098-18/+17
|\ \
| * | adt-installer: change to adopt the adt public repo directory layoutJessica Zhang2011-02-088-18/+17
| | | | | | | | | | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
* | | mpc8315-rdb: add dtb generation configurationBruce Ashfield2011-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #610] dtb files were not being built for the mpc8315e-rdb, since they weren't being configured into the machine. With this and the related dtc fixes, we now get a dtb in the deployment directories. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* | | dtc: add LIC_FILES_CHKSUM to dtc-nativeBruce Ashfield2011-02-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The new license processing rules error if dtc-native itself doesn't have license information. Previously only the .inc files contained this information, so we make a copy and leave the existing license info to be removed pending further review. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* | | linux: factor dts/dtc/dtb handling into a specific includeBruce Ashfield2011-02-093-26/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #610] The powerpc linux-yocto kernels were not creating dtb images in the deploy directories. This was due to two problems: - the dtb generation rules were not being configured - the boards were not specifying a device tree in their config This change addresses the first point by factoring out the dtb generation routines into a new include that can be used by multiple recipes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* | | linux-yocto: streamline BSP bootstrappingBruce Ashfield2011-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | 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>
* | bitbake/fetch2: Fix negated if check for BB_FETCH_PREMIRRORONLYRichard Purdie2011-02-091-1/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | fetch2: Add SRPM knowledgeMark Hatle2011-02-083-74/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | bitbake/utils.py: add glob name matching to removeSaul Wold2011-02-081-8/+9
| | | | | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | bitbake/fetch2: Ignore UnboundLocalError in exception handler in try_mirrorRichard Purdie2011-02-081-2/+5
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Move symlink handling into try_mirror where is belongs ↵Richard Purdie2011-02-081-12/+21
| | | | | | | | | | | | instead of the main download function Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: When using BB_FETCH_PREMIRRORONLY, set BB_NO_NETWORK after ↵Richard Purdie2011-02-081-13/+15
| | | | | | | | | | | | premirrors as there could be data processing needed by the real fetcher Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Ensure we only remove files, not directories when fetch ↵Richard Purdie2011-02-081-3/+5
| | | | | | | | | | | | failures occur Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Ensure original ud is preserved in try_mirrorRichard Purdie2011-02-081-4/+4
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | 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>
* | bitbake/fetch2/git: Fix broken variable referenceRichard Purdie2011-02-081-1/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2/git: Ensure unresolved branches are translated into revisionsRichard Purdie2011-02-081-1/+2
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | fetch2: add try/finally to ensure lockfile is unlocked on failureSaul Wold2011-02-071-42/+44
| | | | | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | fetch2: add runfetchcmd to import for fetchersSaul Wold2011-02-076-2/+15
| | | | | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | 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>
* | bitbake/fetch2:Fetch Make using the fn based cache optionalRichard Purdie2011-02-071-3/+4
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Fix pickling issues with fetcher exceptionsRichard Purdie2011-02-071-14/+21
| | | | | | | | | | | | | | See the problems in http://bugs.python.org/issue1692335, need to set self.args correctly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Update mirror processing to ensure we look for mirror tarballsRichard Purdie2011-02-071-16/+21
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch2: Update forcefetch and mirror handling to clean up, simplfy ↵Richard Purdie2011-02-075-83/+67
| | | | | | | | | | | | and bug fix the code 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>