summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
AgeCommit message (Collapse)AuthorFiles
2009-12-31kernel.bbclass: copy gz, lzo, lzma initramfs cpio images. - since 2.6.30 ↵Andrea Adami1
there is choice between gzip and lzma for the initramfs.cpio - in patchwork there are pending patches for lzo compressor, so we add lzo too - patch is only concerning initramfs images
2009-12-23kernel, linux-kernel-base classes: update for 2.6.33-rc1 and newerMartin Jansa1
* include/asm link was killed in http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f7f16b7799ed68654850ab340ef812895aebcf4c * utsrelease.h was moved in http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=273b281fa22c293963ee3e6eec418f5dda2dbc83 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2009-11-23kernel.bbclass: force do_deploy call before do_buildMartin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-23kernel.bbclass, linux.inc: move do_deploy task after do_packageMartin Jansa1
* Move do_deploy after do_package in kernel.bbclass as RP said * Move devicetree_image before do_deploy in linux.inc, because it creates dependency loop if its between after do_package and before do_deploy. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-23kernel.bbclass: do_deploy modules.tgz should operating on PKGDRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-18move menuconfig task from "after do_patch" to "after do_configure";Phil Blundell1
patch from Przemyslaw Wesolek <przemyslaw.wesolek@cs.put.poznan.pl>
2009-11-16kernel.bbclass: Revert import os removal for nowRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16classes: Drop a number of unneeded import calls (from Poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-14kernel.bbclass: Fix populate_packaged 'D' referencesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-20kernel.bbclass: fix ownership inside the modules tarballDenys Dmytriyenko1
Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2009-08-24kernel.bbclass: Set EXTRA_OEMAKE to null for kernelDale Farnsworth1
Currently the only thing in EXTRA_OEMAKE is '-e MAKEFLAGS='. We don't want to overide the kernel's Makefile variables from the environment. It caused the passed -j<N> parameter from PARALLEL_MAKE to be ignored. Signed-off-by: Dale Farnsworth <dfarnsworth@mvista.com> Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Denys Dmytriyenko <denis@denix.org>
2009-08-24kernel.bbclass: Install & package symvers as /boot/Module.symvers-<ver>.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Michael Smith <msmith@cbnco.com>
2009-08-22kernel.bbclass: stage more include files for x86 in 2.6.27+Michael Smith1
Some packages include <linux/types.h>, which requires <asm/types.h>. Supplement b6220af33a70d96345dea130005ce842eeadfdf5 to copy files from arch/x86/include/asm to include/asm-x86. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Roman I Khimov <khimov@altell.ru>
2009-08-14kernel.bbclass: introduce MODULES_IMAGE_BASE_NAMEDenys Dmytriyenko1
Similar to KERNEL_IMAGE_BASE_NAME, allow overwriting from a recipe Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Henning Heinold <heinold@inf.fu-berlin.de>
2009-07-31kernel.bbclass : moved uImage creation from do_deploy to between do_compileGraham Gower1
and do_install as discussed on ML. linux.inc : removed uImage creation, its now in kernel.bbclass Signed-off-by: Graham Gower <graham.gower@gmail.com> Acked-by: Graeme Gregory <dp@xora.org.uk> Acked-by: Koen Kooi <koen@openembedded.org>
2009-06-17Merge branch 'org.openembedded.dev' of git@new.openembedded.org:openembedded ↵Phil Blundell1
into org.openembedded.dev
2009-06-17kernel.bbclass: don't add dependency on update-modules if not doing O_P_MPhil Blundell1
2009-06-17kernel.bbclass: remove not used 'pr' variable - spotten by KoenMarcin Juszkiewicz1
2009-06-17fix for MACHINE_KERNEL_PR stuffMarcin Juszkiewicz1
This patch unbreaks current behaviour which was introduced by MACHINE_KERNEL_PR variable. As most of target machines do not use it they have PR with broken value (set to "r0" instead of value in recipe). I took other way which makes both types of users happy -- those with MACHINE_KERNEL_PR in use and those without it. By default we set M_K_PR to empty string instead of "r0" - this allows to check is it set at all or not. If it is set then we set PR to this value. Otherwise we ignore existance of that variable and use PR from recipe. Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2009-05-07kernel.bbclass: also stage include/trace if it's availableDmitry Eremin-Solenikov1
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2009-04-06kernel,module-base class, bitbake.conf: introduce MACHINE_KERNEL_PRKoen Kooi1
* bandaid till we have a better way to track ABI changes
2009-03-24kernel.bbclass: stage more filesKoen Kooi1
2009-03-12Kernel bbclass "too many open files" bugfixJader H. Silva1
tempfile.mkstemp() is used to create a temporary file. This function return a tuple with an OS file descriptor and a filename. Filename is stored in "tmpfile" but descriptor is not stored anywhere, but it is still open because it's only an integer to python so it is not closed at the end of the function. For each iteration in which this function is called, a new OS file descriptor is opened, but not closed. The solution is to store the file descriptor and close it.
2009-01-30kernel.bbclass: move initramfs stuff to configure so we can do ↵Koen Kooi1
postprocessing on it with do_configure_append
2009-01-25kernel.bbclass: Remove some repetition in last commit.Tim 'timtim' Ellis1
2009-01-25kernel.bbclass: Add missing entry for scsi headers in staging, as needed by ↵Tim 'timtim' Ellis1
iscsi-target Signed-off by Koen Kooi <koen@openembedded.org>
2009-01-12kernel.bbclass: do not use insecure tmpnam() function for generating unique ↵Marcin Juszkiewicz1
names
2008-11-23kernel.bbclass: stage more headers for the .27 header moveKoen Kooi1
2008-11-15kernel.bbclass: stage more headers for >=2.6.27 kernelsKoen Kooi1
2008-10-30kernel bbclass: start adding support for >=2.6.27 where headers movedKoen Kooi1
* still lack a symlink for mach/, dunno how to do that properly since the information is dynamically generated with makefiles
2008-09-26kernel.bbclass: prepare for 2.6.27 style external firmwareKoen Kooi1
* see http://lwn.net/Articles/284932/ * does *NOT* have dependency code, RRECOMMENDS for firmwares need to be added manually
2008-08-13kernel.bbclass: make aes-generic module provide aes Thomas Kunze1
* the kernel guys renamed the aes module wifi with wpa should work again
2008-08-12kernel.bbclass: fix typo in do_sizecheck()Thomas Kunze1
2008-08-03kernel.bbclass: use KERNEL_OUTPUT where possibleTom Rini1
2008-07-27kernel.bbclass: -change initramfs-logicThomas Kunze1
-add parameter to do_sizecheck do make it optional
2008-05-31classes/kernen.bbclass: Fix INITRAMFS logic to stop breaking builds for ↵Richard Purdie1
people not using it
2008-05-30kernel.bbclass: get initramfs stuff workingThomas Kunze1
To use this you have to INITRAMFS_IMAGE to the desired image. In addition the you must have cpio.gz in IMAGE_FSTYPES (at least for that image see packages/images/initramfs-kexec-image.bb for an example)
2008-05-25kernel bbclass: stage vmlinux if presentKoen Kooi1
2008-05-22kernel.bbclass: comment initramfs stuff till rootfs locking works properly ↵Koen Kooi1
(initramfs should be optional as well)
2008-04-30kernel bbclass: ${D} doesn't always have a trailing /, so put one in, sh is ↵Koen Kooi1
flexible enough to take care of '//' inside paths
2008-04-28classes/kernel.bbclass : fix for situation in which we generate no modules.Graeme Gregory1
2008-04-15kernel bbclass: have modules.tgz have the same version and packages and ↵Koen Kooi1
deployed images (PV) instead of pulling it out of the makefile (KERNEL_VERSION) * before: 836K modules-2.6.25-rc8-davinci1-r1-davinci-sffsdr.tgz 1.4M uImage-2.6.24+2.6.25-rc8-r1-davinci-sffsdr.bin * after: 836K modules-2.6.24+2.6.25-rc8-r1-davinci-sffsdr.tgz 1.4M uImage-2.6.24+2.6.25-rc8-r1-davinci-sffsdr.bin
2008-03-31kernel.bbclass,linux.inc: cleanup definition of ${KERNEL_IMAGE_BASE_NAME}Jeremy Laine1
* drop ${DATETIME} from ${KERNEL_IMAGE_BASE_NAME} in kernel.bbclass, see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2008-March/005017.html * make ${KERNEL_IMAGE_BASE_NAME} and ${KERNEL_IMAGE_SYMLINK_NAME} ?=, see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2008-March/005016.html * remove ${KERNEL_IMAGE_BASE_NAME} and ${KERNEL_IMAGE_SYMLINK_NAME} from linux.inc * use ${KERNEL_IMAGE_BASE_NAME} for uImage deploy
2008-03-28kernel.bbclass: fix generation of uImage on powerpc platformsJeremy Laine1
* add a map_uboot_arch function to kernel.bbclass which changes "powerpc" to "ppc" and export UBOOT_ARCH * pass -A ${UBOOT_ARCH} instead of -A ${ARCH} to mkimage in kernel.bbclass
2008-03-27kernel.bbclass,linux.inc: move dependency on u-boot-openmoko-native to ↵Jeremy Laine1
kernel.bbclass
2008-03-27kernel.bbclass: unbreak uImage generation.Koen Kooi1
2008-03-27kernel.bbclass: add generic do_deploy taskThomas Kunze1
2008-02-21kernel.bbclass: Fis typo in do_builtin_initramfs.Paul Sokolovsky1
2008-02-19classes/kernel.bbclass: fix staging for x86 on kernels >= 2.6.24Jeremy Laine1
2008-02-17classes/kernel.bbclass: Remove usage of non-standard variables (DEPLOY_TO) ↵Richard Purdie1
and random renaming of output.