summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/recipes-bsp/formfactor/files/config
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-bsp/formfactor/files/config')
-rwxr-xr-ximport-layers/yocto-poky/meta/recipes-bsp/formfactor/files/config50
1 files changed, 0 insertions, 50 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-bsp/formfactor/files/config b/import-layers/yocto-poky/meta/recipes-bsp/formfactor/files/config
deleted file mode 100755
index ecfdf26e2..000000000
--- a/import-layers/yocto-poky/meta/recipes-bsp/formfactor/files/config
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-
-if [ -e /etc/formfactor/machconfig ]; then
- . /etc/formfactor/machconfig
-fi
-
-if [ -z "$HAVE_TOUCHSCREEN" ]; then
- HAVE_TOUCHSCREEN=0
-fi
-
-if [ -z "$HAVE_KEYBOARD" ]; then
- HAVE_KEYBOARD=1
-fi
-
-if [ -z "$HAVE_KEYBOARD_PORTRAIT" ]; then
- HAVE_KEYBOARD_PORTRAIT=0
-fi
-
-if [ -z "$HAVE_KEYBOARD_LANDSCAPE" ]; then
- HAVE_KEYBOARD_LANDSCAPE=0
-fi
-
-if [ -z "$DISPLAY_CAN_ROTATE" ]; then
- DISPLAY_CAN_ROTATE=0
-fi
-
-if [ -z "$DISPLAY_ORIENTATION" ]; then
- DISPLAY_ORIENTATION=0
-fi
-
-if [ -e "/dev/fb" ]; then
- if [ -z "$DISPLAY_WIDTH_PIXELS" ]; then
- DISPLAY_WIDTH_PIXELS=`/usr/sbin/fbset | grep geometry | awk '{ print $2 }'`
- fi
-
- if [ -z "$DISPLAY_HEIGHT_PIXELS" ]; then
- DISPLAY_HEIGHT_PIXELS=`/usr/sbin/fbset | grep geometry | awk '{ print $3 }'`
- fi
-
- if [ -z "$DISPLAY_BPP" ]; then
- DISPLAY_BPP=`/usr/sbin/fbset | grep geometry | awk '{ print $6 }'`
- fi
-fi
-
-#
-# No way to guess these or have any defaults
-#
-#DISPLAY_WIDTH_MM
-#DISPLAY_HEIGHT_MM
-#DISPLAY_SUBPIXEL_ORDER=
OpenPOWER on IntegriCloud