summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* kern-tools: add buildall and robustness fixesBruce Ashfield2012-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the kern-tools SRCREV to pickup the following functionality: - buildall: provides the ability to build all kernel branches without a build system, only a cross compiler and configme are required. - robustness/cleanups: obselete/unused code removal and general robustness fixes from Paul Gortmaker and Bruce Ashfield The following kern-tools commits are part of this series: b8dfd3d buildall: add whitelist/blacklist support 0ef039c configme: catch errors found during fragment sanitization 5b6498c buildall: remove all instances of it using/reading scc files 2e57550 buildall: support semi seamless restarts 4b5dd4d kconf_check: simplify cmdline args, dont store data per branch 58fbb6e configme: relieve it of all knowledge of scc files a03e291 configme: strip out alternative meta series logic. 96d2bcf kgit-init: check for valid branchpoint 5598db6 buildall: allow a max cap on the number of builds done b46abec buildall: add support for randomizing build order 68a04e9 buildall: dont copy failed build logs into main build dir 5575d85 buildall: script to independently build all board kernels 86d6200 configme: delete unused variable 8d4e29d configme: delete unused KPROFILE setting 7e15436 configme: ensure we have a valid machine type set 152b9cb scc: remove depreciated/unused commands bb4e96a scc: allow includes within conditional statements 7da7951 configme: derive path to tools from $0 152dc45 configme: test for BUILD_DIR != "" 129f7b0 kgit-scc: add warnings about bad input args. e977662 kgit-scc: add text for no arg and invalid arg case. [YOCTO #843] (From OE-Core rev: be3cff86d55db6255e036d68e943e527802b4f4c) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: update to main repo on kernel.orgPaul Gortmaker2012-06-251-5/+5
| | | | | | | | | | | This is now the authoratative repository, taking updates. The latest has a couple updated license files, vs. the previous srcrev that was used. (From OE-Core rev: b9d42ec94dfcbe92ce2a857045a0e3678c05c26c) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: use kernel-arch to set ARCHBruce Ashfield2012-06-211-26/+4
| | | | | | | | | | | linux-libc-headers no longer needs its own ARCH mapping code, since the mapping done in kernel-arch works and we can consolidate all arch mapping code in a single place. (From OE-Core rev: 7d73cfb2ae24ad2b694244c56dd4648ba7e2df11) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-kernel: remove linux-tools.incBruce Ashfield2012-06-217-53/+0
| | | | | | | | | | | perf has been moved to a standalone package, making linux-tools.inc unecessary. It can now be removed and recipes that included it updated. (From OE-Core rev: b485f3e0e55ad62079ed0913970ff0620f4808ea) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-kernel: make perf a standalone packageLiang Li2012-06-211-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | perf has been coupled to the kernel packages via kernel.bbclass. While maintaining the build of perf out of the kernel source tree is desired the package coupling has proved to be awkward in several situations such as: - when a kernel recipe doesn't want to build/provide perf - when licensing of dependencies would prohibit perf and hence the kernel from being built. To solve some of these problems, this recipe is the extraction of the linux-tools.inc provided perf compilation into a standalone perf recipe that builds out of the kernel source, but is otherwise independent. No new functionality is provided above what the linux-tools.inc variant provided, but the separate recipe provides baseline for adding new functionality. (From OE-Core rev: ab883d0c1a05bd99e97e5d71bc7bed05cb1ae8c8) Signed-off-by: Liang Li <liang.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-viewer: clean up FILE after PACKAGE reorderSaul Wold2012-06-211-1/+2
| | | | | | | (From OE-Core rev: 2692ff51924f003012f635a5e96eea96bf98a724) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: create linux-yocto-rt recipeBruce Ashfield2012-06-152-1/+33
| | | | | | | | | | Adding the 3.4 variant of the linux-yocto-rt recipe. This updates to 3.4.1-rt9, and builds and boots on the supported targets. (From OE-Core rev: 7f007994cbc5f188439ad2b26f60dbcc1c2763bd) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: update yaffs2 and drop rc6Bruce Ashfield2012-06-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the 3.4 SRCREVs to pickup a yaffs2 update and the removal of a feature that was required in the 3.2 kernel tree. 1/2 [ meta: rc6: remove rc6 patches for snb The sandybridge rc6 patches are part of the released v3.4 kernel. Hence there is no need to keep these patches in the 3.4 linux yocto kernel repository. (From OE-Core rev: 7822565a3a3ae906112c88f7e59f396c7fdabd4c) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> ] 2/2 [ yaffs2: update core support Uprev yaffs2 to latest version as of 2012-05-29 To include the following commits: 662466a yaffs2 checkpointing: Add further checkpoint data sanity checking d9cae0a yaffs2: Make checkpoint block scanning skip bad blocks. eb12d56 Remove trace that should not be in mounting. 9ee5d06 yaffs for u-boot: Cleanups to make patches acceptable for u-boot 83d9993 Merge remote branch 'origin/master' 07353dd Clean up checkin. Do not use 00ebf30 Update timothy test Makefile 1658295 yaffsfs: Allocate directory searches from a table rather than via malloc. 8dae7f1 Fix compilation of python tests. 14ff4e1 yaffs u-boot: Fix problem if an illegal nand chip number is entered. 8b34846 Set up u-boot glue code and patching scripts. 1a17e3a Add more descriptive comment for using the yaffs commands. 80f8530 Add files to hook up yaffs direct to u-boot 95ff7ef Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2 e49491a Put both the summary and checkpoint version stamps together, update checkpoint version 468d72b Fix compilation of mkyaffsimage and mkyaffs2image 87166df Fix resizing of large files. eeb0f17 Fix summary header validation d308180 Add a summary header 7862c13 Remove extra line from banner. d14c6a6 Add script to handle common Linux and direct files 6518138 Change Makefiles to support new way to structure yaffs_strxxx renaming for yaffs direct 8429784 Update README about linux patching 6ee2533 Update Makefiles for new sed-based way case-insensitive handling 2369fad Set up new version of case insensitive code using sed 4d8ae2f Add large file support changes to yaffs_vfs_single.c ce0a5fb Merge branch 'big-files': Merge in large file support 80d031a Add Waldemar's patches for Linux 3.2 a7ae50c yaffs large file support: Fix max file size issue that prevented the scanning working. a7cb3a3 WIP Changes to tests 2360446 yaffs large file support: Add more tests 0ed6086 yaffs large file support: Saves and restores large files fine under yaffs direct. fc4028b large file storage WIP. Can save and verify a large file under yaffs direct. 20de150 WIP large file support b4d93e2 First cut of changes to support large files. Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update Upstream-Status and use correct syntaxAndreas Müller2012-06-131-1/+1
| | | | | | | | | | | patch was applied [1] http://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commit;h=41df51cb6a6d3f09f8b57cb216dffa5ba335e326 (From OE-Core rev: 7fbe687da742be638d8c19f522d22fe9d6e8147a) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: set default LINUXLIBCVERSION to 3.4Bruce Ashfield2012-06-111-0/+6
| | | | | | | | | | | | The 3.4 kernel is released, and is the default for qemu* builds, so we can safely update the default libc-headers version to 3.4. Built and booted for qemu* (From OE-Core rev: 3e57510bb11b350fbe15cae2fb5bf851956061ac) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.2: fix meta SRCREV typoTom Zanussi2012-06-111-1/+1
| | | | | | | | | Remove a stray character at the end of the meta SRCREV. (From OE-Core rev: 009f7734e880084a5b01d8377cb006dc82f1d278) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: anchor KMACHINE testBruce Ashfield2012-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the kern-tools SRCREV to pick up the following fix: Out of tree feature descriptions (.scc files) take two forms: normal features and BSP descriptions. A normal feature is detected and added to the end of the current machine being processed. During tree processing, it's configuration and patches will be applied. A BSP description on the other hand must be matched based on three critera (which are in the .scc file via "define <foo>"): - machine - kernel type - architecture Since features that define machines are only explicitly added, they are removed from the list of features that should be automatically added. The criteria for removing them from the auto-add list is the definitions found in the .scc file. The existing check was simply for KMACHINE anywhere in the file. This meant that a conditional or even a comment containing that phrase would exclude a file. Properly anchoring the KMACHINE test to "^define.*KMACHINE" fixes the problem of overly agreesive exclusions. (From OE-Core rev: 75a973328d50ef3c007edb7a471ea77fb97911ea) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.0: add cedartrail kernel featuresBruce Ashfield2012-06-082-2/+2
| | | | | | | | | | | Updating meta to move Kernel Features out of the BSP and add to the Cedartrail Machine branch. (From OE-Core rev: e44b616309dd8e442c7cd13c4c0b1a4ee41ac40f) Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.2: fri2 and chiefriver machine updatesBruce Ashfield2012-06-083-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | Bumping the 3.2 SRCREVs to pickup the following configuration changes for the new chiefriver BSP and the existing fri2 machines: 5b4c9dc fri2: update base config cdfbb50 fri2: add usb-mass-storage to standard and preempt-rt 3c1af06 fri2 update: drop NETDEVICE, e1xxx, usb-mass-storage, add iwlwifi feature 26a4d79 iwlagn: Correct a comment typo ade9c57 iwlwifi: Add a feature for iwlwifi 571b6cb fri2: Configuration update (usb, wifi, i2c) b257485 meta: add tmp/rc6 feature 24c6494 chiefriver: create initial BSP infrastructure All branches are also updated with the following fix: 1ce6700 efi: Add patch to fix 32bit EFI service mapping (rhbz 726701) (From OE-Core rev: 0bef6360305c7d8cfa48e8132b3eeb2ac1b4236e) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: add 3.4 recipeBruce Ashfield2012-06-081-0/+38
| | | | | | | | | | | | | Introducing the 3.4 kernel recipe. At this point there are three supported kernel 3.4, 3.2 and 3.0. Build and boot tested on qemux86, qemux86-64, qemuarm, qemumips and qemuppc (From OE-Core rev: f85c3f727fd326fe6dd2f2c2b68c692515867737) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: add machine aliases for yocto BSPsBruce Ashfield2012-06-085-34/+5
| | | | | | | | | | | | | | | | | To avoid mapping machine names to kernel machine names in recipes, we can define multiple KMACHINE names for a single in tree board. This allows the tools to match a board description to multiple different MACHINEs. As a result, we can remove the explicit KMACHINE mappings from the linux-yocto recipes and allow the KMACHINE=${MACHINE} default to handle mappings. Individual recipes an bbappends can override this as required. (From OE-Core rev: d3dc05a4b808136876cb257a568737abfaceeadd) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: remove v2.6.37 recipeBruce Ashfield2012-06-081-38/+0
| | | | | | | | | | With the introduction of the 3.4 kernel recipe, the 2.6.37 kernel recipe is removed, keeping the supported list at three kernels. (From OE-Core rev: 96ae45be42dcab338e9f8e3aebd2217146a79f87) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.0: update to v3.0.32Bruce Ashfield2012-06-082-11/+11
| | | | | | | | | | Updating the 3.0 kernel SRCREVs to integrate the v3.0.32 -stable release. (From OE-Core rev: be8b5332ddc8e3e1a1fb8fb119c5ab5c7c290c99) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.2: update to v3.2.18Bruce Ashfield2012-06-083-13/+13
| | | | | | | | | | Updating the 3.2 kernel SRCREVs to pickup the -stable update to v3.2.18. (From OE-Core rev: 11f2e4b0dcfc66cd9982471173ba42c6e31b470a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: remove unused code, meta branch and directory assumptionsBruce Ashfield2012-06-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the kern-tools SRCREV to pick up fixes that remove unused code, transition code (tree format changes) and to remove assumptions about branch and directory naming. There are no user visible changes with this update, but the plumbing changes will be used in future updates for more generalized support. The commit details are below: Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Fri May 11 12:13:12 2012 -0400 kgit-publish: remove --remote option The ability to publish and automatically push a repository was never used, and is error prone. The complexit isn't needed in the script, so removing it is the best option. An explicit push after tree publication is suggested, or a wrapper script (specific to a particular infrastructure) around this script. (From OE-Core rev: 5b1a096211ebeb8dac4f1a39d96ae2f9a3d00634) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Fri May 11 12:04:09 2012 -0400 kern-tools: remove unused code, scripts and transition code The period of supporting old trees with a different meta branch name and directory structure are gone. So the cleanup and removal of the old structure can be completed. The meta branch and directory are now controlled via command line, or via the KMETA environment variable. No testing and conditional processing of the tree are required. Additionally, the generate_cfg script is no longer used, or is the branch conditing code in createme. So they can be safely removed from the tools and repository. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Thu May 10 12:18:19 2012 -0400 kern-tools: remove meta tag and directory assumptions During repository sanity checks (createme) and during the checkpoint process, there were several assumptions about the tree that either relied on a tag, or a particular directory name. With this set of changes, simply passing the meta branch name is enough to sanitize and restore the checkpoint. If no meta branch name is passed, the default of 'meta' is used for both the branch and meta data directory name. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Unbreak build for systems with nss headers installedAndreas Müller2012-06-083-7/+54
| | | | | | | | | | | | | | * discussed on [1] * patch sent to systemtap [2] [1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-June/023377.html [2] http://sourceware.org/ml/systemtap/2012-q2/msg00202.html (From OE-Core rev: bd17907884e3a1e1d711125a4b8def5263e97edb) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Remove bashism from recipeRichard Purdie2012-05-301-1/+1
| | | | | | | | Without this, the installed files get mangled when a dash shell is used. (From OE-Core rev: 59db7976fa870084af19d880e594b0e94678cf19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: use new update-alternativesMark Hatle2012-05-301-21/+18
| | | | | | | (From OE-Core rev: 5879e0d3a2b3a6d000e33cadf4407c38ae1eb1ab) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: updated to 2.0.1Bogdan Marinescu2012-05-252-32/+7
| | | | | | | | | | | Removed patch for ARM compilation, as it seems that the upstream fixed the ARM compilation problem in a slightly different way (tested by compiling lttng-tools for MACHINE=qemuarm) (From OE-Core rev: aa43a37da4f14b5a184f79b2ff43b0cd491e49af) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng2-ust: updated to version 2.0.2Bogdan Marinescu2012-05-251-4/+4
| | | | | | | | | Tested with 'lttv' on core-image-lsb. (From OE-Core rev: 871353ca368ef668750251b1d6a4d9de327f3131) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: fix build with automake 1.12Nitin A Kamble2012-05-253-1/+25
| | | | | | | (From OE-Core rev: 0ab7b586de076ae96cfa91b4f97815ea0893ef7f) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: policy cleanupsBruce Ashfield2012-05-183-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the meta SRCREVs to pickup configuration policy cleanups: 49f931b meta/fishriver: remove redundant features and options 51a6d3f meta/emenlow: remove redundant features and options 101dd7f meta/crownbay: remove redundant features and options 4110ecd meta/sugarbay: remove redundant features and options 0f1304a meta/jasperforest: remove redundant features and options 0a56a3b meta/common-pc-64: factor out SCSI CDROM option b71938a meta/common-pc-64: use usb-mass-storage feature 0724f40 meta: add scsi cdrom feature 438bca8 meta/common-pc: use usb-mass-storage feature c970881 meta: factor out SCSI options from the usb-mass-storage feature 4c8135e meta: add scsi disk feature 6872a81 meta: add scsi feature e706ec5 meta/sugarbay: factor out policy-related options 8b7fbc2 meta/jasperforest: factor out policy-related options fea1b0e meta/fishriver: factor out policy-related options 13bf9ab meta/emenlow: factor out policy-related options 4748d50 meta/crownbay: factor out policy-related options 44f592f meta/common-pc-64: factor out policy-related options 5a3f5c7 meta/common-pc: factor out policy-related options 1f5a10b meta/common-pc-64: use usb features 4b87723 meta/common-pc: use usb features 594ba05 meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature (From OE-Core rev: b8ce5b4a8f6ea5021e284dfd486593dbcfbe0502) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: update LICENSE field to GPLv2Bruce Ashfield2012-05-181-1/+1
| | | | | | | | | | | | | | | The LICENSE field for kern-tools was generic and leads to QA warnings from the license classs: "No generic license file exists for: GPL in any provider" Updating to a specific GPL version that matches the source fixes the warning. (From OE-Core rev: 72101b324062642474d67ee90356489993a973d0) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: intel BSP config changesBruce Ashfield2012-05-183-3/+3
| | | | | | | | | | | | | | | | | | | | Updating the meta SRCREV for the following fixes: 1dfd60f meta/fishriver: move smp options from recipe-space 012780a meta/emenlow: move smp options from recipe-space b59b1a5 meta/crownbay: move smp options from recipe-space 74dc6ac meta/sugarbay: remove boot-live options a4bedcb meta/jasperforest: remove boot-live options 4ae7b81 meta/sugarbay: use usb features 30e7e8c meta/jasperforest: use usb features 22d0c5d meta/fishriver: use usb features e262965 meta/emenlow: use usb features (From OE-Core rev: 5bf86f42e25489ebe92d2c891ee7ee340d668e29) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "kmod: Use base_libdir for installing libkmod"Koen Kooi2012-05-171-2/+2
| | | | | | | | | | The commit breaks pkgconfig and after discussing it with the kmod and udev maintainers the conclusion was reached that putting the libraries in /lib instead of /usr/lib is not supported. This reverts commit 6b74f2461735272bd950a4f060dab6e778a36f92. (From OE-Core rev: 7163ebd92a799b8f000b2b6f303b20de468b5f90) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: fix upgrade path from module-init-toolsMartin Jansa2012-05-091-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PROVIDES does not need _${PN} * CONFLICTS should be RCONFLICTS * opkg needs RREPLACES to automatically remove older module-init-tools instead of just reporting it conflicts with kmod SHR root@gjama ~ $ opkg install kmod Installing kmod (7+git02629fa02e96763db7460a930239cc93649a52f8-r0.0) to root... Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/kmod_7+git02629fa02e96763db7460a930239cc93649a52f8-r0.0_armv4t.ipk. Removing package module-init-tools-depmod from root... update-alternatives: removing //sbin/depmod as no more alternatives exist for it Removing package module-init-tools from root... update-alternatives: Linking //sbin/insmod to ../bin/busybox update-alternatives: Linking //sbin/modprobe to ../bin/busybox update-alternatives: Linking //sbin/rmmod to ../bin/busybox update-alternatives: removing //sbin/modinfo as no more alternatives exist for it update-alternatives: removing //bin/lsmod as no more alternatives exist for it update-alternatives: Linking //sbin/lsmod to ../bin/busybox Configuring kmod. update-alternatives: Linking //sbin/insmod to /sbin/insmod.kmod update-alternatives: Linking //sbin/modprobe to /sbin/modprobe.kmod update-alternatives: Linking //sbin/rmmod to /sbin/rmmod.kmod update-alternatives: Linking //sbin/modinfo to /sbin/modinfo.kmod update-alternatives: Linking //bin/lsmod to /bin/lsmod.kmod update-alternatives: Linking //sbin/lsmod to /bin/lsmod.kmod update-alternatives: Linking //sbin/depmod to /sbin/depmod.kmod (From OE-Core rev: 8de7f8045f28aecfe796afcdb013c557ce9d1372) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Use base_libdir for installing libkmodKhem Raj2012-05-091-1/+1
| | | | | | | | | | | | | This also helps avoid QA errors about binaries accessing contents from /usr/lib Also fixes emptry libkmod problem since now the files are installed in expected place (From OE-Core rev: 6b74f2461735272bd950a4f060dab6e778a36f92) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Update to .8+ releaseKhem Raj2012-05-091-2/+2
| | | | | | | (From OE-Core rev: 8dd0e28809dba8ce6d42c127041c591664c81c59) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: fix do_patch errorsBruce Ashfield2012-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linux-yocto repository and scripts can support a mode of meta data management that merges a base meta branch to every BSP branch. In this case, the scripts don't have to restore a checkpoint for the meta data to be globally accessible. The decision to restore or not is made based on whether or not the meta branch is part of all branches or not. The linux-yocto recipes have a sanity check to determine if the requested SRCREV for meta data matches the head of the meta branch (via do_validate_branches). If the wrong commit is at the head, the meta branch is moved aside and the branch reset to the right commit. This creates two meta branches that contain the base meta data. The test for integrated meta data mistakes this for a globally merged set of meta data and doesn't restore the checkpoint, which leads to build failures. The immediate fix is to allow two branches to have the meta data. The long term fix is to make the detection only consider if the build branch contains the meta data. (From OE-Core rev: bd794b92d12ceda2728520701e980b7a3cabd23d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: include libkmod also from libdirMartin Jansa2012-05-091-1/+1
| | | | | | | | | | * until it's decided it should be installed in base_libdir or libdir * fixes libkmod packaging (From OE-Core rev: 87249372b4a9951f9e4dc6acece950718382a164) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: integrate minor fixesBruce Ashfield2012-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the SRCREV to pick up two minor fixes: 1/2: kgit-init: correct spelling of createme kgit-init copies the kern-tools scripts and intends to copy createme. The typo is in the usage() of updateme as well. (From OE-Core rev: 043871d7e5d2d19c2ff43e54d2ff180c09e8903e) Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> 2/2: kconf_check: fix bad quoting around missing_required.cfg missing_required.cfg won't have it's path truncated (if applicable), since the quoting it wrong. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: streamline support for multiple upstream repo typesBruce Ashfield2012-05-087-13/+26
| | | | | | | | | | | | | | | | | | | | In order to support repositories of various types (with or without meta data, branched, pristine, custom, etc) information about the type of processing that is required was passed to the processing phases via variables. The combination of variables involved in coordinating the processing creates a learning curve and overly complicates recipe extensions. With minor tweaks to the kern-tools, adding flexibility and keying off the existence of the meta branch it is possible to remove all of the variables that were added to support different repository types. (From OE-Core rev: 06e5f45c8f38925cd5902a3a3f436f5e9451dd16) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.2: configuration and pch mergeBruce Ashfield2012-05-083-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the 3.2 SRCREVs to import the following meta/config changes: 6b3d4e0 meta: add mei feature 519abac meta: add usb/uhci-hcd feature a67c5a3 meta/crownbay: use usb features 0855066 meta: add usb/ohci-hcd feature 15f1a99 meta: add usb/ehci-hcd feature 8fa6408 meta: add usb/xhci-hcd feature c724a55 meta: add usb/base feature b55b3a1 sys940x: Cleanup sys940x.scc 93f2e97 sys940x: Use PHYSICAL_START of 0x200000 to boot aaa034b sys940x: Add common standard and preempt-rt features e2b1286 sys940x: Add efi-ext to standard and preempt-rt configs d188c21 sys940x: Move emgd-1.10 data to the standard scc file 72d9369 fri2: Cleanup fri2-$KTYPE.scc files re efi-ext.scc dbcb120 fri2: Use emgd-1.10 feature and branch And the following driver fix: f39a0a9 pch_gbe: Do not abort probe on bad MAC (From OE-Core rev: 612047a20ca400b932ccc634ddb759460d69fdce) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* module-init-tools: DeleteKhem Raj2012-05-079-147/+0
| | | | | | | | | Since its provided by kmod (From OE-Core rev: 27bc204010b9dccb30847d7b3216f8b1e106f64e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: disable man pages generation because we don't have working xsltprocMartin Jansa2012-05-073-4/+27
| | | | | | | | | (From OE-Core rev: 7d782a6ef77072d7f0fe50d8208c24c9e9ea9507) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Add recipesKhem Raj2012-05-074-0/+113
| | | | | | | | | kmod is replacement for module-init-tools (From OE-Core rev: 716606f5446534e48b45fcc017e8bbdfe7f15e26) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/meta: remove kernel config audit warningsBruce Ashfield2012-04-175-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the meta SRCREVs to pickup the following meta change for the 3.0 and 3.2 kernels: [ meta: Clean up BSPs kernel config Clean up some QEMU and non-x86 BSPs kernel config, including qemuarm qemuppc qemux86 beagleboard mpc8315e_rdb Only obsolete/invalid kernel configs are removed. (From OE-Core rev: 1f68d624c109c3f31a6f2f6106b5ef56e3d9a166) Signed-off-by: Yang Shi <yang.shi@windriver.com> ] With this commit, the configuration audit for the qemu and hardware reference boards is (largely) warning free. Signed-off-by: Yang Shi <yang.shi@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/meta: beagleboard: disable CONFIG_PREEMPTBruce Ashfield2012-04-175-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Updating the meta SRCREV for both the 3.0 and 3.2 kernel trees to pickup the beagleboard xM boot fix: [ meta/beagleboard: disable CONFIG_PREEMPT The boot hangs with the message: mmc0: error -110 whilst initialising SD card The MMC driver has issues initializing when PREEMPT is enabled (either forced or voluntary). Unplugging and then plugging the card back will reset the driver and continue booting. Alternatively, disable preemption. ] [YOCTO: #1892] (From OE-Core rev: 36e9e6a88bc4436efefd4a25c0a58be75f887142) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: .diff is a valid patch extensionBruce Ashfield2012-04-171-1/+1
| | | | | | | | | | | | | | | | | In fixing an existing patch migration bug, the list of valid extensions got out of sync from the core patch class. As a result, valid patches were not being applied to the tree. Updating the tools to migrate .diff files fixes the issue. Also in this fix is the removal of .patch in the find_sccs() routine, since it will never be returned by patch.bbclass when all non-patches are requested, it is simply confusing. (From OE-Core rev: 0ade3f26f40b67d7296725b1e956c46be9a86089) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Ensure FILESPATH is set so systemtap-uprobes can find patchesRichard Purdie2012-04-141-0/+2
| | | | | | | | | This allows systemtap-uprobes to build again after the recently added patch broke the builds. (From OE-Core rev: 4bbe926f3ca68297d70849bab67177da624316d1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: disable document generation by defaultTom Zanussi2012-04-141-0/+4
| | | | | | | | | | Building the systemtap documentation adds significantly to the build time, so disable it by default. (From OE-Core rev: e37391a949fb0a6edf87eb910e93a17caf309119) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: fix docproc build errorTom Zanussi2012-04-143-2/+27
| | | | | | | | | | | | | When building docs in systemtap, docproc is used to generate the tapset documentation, but it gets built for the target, while it needs to be build for the host instead. This change causes that to happen. Fixes [YOCTO #2193]. (From OE-Core rev: 6ef7112e339bb5c03dee862bc56c10fdf677be78) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: allow .cfg, .scc, .patch and defconfigs to be processed in orderBruce Ashfield2012-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | During testing/extension of the linux-yocto-tiny kernel it was found that defconfigs were not always properly applied. This was due to two issues: - not being able to fully control the order of objects applied to the git tree on the SRC_URI - defconfigs triggering --allnoconfig before being applied To fix this, the recipe space code that previously detected and generated automatic features moves back to the kernel tools (where it was before) and is updated to also process .cfg and defconfigs. Moving this back to the tools allow other recipes to automatically benefit from the additional support. The second issue is addressed by allowing configme to take --alldefconfig when a recipe wishes to pass a defconfig and override the default behaviour. Fixes [YOCTO: 2250] (From OE-Core rev: 08c368b9980716e459d846dd7183940a5bf8bea4) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.2: add igb support to romleyBruce Ashfield2012-04-133-3/+3
| | | | | | | | | | | | | | | | | | Updating the 3.2 recipe SRCREVs to pickup the following meta change: [ meta: Add igb.scc to Romley Romley machine has 82580 Giga bit Ethernet Controller. Add the relavent Nic driver to it. (From OE-Core rev: d7c567816bf828da34fb9e315d4d76c4181337e9) Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-dtb: Ensure dtb files are covered by sstateRichard Purdie2012-04-121-3/+3
| | | | | | | | | | | | | The dtb files were not being installed into a location compatible with sstate and the do_deploy task. This means in builds just using sstate, the dtb files disappeared. This patch fixes the code to use the correct location for deploy files. [YOCTO #2190] (From OE-Core rev: 9815b7a95ac33d3234073cdd204d9389b4241189) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>