Commit Graph

10 Commits

Author SHA1 Message Date
Petter Mabäcker
2adea22b46 Revert "linux-raspberrypi: Change to Linux Yocto style kernel recipes"
This reverts commit 67a1c4eaaf.

[ISSUE #39]

Conflicts:
	recipes-kernel/linux/linux-raspberrypi_3.2.27.bb

Change-Id: I03ae6b9c96894509a4fecd24eef8740889238730
Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-02-05 09:59:40 +01:00
Alex J Lennon
67a1c4eaaf linux-raspberrypi: Change to Linux Yocto style kernel recipes
Yocto style recipes provide support for application of kernel
configuration fragments which is achieved with this change.

For further details see the Yocto Linux Kernel Development Manual

ref: http://www.yoctoproject.org/docs/1.6/kernel-dev/kernel-dev.html

In addition .bb files are simplified to take a SRCBRANCH which is
used by the SRC_URI set in linux-raspberrypi.inc and together with
the existing SRCREV define a checkout from the linux-raspberrypi
git repository.

A default configuration, defconfig, is provided as a baseline.
This is generated from bcmrpi_defconfig, as used in the existing
recipes, and so configuration options should be the same.

To change the kernel configuration a new configuration fragment
may be generated, as explained in the kernel development documentation
above, and this file then added to the SRC_URI via a .bbappend.

Added some minor refactoring and removed some useless code.

Change-Id: Ic72e14ec14ec3f042aeda0c6820f896be9c02e69
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-31 18:07:58 +02:00
Petter Mabäcker
1eda7e8b74 linux-raspberrypi: fix do_configure failure
When building against newer yocto project releases below failure
occurs.

| DEBUG: Executing shell function do_configure
| NOTE: make oldconfig
| make: *** No rule to make target `oldconfig'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure

Fix this by trying to adapt more of the standard mechanism
that exists in yocto, in order to build "custom kernels".

Change-Id: I0598c0c16d84295a454976f60b56f9d35c36a4ba
Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-25 21:47:27 +02:00
Alexandru Niculita
c454aef30f Remove tabs from recipe
From: Philipp Wagner <mail@philipp-wagner.com>

Change-Id: I24aea3b31e144d6f22f9149c186eeaae8b9e2c58
Signed-off-by: Philipp Wagner <mail@philipp-wagner.com>
Signed-off-by: Alexandru Niculita <alexnick87@gmail.com>
2013-11-12 17:35:14 +02:00
Andrei Gherzan
e79ec70804 linux.inc: Refactor inc file
Clean up the file and add function to setup configs.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-11-27 22:42:42 +02:00
Andrei Gherzan
9b79519990 linux.inc: Fix file permission
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:03 +03:00
Andrei Gherzan
81c06ffcc7 linux.inc: Activate CONFIG_LEGACY_PTYS needed for bootlogd
Activate this to have /dev/ptmx before init script for bootlogd.

[GITHUB #27]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-17 11:27:13 +03:00
Andrei Gherzan
644c7ebad5 linux.inc: Remove reference to linux-tools.inc
linux-tools.inc was removed. More info:
commit b485f3e0e55ad62079ed0913970ff0620f4808ea
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
recipes-kernel: remove linux-tools.inc
perf has been moved to a standalone package, making linux-tools.inc
unecessary. It can now be removed and recipes that included it
updated.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-01 15:15:25 +03:00
David-John Willis
d7e4e50de1 linux-raspberrypi: Recipe Cleanup.
* No functional changes.
* Moved to my fork of the kernel tree as I have a few patches to push up.
* Also sync over newer linux.inc.
2012-04-11 16:13:25 +01:00
David-John Willis
b1db254c18 linux-raspberrypi: Add recipe for 3.1.9 kernel.
* Kernel is from https://github.com/raspberrypi/linux
2012-04-03 20:54:11 +01:00