Age | Commit message (Collapse) | Author | Files |
|
Due to a bitbake bug to be fixed in 1.10.1, EXPORT_FUNCTIONS isn't
remapping kernel_do_compile[depends] to do_compile[depends], so
make a comment about cleaning this up once we depend on a working
bitbake. Next, it needs to add to do_configure (like the users
have manually set a dependancy on) rather than do_compile so that
the initramfs is copied into place in time. Since we're fixing the
logic in kernel.bbclass, we can drop the workarounds that linux-kexecboot
and linux-preboot have added.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
This is a long demanded change. The u-boot-mkimage is up to date to OE standards, while the openmoko one is not
|
|
- in staging.bb : sysroot_stage_dir does : cp -fpPR "$src"/* "$dest"
which means it won't copy .config
- so do the copy of .config in sysroot_stage_all_append after
sysroot_stage_dir
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
populate_staging task to populate_sysroot
This change, pulled from Poky, makes the purpose of the staging directory more
obvious and the taskname more true to what it now actually does.
The layout version number is increased due to the change in layout but code to
convert existing directories and insert a symlink for backwards compatibility
is included.
This patch also includes fixes for all recipes which reference the directory.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
- bitbake linux for a x86 machine fails with the following message :
cp: target `.../image/kernel//include/asm-x86/' is not a directory
so create $kerneldir/include/asm-x86 before trying to copy something in
this directory.
- make headers_install fails because of missing directories in include
(tested with linux 2.6.32 and 2.6.33 on x86) and missing Kbuild
Signed-off-by: Eric Benard <eric@eukrea.com>
Acked-by: Roman I Khimov <khimov@altell.ru>
|
|
|
|
Acked-by: Graeme Gregory <dp@xora.org.uk>
Acked-by: Philip Balister <philip@balister.org>
Signed-off-by: Koen Kooi <koen@openembedded.org>
|
|
breaks the build (from poky)
|
|
|
|
Acked-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Acked-by: Roman I Khimov <khimov@altell.ru>
|
|
The postinsts for kernel-image and modules run "depmod -a" on the
target, but this only updates the old kernel's modules.dep.
"depmod -a ${KERNEL_VERSION}" updates the files in
/lib/modules/${KERNEL_VERSION}.
Signed-off-by: Michael Smith <msmith@cbnco.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
|
|
|
|
* no need for DONT_CHECK_KERNELSIZE
* clean up the affected files
* check happens only if KERNEL_IMAGE_MAXSIZE is set
|
|
We need to add ${S}/${KERNEL_OUTPUT} with package_stagefile_shell to
avoid playing more complex games with the install line. We should
also use package_stagefile_shell on the modules tarball as that will
not otherwise be reproduced.
|
|
from packaged staging"
This reverts commit 61acb940a7436a43d0894284d25e8d106f461c23.
This patch is not as robust as I thought, will reassess the issue at hand later
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
packaged staging
kernel.bbclass do_deploy has:
install -m 0644 ${KERNEL_OUTPUT} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
which expands to
install -m 0644 arch/arm/boot/uImage .../deploy/glibc/images/beagleboard/uImage-2.6.29-r51-beagleboard.bin
but in packaged staging arch/arm/boot/uImage does not exist so we get the error:
install: cannot stat `arch/arm/boot/uImage': No such file or directory
This patch only installs uImage if not using packaged staging
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
* Apply the same change as c0a3e91845fad1cdda723bdcf962de8bc01f8a2d for
x86 path
* A check was missed in the x86 path of the stage method.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
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
|
|
* 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>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
patch from Przemyslaw Wesolek <przemyslaw.wesolek@cs.put.poznan.pl>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
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>
|
|
Signed-off-by: Chris Larson <clarson@mvista.com>
Acked-by: Michael Smith <msmith@cbnco.com>
|
|
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>
|
|
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>
|
|
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>
|
|
into org.openembedded.dev
|
|
|
|
|
|
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>
|
|
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
|
|
* bandaid till we have a better way to track ABI changes
|
|
|
|
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.
|
|
postprocessing on it with do_configure_append
|
|
|
|
iscsi-target
Signed-off by Koen Kooi <koen@openembedded.org>
|
|
names
|
|
|
|
|
|
* still lack a symlink for mach/, dunno how to do that properly since the information is dynamically generated with makefiles
|
|
* see http://lwn.net/Articles/284932/
* does *NOT* have dependency code, RRECOMMENDS for firmwares need to be added manually
|
|
* the kernel guys renamed the aes module wifi with wpa should work again
|