Age | Commit message (Collapse) | Author |
|
linux-kexecboot.inc
We now use xz-native to generate lzma images
Kexecboot.inc needed to be adjusted in order to reflect the dependency
change from lzma-native to xz-native
The initramfs.cpio.gz were tested with linux-kexecboot on nokia900.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Acked-by: Andrea Adami <andrea.adami@gmail.com>
|
|
This is needed for current bitbake to spawn 'fakeroot' flagged tasks.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
* import from poky 6a11cf7dfe930461a6660e3b783b546fa2634900
* we had CACHE var pointing to machine specific dir since 2006
caf077679022f37ce55d758101f130e4e93bd7b5
* current bitbake is looking for cache dir like this:
cachedir = (bb.data.getVar("PERSISTENT_DIR", d, True) or
bb.data.getVar("CACHE", d, True))
which without PERSISTENT_DIR defined picks machine-specific CACHE dir
so LOCALCOUNT numbers in SRCPV keeps rolling with every MACHINE switch
in same builddir :/
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
The current IMAGE_CMD_ubi creates an interim image with a .rootfs.ubifs
extension.
The ubifs image created is not considered a valid rootfs without a UBI
container.
Change the filename of the iterim ubifs image used by IMAGE_CMD_ubi to
.ubifs.img to match the IMAGE_CMD_ubifs command.
Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Linux kernel has support for XZ Embedded and it has limited support
for integrity checking. Currently only 'crc32' and 'none' are
supported.
This patch allows change it and defaults it to 'crc32' for safeness.
The LZMA_COMPRESSION_LEVEL variable has been add for cpio.lzma image
format since the XZ equivalent variable has already available and in
use. It defaults for best compression ratio.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
-dbg packages more usefull
Acked-by: Tom Rini <tom_rini@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Commit 9c5b9db29738a89837917b1a2d8ee5a1cae0b4cc (bitbake.conf: Simplify
TARGET_CPPFLAGS/LDFLAGS) potentially breaks external toolchains, when their
default sysroot is different from our sysroot/staging location.
Pass default --sysroot to compiler/linker through TOOLCHAIN_OPTIONS, avoiding
native and nativesdk packages. This matches the corresponding changes in Poky.
cross.bbclass was already doing it, since it originated from Poky, AFAIK.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
|
|
Make it depend on both tar-native and xz-native to make sure
that we get a tar that groks --xz.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
This is based on poky's ba2e1f4d933c37b372d6749d64614f2510ee9d7b, which
simplifies TARGET_CPPFLAGS (and thus CFLAGS) and TARGET_LDFLAGS
based on gcc any company having --sysroot
Acked-by:Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
* thus the build system language won't create troubles during builds
(example : perl is hacking some generated files' content but only
supports english outputs).
* this problem is only met when using bitbake master
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
The expression ('' or 'custom') will always result in 'custom' so the expression will become False when the variable (TARGET_OS, SDK_OS) is '' while its expected to be True in this case also.
Signed-off-by: Imran Mehmood <imran_mehmood@mentor.com>
Acked-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
* bump EFL_SRCREV a bit to current HEAD
* introduce EFL_SRCREV_1.0.0 for recipes which don't need SRCREV change
so often like stuff from OLD and BROKEN dirs and themes
* move SRC_URI and S settings from bbclass to svn recipes
* replace E_CVS and E_URI with E_SVN and E_MIRROR
* PV/PR will be updated in following patches for individual recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Eric Bénard <eric@eukrea.com>
|
|
* Rename IPKGBUILDCMD to OPKGBUILDCMD
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Graham Gower <graham.gower@gmail.com>
|
|
This one is rebased against today's git master, with an extra line for cpio.xz
-Martin
>From 388638cf72e6224fba4b96cda8db26fbc43bb20d Mon Sep 17 00:00:00 2001
From: Martin Panter <vadmium à gmail.com>
Date: Sun, 16 Jan 2011 04:38:03 +0000
Subject: [PATCH] IMAGE_CMD: Fail if the cpio command is missing
Previously my cpio.gz image was an empty gzip file because the missing cpio
command was ignored and gzip was blindly run with no input.
Signed-off-by: Martin Panter <vadmium+floss@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
XZ_COMPRESSION_LEVEL ?= "-e -9"
so people can override according to their available memory
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Without this we get an unusably small number of inodes in
our filesystem images.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
* empty MACHINE_OVERRIDES adds :: to OVERRIDES (then in FILESPATH skips
every directory after this)
* strip() is needed to remove space in case some distribution has ie
MACHINE_OVERRIDES ?= ""
and then
MACHINE_OVERRIDES += ""
or
MACHINE_OVERRIDES ?= "${MACHINE_CLASS}", where MACHINE_CLASS is empty again
While FILESPATH was fixed separately, having :: in OVERRIDES still makes
bitbake 1.8.18 to throw a "RuntimeError: Set changed size during iteration"
exception when used together with collections.inc, since bitbake is being
re-spawned in there. More details here:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/38254/focus=38595
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
|
|
Note that this change requires a version of BitBake with the "git subpath"
patch applied.
Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
|
|
- reverse OVERRIDES
- drop empty overrides
- uniq the list
- use nested variable references rather than getVar
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Given the current implementation of OVERRIDES in bitbake, the variable is
expected to contain elements in the order least specific to most specific,
however, our current usage of it does not match that. As one example, "local"
is supposed to always be the most specific override, yet currently it's the
least specific. As another example, currently the target architecture is seen
as more specific than the machine, which is also clearly wrong.
Big thanks to Chase Maupin for investigating and identifying this long
standing issue.
It becomes clear that a reversal of the current value will bring us to a more
sane behavior, and avoids the need for the dual overrides hack mentioned in
the comments, so this implements this reversal, and drops the unnecessary and
confusing comments.
This also introduces a MACHINE_OVERRIDES variable as a generic mechanism to
inject overrides elements which are more specific than the distro but less
specific than the machine, which is where things like MACHINE_CLASS or
SOC_FAMILY or the like would go. This variable is *space* separated, to make
it easier and more convenient to assemble the variable incrementally.
Reported-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
By default, pkg-config falls back to checking the default search path for .pc
files, which is the native location. If you relocate it, it will be unable to
hit that location, which can cause problems in certain cases. In particular,
gnome-bluetooth requires gtk-doc-native to run its tools, and uses pkg-config
to determine its availability.
Fix by adding the native pkg-config locations to the PKG_CONFIG_PATH.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
* Set default weak to "no"
* Use in TARGET_LDFLAGS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
|
|
libdir to be something else than '/lib'
* Add base_libdir_native as target libdir could be different e.g. lib32
lib64
* Dont assume lib to be system libdir during packaging.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Boards with small flash and large ram need all the compression they can get.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
--accept
* --trust-server-cert is supported only in >=svn-1.6
http://subversion.apache.org/docs/release-notes/1.6.html
* --force allows to overwrite existing dirs
ie
matchbox-panel-2-icon-themes_0.0.1.bb
matchbox-panel-2_svn.bb
are checkouting/updating tiwo different SRCREVs and every few builds
you end up removing svn checkout from downloads dir, just because it
refuses to upgrade to newer revision (applets dir already exists there).
* --accept to overwrite any local modifications (as we want clean checkout)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Fixes fetching from https:// svn repos with self-signed certs.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
|
|
perl makes use of this variable and it doesn't match how we use it.
Since it doesn't need to be exposed like this, don't.
No acks, but "sounds good" to Koen and "don't see why not" from Roman
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
paths to new multi-machine friendly toolchain install location.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Hi all,
We recently noticed that apr and apr-util recipes were not fetching correctly.
It appears as though the APACHE_MIRROR variable in the bitbake.conf file.
Below is a trivial patch to update the variable.
Regards,
Sean
Signed-off-by: Sean Hudson <Sean_Hudson@Dell.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
sysroot
* Update references to CROSS_DIR in classes and bitbake.conf.
* This patch is based on Joshua Lock's work in poky.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Ackef-by: Chris Larson <clarson@kergoth.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@openembedded.org>
|
|
This moves the current CCACHE over to local.conf.sample and documents
when it's useful to enable.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
It's unnecessary, and can cause problems with amend.bbclass.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
These don't change, so their initial values should be just fine. Apparently,
in a typical build, those os.uname() snippets are called around 46k times,
which seems a tad excessive :)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
${PN}-dbg
Some libraries provide gdb autoload script as a debugging aid.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Firstly adds tooling from Poky to scan packages and fix up paths in libtool
files, we then build on this to further post-process native packages (native,
cross, sdk) and fix up any references to the STAGING_DIR in non-binary files.
Secondly adds support for fetching packaged staging packages from a mirror by
setting PSTAGE_MIRROR to point to the root of a pstaging directory.
Signed-off-by: Joshua Lock <josh@linux.intel.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>
|