summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2012-04-03 20:43:31 +0100
committerDavid-John Willis <John.Willis@Distant-earth.com>2012-04-03 20:43:31 +0100
commitcc91d815b9a14925d34b3d2f37a0f5c0097006b3 (patch)
treec5ba50caf6cd7b3dcf77ae81f9b9c033b8f452c4
parentd15acac59e3ca4ceac90fa1c8f1d80ce85057cbb (diff)
downloadmeta-raspberrypi-cc91d815b9a14925d34b3d2f37a0f5c0097006b3.tar.gz
CONF: Add layer and machine configs.
-rw-r--r--conf/layer.conf10
-rw-r--r--conf/machine/raspberrypi.conf35
2 files changed, 45 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
new file mode 100644
index 0000000..32e1827
--- /dev/null
+++ b/conf/layer.conf
@@ -0,0 +1,10 @@
1# We have a conf and classes directory, append to BBPATH
2BBPATH .= ":${LAYERDIR}"
3
4# We have a recipes directory containing .bb and .bbappend files, add to BBFILES
5BBFILES := "${BBFILES} ${LAYERDIR}/recipes*/*/*.bb \
6 ${LAYERDIR}/recipes*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "raspberrypi"
9BBFILE_PATTERN_raspberrypi := "^${LAYERDIR}/"
10BBFILE_PRIORITY_raspberrypi = "6"
diff --git a/conf/machine/raspberrypi.conf b/conf/machine/raspberrypi.conf
new file mode 100644
index 0000000..6a64677
--- /dev/null
+++ b/conf/machine/raspberrypi.conf
@@ -0,0 +1,35 @@
1#@TYPE: Machine
2#@NAME: OMAP3 based Pandora Handheld Console
3#@DESCRIPTION: Machine configuration for the RaspberryPi http://www.raspberrypi.org/ Board
4#@MAINTAINER: John Willis
5
6TARGET_ARCH = "arm"
7
8GUI_MACHINE_CLASS = "bigscreen"
9
10IMAGE_FSTYPES += "tar.bz2"
11
12SERIAL_CONSOLE = "115200 ttyS0"
13
14# Put it below omap3.inc as we override the kernel and PR here
15PREFERRED_PROVIDER_virtual/kernel = "linux-${MACHINE}"
16MACHINE_KERNEL_PR = "r1"
17
18PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
19
20XSERVER = " \
21 xserver-xorg \
22 xf86-input-evdev \
23 xf86-input-mouse \
24 xf86-input-keyboard \
25 xf86-video-fbdev \
26"
27
28KERNEL_IMAGETYPE = "uImage"
29
30MACHINE_FEATURES = "kernel26 apm usbgadget usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio"
31
32MACHINE_EXTRA_RRECOMMENDS += " \
33 kernel-modules \
34 raspberrypi-firmware \
35"