diff options
| author | David-John Willis <John.Willis@Distant-earth.com> | 2012-04-03 20:43:31 +0100 |
|---|---|---|
| committer | David-John Willis <John.Willis@Distant-earth.com> | 2012-04-03 20:43:31 +0100 |
| commit | cc91d815b9a14925d34b3d2f37a0f5c0097006b3 (patch) | |
| tree | c5ba50caf6cd7b3dcf77ae81f9b9c033b8f452c4 | |
| parent | d15acac59e3ca4ceac90fa1c8f1d80ce85057cbb (diff) | |
| download | meta-raspberrypi-cc91d815b9a14925d34b3d2f37a0f5c0097006b3.tar.gz | |
CONF: Add layer and machine configs.
| -rw-r--r-- | conf/layer.conf | 10 | ||||
| -rw-r--r-- | conf/machine/raspberrypi.conf | 35 |
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 | ||
| 2 | BBPATH .= ":${LAYERDIR}" | ||
| 3 | |||
| 4 | # We have a recipes directory containing .bb and .bbappend files, add to BBFILES | ||
| 5 | BBFILES := "${BBFILES} ${LAYERDIR}/recipes*/*/*.bb \ | ||
| 6 | ${LAYERDIR}/recipes*/*/*.bbappend" | ||
| 7 | |||
| 8 | BBFILE_COLLECTIONS += "raspberrypi" | ||
| 9 | BBFILE_PATTERN_raspberrypi := "^${LAYERDIR}/" | ||
| 10 | BBFILE_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 | |||
| 6 | TARGET_ARCH = "arm" | ||
| 7 | |||
| 8 | GUI_MACHINE_CLASS = "bigscreen" | ||
| 9 | |||
| 10 | IMAGE_FSTYPES += "tar.bz2" | ||
| 11 | |||
| 12 | SERIAL_CONSOLE = "115200 ttyS0" | ||
| 13 | |||
| 14 | # Put it below omap3.inc as we override the kernel and PR here | ||
| 15 | PREFERRED_PROVIDER_virtual/kernel = "linux-${MACHINE}" | ||
| 16 | MACHINE_KERNEL_PR = "r1" | ||
| 17 | |||
| 18 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | ||
| 19 | |||
| 20 | XSERVER = " \ | ||
| 21 | xserver-xorg \ | ||
| 22 | xf86-input-evdev \ | ||
| 23 | xf86-input-mouse \ | ||
| 24 | xf86-input-keyboard \ | ||
| 25 | xf86-video-fbdev \ | ||
| 26 | " | ||
| 27 | |||
| 28 | KERNEL_IMAGETYPE = "uImage" | ||
| 29 | |||
| 30 | MACHINE_FEATURES = "kernel26 apm usbgadget usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" | ||
| 31 | |||
| 32 | MACHINE_EXTRA_RRECOMMENDS += " \ | ||
| 33 | kernel-modules \ | ||
| 34 | raspberrypi-firmware \ | ||
| 35 | " | ||
