From: Paul Sokolovsky Date: Thu, 12 Jul 2007 12:42:08 +0000 (+0000) Subject: bitbake.conf: Introduce variables to specify machine's display properties. X-Git-Tag: Release-2010-05/1~8868^2~170^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2123a2aba7385cb19a25f0cf61be70bea52f5929;p=openembedded.git bitbake.conf: Introduce variables to specify machine's display properties. * 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. --- diff --git a/conf/bitbake.conf b/conf/bitbake.conf index a4dd4b18a8..77d6c1ee83 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -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 ?= ""