palmpre machine: split into machine and common parts
authorSimon Busch <morphis@amethyst.openembedded.net>
Fri, 7 Jan 2011 08:29:52 +0000 (09:29 +0100)
committerSimon Busch <morphis@amethyst.openembedded.net>
Fri, 7 Jan 2011 08:36:13 +0000 (09:36 +0100)
Signed-off-by: Simon Busch <morphis@amethyst.openembedded.net>
conf/machine/include/palmpre.inc [new file with mode: 0644]
conf/machine/palmpre.conf

diff --git a/conf/machine/include/palmpre.inc b/conf/machine/include/palmpre.inc
new file mode 100644 (file)
index 0000000..1c84034
--- /dev/null
@@ -0,0 +1,34 @@
+# use this for overrides
+MACHINE_CLASS = "palmpre"
+
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+           xf86-input-evdev \
+           xf86-input-mouse \
+           xf86-video-omapfb \
+           xf86-input-keyboard"
+
+MACHINE_DISPLAY_WIDTH_PIXELS = "320"
+MACHINE_DISPLAY_HEIGHT_PIXELS = "480"
+MACHINE_DISPLAY_ORIENTATION = "0"
+MACHINE_DISPLAY_PPI = "185"
+
+require conf/machine/include/omap3.inc
+
+# Copied from include/omap3.inc (as we do not use linux-omap recipes):
+# Increase this everytime you change something in the kernel
+MACHINE_KERNEL_PR = "r92"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-palmpre"
+
+IMAGE_FSTYPES += "tar.gz"
+
+# Let's keep the following three from the beagleboard machine config
+UBOOT_MACHINE = "omap3_beagle_config"
+PREFERRED_VERSION_u-boot = "git"
+XLOAD_MACHINE = "omap3530beagle_config"
+
+MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa phone bluetooth touchscreen keyboard wifi"
+MACHINE_EXTRA_RDEPENDS = "tsmd read-tokens tellbootie lvm2 palmpre-audio-scripts"
index eec6b6a..7bb47a0 100644 (file)
@@ -1,36 +1,5 @@
 #@TYPE: Machine
 #@NAME: Palm Pre machine
 #@DESCRIPTION: Machine configuration for the Palm Pre handset
-TARGET_ARCH = "arm"
 
-PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
-XSERVER = "xserver-xorg \
-           xf86-input-evdev \
-           xf86-input-mouse \
-           xf86-video-omapfb \
-           xf86-input-keyboard"
-
-MACHINE_DISPLAY_WIDTH_PIXELS = "320"
-MACHINE_DISPLAY_HEIGHT_PIXELS = "480"
-MACHINE_DISPLAY_ORIENTATION = "0"
-MACHINE_DISPLAY_PPI = "185"
-
-require conf/machine/include/omap3.inc
-
-# Copied from include/omap3.inc (as we do not use linux-omap recipes):
-#
-# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r92"
-
-# Put it below omap3.inc as we override the kernel here
-PREFERRED_PROVIDER_virtual/kernel = "linux-palmpre"
-
-IMAGE_FSTYPES += "tar.gz"
-
-# Let's keep the following three from the beagleboard machine config
-UBOOT_MACHINE = "omap3_beagle_config"
-PREFERRED_VERSION_u-boot = "git"
-XLOAD_MACHINE = "omap3530beagle_config"
-
-MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa phone bluetooth touchscreen keyboard wifi"
-MACHINE_EXTRA_RDEPENDS = "tsmd read-tokens tellbootie lvm2 palmpre-audio-scripts"
+require conf/machine/include/palmpre.inc