bitbake.conf: Introduce variables to specify machine's display properties.
authorPaul Sokolovsky <pmiscml@gmail.com>
Thu, 12 Jul 2007 12:42:08 +0000 (12:42 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Thu, 12 Jul 2007 12:42:08 +0000 (12:42 +0000)
* Per RFC on the mailing list.
* Following variables added:
MACHINE_DISPLAY_WIDTH_PIXELS - width in pixels in hardware orientation
MACHINE_DISPLAY_HEIGHT_PIXELS - height in pixels in hardware orientation
MACHINE_DISPLAY_ORIENTATION - number of degrees hardware display orientation must
  be rotated to be in "default natural use" orientation.
MACHINE_DISPLAY_BPP - bits per pixel
* Also, deprecate GUI_MACHINE_CLASS and replace with MACHINE_GUI_CLASS.

conf/bitbake.conf

index a4dd4b1..77d6c1e 100644 (file)
@@ -468,7 +468,7 @@ IMAGE_ROOTFS_SIZE_ext3.gz ?= "65536"
 OES_BITBAKE_CONF = "1"
 
 ##################################################################
-# Task-base stuff
+# Machine properties and task-base stuff
 ##################################################################
 
 MACHINE_FEATURES ?= "kernel26"
@@ -477,7 +477,13 @@ DISTRO_FEATURES ?= ""
 # This is used to limit what packages goes into images built, so set big by default
 ROOT_FLASH_SIZE ?= "256"
 
-GUI_MACHINE_CLASS ?= "smallscreen"
+MACHINE_GUI_CLASS ?= "smallscreen"
+# GUI_MACHINE_CLASS is deprecated, please use MACHINE_GUI_CLASS instead
+GUI_MACHINE_CLASS ?= "${MACHINE_GUI_CLASS}"
+MACHINE_DISPLAY_WIDTH_PIXELS ?= "240"
+MACHINE_DISPLAY_HEIGHT_PIXELS ?= "320"
+MACHINE_DISPLAY_ORIENTATION ?= "0"
+MACHINE_DISPLAY_BPP ?= "16"
 
 DISTRO_EXTRA_RDEPENDS ?= ""
 DISTRO_EXTRA_RRECOMMENDS ?= ""