[oe] [meta-handheld][PATCH 0/2] Pull request 20130405
Apelete Seketeli
apelete at seketeli.net
Fri Apr 5 05:37:53 UTC 2013
Hello,
Following the patches I sent to the meta-handheld layer a few days ago
to add machine support for the Ben Nanonote, I found out that the
corresponding kernel recipe fails to build on oe-core (builds fine on
oe-classic).
A few settings were missing and, more importantly, the version of gcc
in oe-core seems to enable the -Wunused-but-set-variable switch, which
makes it error on many variables that were indeed 'unused but
set'. After trying to solve this issue the easy way, by setting
'CFLAGS=-Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter'
to no avail, I chose to annotate the aforementioned variables in the
kernel code with __attribute__((__unused__)).
The patches that come as a follow-up of this message are what it's all
about; sorry for the inconvenience in the first place.
Please pull into meta-handheld.
The following changes since commit a9b2b63d1f40a75638ee6ddb3599501c6974deb9:
ben-nanonote: import ben-nanonote machine support (2013-04-03 18:13:48 +0100)
are available in the git repository at:
git://seketeli.fr/~apelete/meta-handheld.git fix-nanonote-kernel-build
Apelete Seketeli (2):
linux-jlime-ben-nanonote: fix build errors
ben-nanonote: add DEFAULTTUNE to machine configuration
conf/machine/ben-nanonote.conf | 1 +
.../gcc-attribute-unused.patch | 87 ++++++++++++++++++++
.../linux/linux-jlime-ben-nanonote_2.6.36.bb | 4 +-
3 files changed, 91 insertions(+), 1 deletion(-)
create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/gcc-attribute-unused.patch
--
1.7.10.4
More information about the Openembedded-devel
mailing list