summaryrefslogtreecommitdiffstats
path: root/yocto-poky/meta/recipes-bsp/formfactor
diff options
context:
space:
mode:
Diffstat (limited to 'yocto-poky/meta/recipes-bsp/formfactor')
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/config50
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/machconfig0
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/qemuarm/machconfig10
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/qemuarmv6/machconfig10
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/qemuarmv7/machconfig10
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/qemumips/machconfig10
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/qemumips64/machconfig10
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/qemuppc/machconfig10
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/qemux86-64/machconfig10
-rwxr-xr-xyocto-poky/meta/recipes-bsp/formfactor/files/qemux86/machconfig10
-rw-r--r--yocto-poky/meta/recipes-bsp/formfactor/formfactor_0.0.bb21
11 files changed, 0 insertions, 151 deletions
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/config b/yocto-poky/meta/recipes-bsp/formfactor/files/config
deleted file mode 100755
index ecfdf26e2..000000000
--- a/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=
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/machconfig b/yocto-poky/meta/recipes-bsp/formfactor/files/machconfig
deleted file mode 100755
index e69de29bb..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/files/machconfig
+++ /dev/null
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/qemuarm/machconfig b/yocto-poky/meta/recipes-bsp/formfactor/files/qemuarm/machconfig
deleted file mode 100755
index 56a2ae2e3..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/files/qemuarm/machconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-HAVE_TOUCHSCREEN=1
-HAVE_KEYBOARD=1
-
-DISPLAY_CAN_ROTATE=0
-DISPLAY_ORIENTATION=0
-#DISPLAY_WIDTH_PIXELS=640
-#DISPLAY_HEIGHT_PIXELS=480
-#DISPLAY_BPP=16
-DISPLAY_DPI=150
-DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/qemuarmv6/machconfig b/yocto-poky/meta/recipes-bsp/formfactor/files/qemuarmv6/machconfig
deleted file mode 100755
index 56a2ae2e3..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/files/qemuarmv6/machconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-HAVE_TOUCHSCREEN=1
-HAVE_KEYBOARD=1
-
-DISPLAY_CAN_ROTATE=0
-DISPLAY_ORIENTATION=0
-#DISPLAY_WIDTH_PIXELS=640
-#DISPLAY_HEIGHT_PIXELS=480
-#DISPLAY_BPP=16
-DISPLAY_DPI=150
-DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/qemuarmv7/machconfig b/yocto-poky/meta/recipes-bsp/formfactor/files/qemuarmv7/machconfig
deleted file mode 100755
index 56a2ae2e3..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/files/qemuarmv7/machconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-HAVE_TOUCHSCREEN=1
-HAVE_KEYBOARD=1
-
-DISPLAY_CAN_ROTATE=0
-DISPLAY_ORIENTATION=0
-#DISPLAY_WIDTH_PIXELS=640
-#DISPLAY_HEIGHT_PIXELS=480
-#DISPLAY_BPP=16
-DISPLAY_DPI=150
-DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/qemumips/machconfig b/yocto-poky/meta/recipes-bsp/formfactor/files/qemumips/machconfig
deleted file mode 100755
index 56777b6e2..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/files/qemumips/machconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-HAVE_TOUCHSCREEN=1
-HAVE_KEYBOARD=1
-
-DISPLAY_CAN_ROTATE=0
-DISPLAY_ORIENTATION=0
-DISPLAY_WIDTH_PIXELS=640
-DISPLAY_HEIGHT_PIXELS=480
-DISPLAY_BPP=16
-DISPLAY_DPI=150
-#DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/qemumips64/machconfig b/yocto-poky/meta/recipes-bsp/formfactor/files/qemumips64/machconfig
deleted file mode 100755
index 56777b6e2..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/files/qemumips64/machconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-HAVE_TOUCHSCREEN=1
-HAVE_KEYBOARD=1
-
-DISPLAY_CAN_ROTATE=0
-DISPLAY_ORIENTATION=0
-DISPLAY_WIDTH_PIXELS=640
-DISPLAY_HEIGHT_PIXELS=480
-DISPLAY_BPP=16
-DISPLAY_DPI=150
-#DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/qemuppc/machconfig b/yocto-poky/meta/recipes-bsp/formfactor/files/qemuppc/machconfig
deleted file mode 100755
index 5ea2270cd..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/files/qemuppc/machconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-HAVE_TOUCHSCREEN=1
-HAVE_KEYBOARD=1
-
-DISPLAY_CAN_ROTATE=0
-DISPLAY_ORIENTATION=0
-DISPLAY_WIDTH_PIXELS=800
-DISPLAY_HEIGHT_PIXELS=600
-DISPLAY_BPP=16
-DISPLAY_DPI=150
-DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/qemux86-64/machconfig b/yocto-poky/meta/recipes-bsp/formfactor/files/qemux86-64/machconfig
deleted file mode 100755
index 56a2ae2e3..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/files/qemux86-64/machconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-HAVE_TOUCHSCREEN=1
-HAVE_KEYBOARD=1
-
-DISPLAY_CAN_ROTATE=0
-DISPLAY_ORIENTATION=0
-#DISPLAY_WIDTH_PIXELS=640
-#DISPLAY_HEIGHT_PIXELS=480
-#DISPLAY_BPP=16
-DISPLAY_DPI=150
-DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/files/qemux86/machconfig b/yocto-poky/meta/recipes-bsp/formfactor/files/qemux86/machconfig
deleted file mode 100755
index 56a2ae2e3..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/files/qemux86/machconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-HAVE_TOUCHSCREEN=1
-HAVE_KEYBOARD=1
-
-DISPLAY_CAN_ROTATE=0
-DISPLAY_ORIENTATION=0
-#DISPLAY_WIDTH_PIXELS=640
-#DISPLAY_HEIGHT_PIXELS=480
-#DISPLAY_BPP=16
-DISPLAY_DPI=150
-DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/yocto-poky/meta/recipes-bsp/formfactor/formfactor_0.0.bb b/yocto-poky/meta/recipes-bsp/formfactor/formfactor_0.0.bb
deleted file mode 100644
index 5c30bd510..000000000
--- a/yocto-poky/meta/recipes-bsp/formfactor/formfactor_0.0.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-SUMMARY = "Device formfactor information"
-SECTION = "base"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
- file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r45"
-
-SRC_URI = "file://config file://machconfig"
-S = "${WORKDIR}"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-INHIBIT_DEFAULT_DEPS = "1"
-
-do_install() {
- # Install file only if it has contents
- install -d ${D}${sysconfdir}/formfactor/
- install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/
- if [ -s "${S}/machconfig" ]; then
- install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/
- fi
-}
OpenPOWER on IntegriCloud