forked from agherzan/meta-raspberrypi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CONF: Add layer and machine configs.
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# We have a conf and classes directory, append to BBPATH | ||
BBPATH .= ":${LAYERDIR}" | ||
|
||
# We have a recipes directory containing .bb and .bbappend files, add to BBFILES | ||
BBFILES := "${BBFILES} ${LAYERDIR}/recipes*/*/*.bb \ | ||
${LAYERDIR}/recipes*/*/*.bbappend" | ||
|
||
BBFILE_COLLECTIONS += "raspberrypi" | ||
BBFILE_PATTERN_raspberrypi := "^${LAYERDIR}/" | ||
BBFILE_PRIORITY_raspberrypi = "6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#@TYPE: Machine | ||
#@NAME: OMAP3 based Pandora Handheld Console | ||
#@DESCRIPTION: Machine configuration for the RaspberryPi http://www.raspberrypi.org/ Board | ||
#@MAINTAINER: John Willis | ||
|
||
TARGET_ARCH = "arm" | ||
|
||
GUI_MACHINE_CLASS = "bigscreen" | ||
|
||
IMAGE_FSTYPES += "tar.bz2" | ||
|
||
SERIAL_CONSOLE = "115200 ttyS0" | ||
|
||
# Put it below omap3.inc as we override the kernel and PR here | ||
PREFERRED_PROVIDER_virtual/kernel = "linux-${MACHINE}" | ||
MACHINE_KERNEL_PR = "r1" | ||
|
||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | ||
|
||
XSERVER = " \ | ||
xserver-xorg \ | ||
xf86-input-evdev \ | ||
xf86-input-mouse \ | ||
xf86-input-keyboard \ | ||
xf86-video-fbdev \ | ||
" | ||
|
||
KERNEL_IMAGETYPE = "uImage" | ||
|
||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" | ||
|
||
MACHINE_EXTRA_RRECOMMENDS += " \ | ||
kernel-modules \ | ||
raspberrypi-firmware \ | ||
" |