summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
AgeCommit message (Collapse)Author
2011-03-02kernel: remove explicit bash call in do_menuconfigBruce Ashfield
Fixes [BUGID #598] The explicit addition of "bash" before "make menuconfig" is clearing variables that are required for pseudo. The end result is that menuconfig often fails silently with: ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored. Removing bash from the menuconfig SHELLCMDS variable fixes the psudo problem. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-03-01Ensure Bash is used when spawning terminalsJoshua Lock
We rely on Bashisms when spawning a terminal so ensure that bash is used when using devshell and menuconfig. Fixes [BUGID #119] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-02-14kernel.bbclass: add approproate X Environment variables to allow xterm to startSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-09kernel.bbclass: use defconfig if it existsDarren Hart
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>
2011-02-01kernel.bbclass: Add fix from OE.dev for tmpnam() usageRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-21staging: Use relative path in sysroot-destdir for target recipesDongxiao Xu
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>
2011-01-12kernel.bbclass: Remove a binary generated by recent kernel versionsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-12kernel bbclass: add 'perf' to kernel-modules blacklistKoen Kooi
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>
2010-12-30kernel.bbclass: Ensure TOOLCHAIN_OPTIONS is passed to KERNEL_CC and KERNEL_LDRichard Purdie
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>
2010-12-20kernel.bbclass: Use KERNEL_IMAGE_BASE_NAME variable instead of the expanded ↵Richard Purdie
equivalent. Fixes sstate rebuild issue Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-16kernel.bbclass: Set vardepsexclusive for KERNEL_IMAGE_BASE_NAMEKevin Tian
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>
2010-12-16kernel.bbclass: Rename do_deploy so the function can be overridden in recipesKevin Tian
Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-11-10kernel: prefer the kernel produced uImageBruce Ashfield
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>
2010-09-08kernel.bbclass/linux-wrs: move definition of perf package to kernel classJoshua Lock
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>
2010-08-19deploy.bbclass: use new style staging for deploy tasksJoshua Lock
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>
2010-08-17kernel.bbclass: Fix adding module dependencies to RDEPENDSJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-11kernel.bbclass: do_deploy should use ${B}, not ${S} (which is what ${B} ↵Richard Purdie
defaults to) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10kernel.bbclass: Exclude scripts/dtc object filesRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10kernel/package.bbclass: Handle kernel module stripping centrallyRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10kernel.bbclass: Clean up kernel packaging outputRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04kernel.bbclass: Simplify shell syntax so pysh can cope with itRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-19qemu/mips: arrange for vmlinux to be bootableBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-06-23kernel.bbclass: Remove additional binaries from stagingScott Garman
* 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>
2010-06-09kernel.bbclass: Drop code which is duplicated later in the function, fixing ↵Richard Purdie
older kernel builds Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-24kernel.bbclass: Simplify the current external module codeRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-24kernel.bbclass: Stop staging binaries within scripts/Scott Garman
* 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>
2010-05-20kernel.bbclass: tidy up staging of headersJoshua Lock
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>
2010-05-20kernel.bbclass: Package Kernel firmwareJoshua Lock
Merged change from OE.dev to create packages of the kernel firmware Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-20kernel.bbclass: match x86 header installation to other architecturesJoshua Lock
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>
2010-05-19kernel.bbclass: fix installing of kernels 2.6.34 and aboveJoshua Lock
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>
2009-12-18kernel.bbclass: Use B, not S in KERNEL_VERSIONRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-14kernel.bbclass: Sync with OE.devRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-19kernel.bbclass: Merge do_stage into do_installRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixesRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13classes: Remove and sanitise import statementsRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-10-29kernel.bbclass: We dont want to tar lib/ if we dont have any modulesSamuel Ortiz
2008-06-05kernel.bbclass: Sync with OE and get recent kernel i386 -> x86 fixesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4585 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08kernel.bbclass: Use INHIBIT_DEFAULT_DEPS to drop virtual/libc dependency ↵Richard Purdie
since the kernel doesn't need it git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4209 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-25kernel.bbclass: use u-boot-mkimage-native for uImage kernels (from linux.inc)Marcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4116 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-20kernel.bbclass: Add staging hooksRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4100 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-06kernel.bbclass: added deploy task from linux.inc recipeMarcin Juszkiewicz
- 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
2008-02-06kernel.bbclass: indent sizecheck function like rest of fileMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3675 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-10kernel.bbclass: Cleanup various repetition, add include/video to staged ↵Richard Purdie
files list git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3455 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-06kernel.bbclass: added task which check size of kernel imageMarcin Juszkiewicz
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
2007-09-17kernel.bbclass: Add menuconfig taskRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2746 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-11kernel.bbclass: Add kernel-vmlinux packageRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2724 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-29kernel.bbclass: Sync with OE for packaging changesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2597 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-08kernel.bbclass: Remove broken and unused PARALLEL_INSTALL_MODULESRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2405 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08kernel.bbclass: Drop KERNEL_RELEASE variableRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1123 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20kernel.bbclass: Unset MACHINE to avoid problemsRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@874 311d38ba-8fff-0310-9ca6-ca027cbcb966