summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/formfactor
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 14:14:24 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 14:29:45 (GMT)
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-bsp/formfactor
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-bsp/formfactor')
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/akita/machconfig15
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/beagleboard/machconfig3
-rw-r--r--meta/recipes-bsp/formfactor/files/bootcdx86/machconfig5
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/c7x0/machconfig15
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/cm-x270/machconfig9
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/config48
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/em-x270/machconfig15
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/htcuniversal/machconfig15
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/igep0020/machconfig3
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/machconfig0
-rw-r--r--meta/recipes-bsp/formfactor/files/netbook/machconfig6
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/nokia800/machconfig13
-rw-r--r--meta/recipes-bsp/formfactor/files/om-gta01/machconfig14
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/omap-3430ldp/machconfig15
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/omap-3430sdp/machconfig15
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/qemuarm/machconfig10
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/qemuarmv6/machconfig10
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/qemuarmv7/machconfig10
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/qemux86/machconfig10
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/spitz/machconfig15
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/zylonite/machconfig12
-rw-r--r--meta/recipes-bsp/formfactor/formfactor_0.0.bb18
22 files changed, 276 insertions, 0 deletions
diff --git a/meta/recipes-bsp/formfactor/files/akita/machconfig b/meta/recipes-bsp/formfactor/files/akita/machconfig
new file mode 100755
index 0000000..a9649e0
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/akita/machconfig
@@ -0,0 +1,15 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=1
3HAVE_KEYBOARD_PORTRAIT=0
4HAVE_KEYBOARD_LANDSCAPE=1
5
6DISPLAY_CAN_ROTATE=1
7DISPLAY_ORIENTATION=270
8DISPLAY_WIDTH_PIXELS=480
9DISPLAY_WIDTH_MM=56
10DISPLAY_HEIGHT_PIXELS=640
11DISPLAY_HEIGHT_MM=74
12DISPLAY_BPP=16
13#DISPLAY_DPI=220
14DISPLAY_DPI=150
15DISPLAY_SUBPIXEL_ORDER=rgb
diff --git a/meta/recipes-bsp/formfactor/files/beagleboard/machconfig b/meta/recipes-bsp/formfactor/files/beagleboard/machconfig
new file mode 100755
index 0000000..a46859f
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/beagleboard/machconfig
@@ -0,0 +1,3 @@
1# Assume a USB mouse and touchscreen are connected
2HAVE_TOUCHSCREEN=0
3HAVE_KEYBOARD=1
diff --git a/meta/recipes-bsp/formfactor/files/bootcdx86/machconfig b/meta/recipes-bsp/formfactor/files/bootcdx86/machconfig
new file mode 100644
index 0000000..adf707e
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/bootcdx86/machconfig
@@ -0,0 +1,5 @@
1HAVE_TOUCHSCREEN=0
2HAVE_KEYBOARD=1
3
4DISPLAY_CAN_ROTATE=0
5DISPLAY_ORIENTATION=0
diff --git a/meta/recipes-bsp/formfactor/files/c7x0/machconfig b/meta/recipes-bsp/formfactor/files/c7x0/machconfig
new file mode 100755
index 0000000..ad3620f
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/c7x0/machconfig
@@ -0,0 +1,15 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=1
3HAVE_KEYBOARD_PORTRAIT=0
4HAVE_KEYBOARD_LANDSCAPE=1
5
6DISPLAY_CAN_ROTATE=1
7DISPLAY_ORIENTATION=0
8DISPLAY_WIDTH_PIXELS=640
9DISPLAY_WIDTH_MM=74
10DISPLAY_HEIGHT_PIXELS=480
11DISPLAY_HEIGHT_MM=56
12DISPLAY_BPP=16
13#DISPLAY_DPI=220
14DISPLAY_DPI=150
15DISPLAY_SUBPIXEL_ORDER=rgb
diff --git a/meta/recipes-bsp/formfactor/files/cm-x270/machconfig b/meta/recipes-bsp/formfactor/files/cm-x270/machconfig
new file mode 100755
index 0000000..f738729
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/cm-x270/machconfig
@@ -0,0 +1,9 @@
1HAVE_TOUCHSCREEN=0
2HAVE_KEYBOARD=1
3
4DISPLAY_CAN_ROTATE=0
5DISPLAY_ORIENTATION=0
6DISPLAY_WIDTH_PIXELS=640
7DISPLAY_HEIGHT_PIXELS=480
8DISPLAY_BPP=16
9DISPLAY_DPI=150
diff --git a/meta/recipes-bsp/formfactor/files/config b/meta/recipes-bsp/formfactor/files/config
new file mode 100755
index 0000000..ed15d9e
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/config
@@ -0,0 +1,48 @@
1#!/bin/sh
2
3if [ -e /etc/formfactor/machconfig ]; then
4 . /etc/formfactor/machconfig
5fi
6
7if [ -z "$HAVE_TOUCHSCREEN" ]; then
8 HAVE_TOUCHSCREEN=1
9fi
10
11if [ -z "$HAVE_KEYBOARD" ]; then
12 HAVE_KEYBOARD=0
13fi
14
15if [ -z "$HAVE_KEYBOARD_PORTRAIT" ]; then
16 HAVE_KEYBOARD_PORTRAIT=0
17fi
18
19if [ -z "$HAVE_KEYBOARD_LANDSCAPE" ]; then
20 HAVE_KEYBOARD_LANDSCAPE=0
21fi
22
23if [ -z "$DISPLAY_CAN_ROTATE" ]; then
24 DISPLAY_CAN_ROTATE=0
25fi
26
27if [ -z "$DISPLAY_ORIENTATION" ]; then
28 DISPLAY_ORIENTATION=0
29fi
30
31if [ -z "$DISPLAY_WIDTH_PIXELS" ]; then
32 DISPLAY_WIDTH_PIXELS=`fbset | grep geometry | awk '{ print $2 }'`
33fi
34
35if [ -z "$DISPLAY_HEIGHT_PIXELS" ]; then
36 DISPLAY_HEIGHT_PIXELS=`fbset | grep geometry | awk '{ print $3 }'`
37fi
38
39if [ -z "$DISPLAY_BPP" ]; then
40 DISPLAY_BPP=`fbset | grep geometry | awk '{ print $6 }'`
41fi
42
43#
44# No way to guess these or have any defaults
45#
46#DISPLAY_WIDTH_MM
47#DISPLAY_HEIGHT_MM
48#DISPLAY_SUBPIXEL_ORDER=
diff --git a/meta/recipes-bsp/formfactor/files/em-x270/machconfig b/meta/recipes-bsp/formfactor/files/em-x270/machconfig
new file mode 100755
index 0000000..651e59e
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/em-x270/machconfig
@@ -0,0 +1,15 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=0
3HAVE_KEYBOARD_PORTRAIT=0
4HAVE_KEYBOARD_LANDSCAPE=0
5
6DISPLAY_CAN_ROTATE=1
7DISPLAY_ORIENTATION=270
8DISPLAY_WIDTH_PIXELS=480
9DISPLAY_WIDTH_MM=56
10DISPLAY_HEIGHT_PIXELS=640
11DISPLAY_HEIGHT_MM=74
12DISPLAY_BPP=16
13# This is a lie
14DISPLAY_DPI=150
15DISPLAY_SUBPIXEL_ORDER=rgb
diff --git a/meta/recipes-bsp/formfactor/files/htcuniversal/machconfig b/meta/recipes-bsp/formfactor/files/htcuniversal/machconfig
new file mode 100755
index 0000000..a9649e0
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/htcuniversal/machconfig
@@ -0,0 +1,15 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=1
3HAVE_KEYBOARD_PORTRAIT=0
4HAVE_KEYBOARD_LANDSCAPE=1
5
6DISPLAY_CAN_ROTATE=1
7DISPLAY_ORIENTATION=270
8DISPLAY_WIDTH_PIXELS=480
9DISPLAY_WIDTH_MM=56
10DISPLAY_HEIGHT_PIXELS=640
11DISPLAY_HEIGHT_MM=74
12DISPLAY_BPP=16
13#DISPLAY_DPI=220
14DISPLAY_DPI=150
15DISPLAY_SUBPIXEL_ORDER=rgb
diff --git a/meta/recipes-bsp/formfactor/files/igep0020/machconfig b/meta/recipes-bsp/formfactor/files/igep0020/machconfig
new file mode 100755
index 0000000..ffce012
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/igep0020/machconfig
@@ -0,0 +1,3 @@
1# Assume a USB mouse and keyboard are connected
2HAVE_TOUCHSCREEN=0
3HAVE_KEYBOARD=1
diff --git a/meta/recipes-bsp/formfactor/files/machconfig b/meta/recipes-bsp/formfactor/files/machconfig
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/machconfig
diff --git a/meta/recipes-bsp/formfactor/files/netbook/machconfig b/meta/recipes-bsp/formfactor/files/netbook/machconfig
new file mode 100644
index 0000000..bef4ce3
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/netbook/machconfig
@@ -0,0 +1,6 @@
1HAVE_TOUCHSCREEN=0
2HAVE_KEYBOARD=1
3
4DISPLAY_CAN_ROTATE=0
5DISPLAY_ORIENTATION=0
6DISPLAY_DPI=133
diff --git a/meta/recipes-bsp/formfactor/files/nokia800/machconfig b/meta/recipes-bsp/formfactor/files/nokia800/machconfig
new file mode 100755
index 0000000..ebe626c
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/nokia800/machconfig
@@ -0,0 +1,13 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=0
3
4DISPLAY_CAN_ROTATE=0
5DISPLAY_ORIENTATION=0
6DISPLAY_WIDTH_PIXELS=800
7DISPLAY_WIDTH_MM=90
8DISPLAY_HEIGHT_PIXELS=480
9DISPLAY_HEIGHT_MM=54
10DISPLAY_BPP=16
11#DISPLAY_DPI=220
12DISPLAY_DPI=150
13#DISPLAY_SUBPIXEL_ORDER=
diff --git a/meta/recipes-bsp/formfactor/files/om-gta01/machconfig b/meta/recipes-bsp/formfactor/files/om-gta01/machconfig
new file mode 100644
index 0000000..38a9bb0
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/om-gta01/machconfig
@@ -0,0 +1,14 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=0
3HAVE_KEYBOARD_PORTRAIT=0
4HAVE_KEYBOARD_LANDSCAPE=0
5
6DISPLAY_CAN_ROTATE=1
7DISPLAY_ORIENTATION=270
8DISPLAY_WIDTH_PIXELS=480
9DISPLAY_WIDTH_MM=74
10DISPLAY_HEIGHT_PIXELS=640
11DISPLAY_HEIGHT_MM=56
12DISPLAY_BPP=16
13DISPLAY_DPI=280
14DISPLAY_SUBPIXEL_ORDER=rgb
diff --git a/meta/recipes-bsp/formfactor/files/omap-3430ldp/machconfig b/meta/recipes-bsp/formfactor/files/omap-3430ldp/machconfig
new file mode 100755
index 0000000..341ae1c
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/omap-3430ldp/machconfig
@@ -0,0 +1,15 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=0
3HAVE_KEYBOARD_PORTRAIT=0
4HAVE_KEYBOARD_LANDSCAPE=0
5
6DISPLAY_CAN_ROTATE=1
7DISPLAY_ORIENTATION=0
8DISPLAY_WIDTH_PIXELS=480
9DISPLAY_WIDTH_MM=56
10DISPLAY_HEIGHT_PIXELS=640
11DISPLAY_HEIGHT_MM=74
12DISPLAY_BPP=16
13#DISPLAY_DPI=220
14DISPLAY_DPI=150
15DISPLAY_SUBPIXEL_ORDER=rgb
diff --git a/meta/recipes-bsp/formfactor/files/omap-3430sdp/machconfig b/meta/recipes-bsp/formfactor/files/omap-3430sdp/machconfig
new file mode 100755
index 0000000..341ae1c
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/omap-3430sdp/machconfig
@@ -0,0 +1,15 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=0
3HAVE_KEYBOARD_PORTRAIT=0
4HAVE_KEYBOARD_LANDSCAPE=0
5
6DISPLAY_CAN_ROTATE=1
7DISPLAY_ORIENTATION=0
8DISPLAY_WIDTH_PIXELS=480
9DISPLAY_WIDTH_MM=56
10DISPLAY_HEIGHT_PIXELS=640
11DISPLAY_HEIGHT_MM=74
12DISPLAY_BPP=16
13#DISPLAY_DPI=220
14DISPLAY_DPI=150
15DISPLAY_SUBPIXEL_ORDER=rgb
diff --git a/meta/recipes-bsp/formfactor/files/qemuarm/machconfig b/meta/recipes-bsp/formfactor/files/qemuarm/machconfig
new file mode 100755
index 0000000..56a2ae2
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/qemuarm/machconfig
@@ -0,0 +1,10 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=1
3
4DISPLAY_CAN_ROTATE=0
5DISPLAY_ORIENTATION=0
6#DISPLAY_WIDTH_PIXELS=640
7#DISPLAY_HEIGHT_PIXELS=480
8#DISPLAY_BPP=16
9DISPLAY_DPI=150
10DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/meta/recipes-bsp/formfactor/files/qemuarmv6/machconfig b/meta/recipes-bsp/formfactor/files/qemuarmv6/machconfig
new file mode 100755
index 0000000..56a2ae2
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/qemuarmv6/machconfig
@@ -0,0 +1,10 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=1
3
4DISPLAY_CAN_ROTATE=0
5DISPLAY_ORIENTATION=0
6#DISPLAY_WIDTH_PIXELS=640
7#DISPLAY_HEIGHT_PIXELS=480
8#DISPLAY_BPP=16
9DISPLAY_DPI=150
10DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/meta/recipes-bsp/formfactor/files/qemuarmv7/machconfig b/meta/recipes-bsp/formfactor/files/qemuarmv7/machconfig
new file mode 100755
index 0000000..56a2ae2
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/qemuarmv7/machconfig
@@ -0,0 +1,10 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=1
3
4DISPLAY_CAN_ROTATE=0
5DISPLAY_ORIENTATION=0
6#DISPLAY_WIDTH_PIXELS=640
7#DISPLAY_HEIGHT_PIXELS=480
8#DISPLAY_BPP=16
9DISPLAY_DPI=150
10DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/meta/recipes-bsp/formfactor/files/qemux86/machconfig b/meta/recipes-bsp/formfactor/files/qemux86/machconfig
new file mode 100755
index 0000000..56a2ae2
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/qemux86/machconfig
@@ -0,0 +1,10 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=1
3
4DISPLAY_CAN_ROTATE=0
5DISPLAY_ORIENTATION=0
6#DISPLAY_WIDTH_PIXELS=640
7#DISPLAY_HEIGHT_PIXELS=480
8#DISPLAY_BPP=16
9DISPLAY_DPI=150
10DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/meta/recipes-bsp/formfactor/files/spitz/machconfig b/meta/recipes-bsp/formfactor/files/spitz/machconfig
new file mode 100755
index 0000000..a9649e0
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/spitz/machconfig
@@ -0,0 +1,15 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=1
3HAVE_KEYBOARD_PORTRAIT=0
4HAVE_KEYBOARD_LANDSCAPE=1
5
6DISPLAY_CAN_ROTATE=1
7DISPLAY_ORIENTATION=270
8DISPLAY_WIDTH_PIXELS=480
9DISPLAY_WIDTH_MM=56
10DISPLAY_HEIGHT_PIXELS=640
11DISPLAY_HEIGHT_MM=74
12DISPLAY_BPP=16
13#DISPLAY_DPI=220
14DISPLAY_DPI=150
15DISPLAY_SUBPIXEL_ORDER=rgb
diff --git a/meta/recipes-bsp/formfactor/files/zylonite/machconfig b/meta/recipes-bsp/formfactor/files/zylonite/machconfig
new file mode 100755
index 0000000..89f7f0c
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/files/zylonite/machconfig
@@ -0,0 +1,12 @@
1HAVE_TOUCHSCREEN=1
2HAVE_KEYBOARD=0
3HAVE_KEYBOARD_PORTRAIT=0
4HAVE_KEYBOARD_LANDSCAPE=0
5
6DISPLAY_CAN_ROTATE=0
7DISPLAY_ORIENTATION=0
8DISPLAY_WIDTH_PIXELS=480
9DISPLAY_HEIGHT_PIXELS=640
10DISPLAY_BPP=16
11#DISPLAY_DPI=220
12DISPLAY_DPI=150
diff --git a/meta/recipes-bsp/formfactor/formfactor_0.0.bb b/meta/recipes-bsp/formfactor/formfactor_0.0.bb
new file mode 100644
index 0000000..bee1b38
--- /dev/null
+++ b/meta/recipes-bsp/formfactor/formfactor_0.0.bb
@@ -0,0 +1,18 @@
1DESCRIPTION = "Device formfactor information"
2SECTION = "base"
3LICENSE = "MIT"
4PR = "r18"
5
6SRC_URI = "file://config file://machconfig"
7S = "${WORKDIR}"
8
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11do_install() {
12 # Only install file if it has a contents
13 install -d ${D}${sysconfdir}/formfactor/
14 install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/
15 if [ -s "${S}/machconfig" ]; then
16 install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/
17 fi
18}