summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/formfactor/files/config
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-bsp/formfactor/files/config
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/files/config')
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/config48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-bsp/formfactor/files/config b/meta/recipes-bsp/formfactor/files/config
new file mode 100755
index 0000000000..ed15d9e031
--- /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=