summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* kernel.bbclass: Add fix from OE.dev for tmpnam() usageRichard Purdie2011-02-011-2/+5
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Use relative path in sysroot-destdir for target recipesDongxiao Xu2011-01-211-1/+1
| | | | | | | | | | Original we used absolute path in sysroot-destdir for both native and target recipes. This commit changes target recipes to use relative path which is same as the image directory. [sgw: merged with libtool sysroot work] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* kernel.bbclass: Remove a binary generated by recent kernel versionsRichard Purdie2011-01-121-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel bbclass: add 'perf' to kernel-modules blacklistKoen Kooi2011-01-121-1/+1
| | | | | | | This makes 'kernel-modules' installable again when perf isn't enabled in the kernel config Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Ensure TOOLCHAIN_OPTIONS is passed to KERNEL_CC and KERNEL_LDRichard Purdie2010-12-301-2/+2
| | | | | | | | This fixes various incorrect sysroot usages observed by people with sstate. Thanks to Kevin Tian for figuring out where the problem was and Gary Thomas for confirming the fix. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Use KERNEL_IMAGE_BASE_NAME variable instead of the expanded ↵Richard Purdie2010-12-201-3/+3
| | | | | | equivalent. Fixes sstate rebuild issue Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Set vardepsexclusive for KERNEL_IMAGE_BASE_NAMEKevin Tian2010-12-161-0/+2
| | | | | | | | | Exclude the DATETIME variable from the KERNEL_IMAGE_BASE_NAME variable. This avoids the last road block linux-yocto for sstate. Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Rename do_deploy so the function can be overridden in recipesKevin Tian2010-12-161-1/+3
| | | | | Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: prefer the kernel produced uImageBruce Ashfield2010-11-101-1/+3
| | | | | | | | | | | | The custom uImage produced by the kernel classes by default does not universally boot and working with existing uboot configurations and setups. This changes the preference to the uImage constructed by the kbuild processes and falls back to the other techniques if uImage is requested by the kernel does not produce one. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kernel.bbclass/linux-wrs: move definition of perf package to kernel classJoshua Lock2010-09-081-0/+5
| | | | | | | | By defining the perf package in the shared kernel class bitbake will be able to find the package provider even when the preferred kernel doesn't build perf, preventing dependency resolution failures. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* deploy.bbclass: use new style staging for deploy tasksJoshua Lock2010-08-191-12/+7
| | | | | | | | | | All tasks which implement a do_deploy should inherit this class to have the changes in the deploy task staged. Update recipes which include a do_deploy function to inherit this class and to use DEPLOYDIR rather than DEPLOY_DIR_IMAGE. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* kernel.bbclass: Fix adding module dependencies to RDEPENDSJoshua Lock2010-08-171-0/+3
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* kernel.bbclass: do_deploy should use ${B}, not ${S} (which is what ${B} ↵Richard Purdie2010-08-111-1/+1
| | | | | | defaults to) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Exclude scripts/dtc object filesRichard Purdie2010-08-101-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel/package.bbclass: Handle kernel module stripping centrallyRichard Purdie2010-08-101-3/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Clean up kernel packaging outputRichard Purdie2010-08-101-1/+9
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Simplify shell syntax so pysh can cope with itRichard Purdie2010-08-041-7/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu/mips: arrange for vmlinux to be bootableBruce Ashfield2010-07-191-1/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kernel.bbclass: Remove additional binaries from stagingScott Garman2010-06-231-3/+9
| | | | | | | * Remove additonal binaries known to cause "strip command failed" errors during do_package on cross platforms. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* kernel.bbclass: Drop code which is duplicated later in the function, fixing ↵Richard Purdie2010-06-091-8/+6
| | | | | | older kernel builds Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Simplify the current external module codeRichard Purdie2010-05-241-45/+21
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Stop staging binaries within scripts/Scott Garman2010-05-241-0/+6
| | | | | | | * Preserves scripts/ directory but excludes binaries known to cause "strip command failed" errors during do_package on cross platforms Signed-off-by: Scott Garman <sgarman@zenlinux.com>
* kernel.bbclass: tidy up staging of headersJoshua Lock2010-05-201-3/+6
| | | | | | | | The changes merged from upstream used the ASMDIR variable even when it might not have been set. These changes may be incorrect but at the very least I can now build a QEMU image (including v86d) with the 2.6.33 kernel now. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* kernel.bbclass: Package Kernel firmwareJoshua Lock2010-05-201-0/+3
| | | | | | Merged change from OE.dev to create packages of the kernel firmware Signed-off-by: Joshua Lock <josh@linux.intel.com>
* kernel.bbclass: match x86 header installation to other architecturesJoshua Lock2010-05-201-2/+3
| | | | | | | The header installation for x86 was slightly different as to that employed for other architectures, change them to match for consistency. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* kernel.bbclass: fix installing of kernels 2.6.34 and aboveJoshua Lock2010-05-191-17/+22
| | | | | | | Changes merged from upstream to cope with changes to directory structures in recent kernels when building for x86 Signed-off-by: Joshua Lock <josh@linux.intel.com>
* kernel.bbclass: Use B, not S in KERNEL_VERSIONRichard Purdie2009-12-181-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Sync with OE.devRichard Purdie2009-12-141-4/+22
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Merge do_stage into do_installRichard Purdie2009-11-191-63/+64
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixesRichard Purdie2009-11-161-3/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Remove and sanitise import statementsRichard Purdie2009-11-131-7/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: We dont want to tar lib/ if we dont have any modulesSamuel Ortiz2008-10-291-1/+3
|
* kernel.bbclass: Sync with OE and get recent kernel i386 -> x86 fixesRichard Purdie2008-06-051-30/+40
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4585 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Use INHIBIT_DEFAULT_DEPS to drop virtual/libc dependency ↵Richard Purdie2008-04-081-1/+4
| | | | | | since the kernel doesn't need it git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4209 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: use u-boot-mkimage-native for uImage kernels (from linux.inc)Marcin Juszkiewicz2008-03-251-1/+13
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4116 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Add staging hooksRichard Purdie2008-03-201-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4100 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: added deploy task from linux.inc recipeMarcin Juszkiewicz2008-02-061-0/+34
| | | | | | | | | - creation of modules.tgz - uImage mangling with uboot-mkimage - symlinking built kernel git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3676 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: indent sizecheck function like rest of fileMarcin Juszkiewicz2008-02-061-6/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3675 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Cleanup various repetition, add include/video to staged ↵Richard Purdie2008-01-101-19/+6
| | | | | | files list git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3455 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: added task which check size of kernel imageMarcin Juszkiewicz2007-12-061-0/+14
| | | | | | | Code was taken from linux.inc, variable with size is KERNEL_IMAGE_MAXSIZE git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3314 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Add menuconfig taskRichard Purdie2007-09-171-0/+12
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2746 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Add kernel-vmlinux packageRichard Purdie2007-09-111-1/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2724 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Sync with OE for packaging changesRichard Purdie2007-08-291-10/+27
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2597 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Remove broken and unused PARALLEL_INSTALL_MODULESRichard Purdie2007-08-081-35/+0
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2405 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Drop KERNEL_RELEASE variableRichard Purdie2007-01-081-20/+15
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1123 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Unset MACHINE to avoid problemsRichard Purdie2006-11-201-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@874 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Sync with updates in OE to work with kernels >= 2.6.18Richard Purdie2006-11-021-27/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@851 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync with OERichard Purdie2006-08-271-3/+18
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@651 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename /openembedded/ -> /meta/Richard Purdie2006-07-211-0/+435
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966