All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-handheld][PATCH v3 0/1] Pull request 20130408
@ 2013-04-08 21:18 Apelete Seketeli
  2013-04-08 21:18 ` [meta-handheld][PATCH v3 1/1] linux-jlime-ben-nanonote: fix GCC-4.6 build errors Apelete Seketeli
  0 siblings, 1 reply; 2+ messages in thread
From: Apelete Seketeli @ 2013-04-08 21:18 UTC (permalink / raw)
  To: openembedded-devel

Hello,

On Sunday 07 April 2013, Apelete Seketeli wrote:
> On Friday 05 April 2013, Apelete Seketeli wrote:
> > 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.
> 
> I took the time to fix the patch for the GCC 4.6 build issue. Instead
> of just fixing the issue on my own, I looked at how it was done in the
> mainline kernel and backported the fixes through a new patch named
> fix-gcc-4.6.0-build-errors.patch; this approach seems more logical to
> me.
> While I was at it, also removed "[PATCH 2/2] ben-nanonote: add
> DEFAULTTUNE to machine configuration" from the patchset, following
> Paul's advice.

Added a header to the "fix-gcc-4.6.0-build-errors.patch" kernel patch,
describing the changes and stating the Upstream-Status.

Tested by building linux-jlime-ben-nanonote from scratch on top of
master branch.
Please pull into meta-handheld.

The following changes since commit 913735dce388f660dfbbe288ed736e12ed48c8d8:

  linux-yocto-tiny-kexecboot_3.2: removed unused, non-working MTD-RW patch (2013-04-06 00:25:08 +0100)

are available in the git repository at:

  git://seketeli.fr/~apelete/meta-handheld.git fix-nn-kernel-build

Apelete Seketeli (1):
  linux-jlime-ben-nanonote: fix GCC-4.6 build errors

 .../fix-gcc-4.6.0-build-errors.patch               |  124 ++++++++++++++++++++
 .../linux/linux-jlime-ben-nanonote_2.6.36.bb       |    5 +-
 2 files changed, 128 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/fix-gcc-4.6.0-build-errors.patch

-- 
1.7.10.4




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-08 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 21:18 [meta-handheld][PATCH v3 0/1] Pull request 20130408 Apelete Seketeli
2013-04-08 21:18 ` [meta-handheld][PATCH v3 1/1] linux-jlime-ben-nanonote: fix GCC-4.6 build errors Apelete Seketeli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.