diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-support/fbset | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/fbset')
9 files changed, 171 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/fbset/fbset-2.1/fbset-2.1-fix-makefile-dep.patch b/meta-oe/recipes-support/fbset/fbset-2.1/fbset-2.1-fix-makefile-dep.patch new file mode 100644 index 000000000..41ab8af3d --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-2.1/fbset-2.1-fix-makefile-dep.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 3db6782de1de7ca4f1bb9ee7652c4f2808e57539 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Thu, 10 Jan 2013 12:24:33 +0800 | ||
4 | Subject: [PATCH] fbset 2.1 fix makefile dep modes.tab.c | ||
5 | |||
6 | Upstream-Status: Inappropriate [no upstream] | ||
7 | |||
8 | fix the error in parallel build: | ||
9 | make: *** No rule to make target `modes.tab.h', needed by `lex.yy.o'. Stop. | ||
10 | |||
11 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
12 | --- | ||
13 | Makefile | 2 +- | ||
14 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
15 | |||
16 | diff --git a/Makefile b/Makefile | ||
17 | index 61536c1..09183e5 100644 | ||
18 | --- a/Makefile | ||
19 | +++ b/Makefile | ||
20 | @@ -15,7 +15,7 @@ fbset: fbset.o modes.tab.o lex.yy.o | ||
21 | |||
22 | fbset.o: fbset.c fbset.h fb.h | ||
23 | modes.tab.o: modes.tab.c fbset.h fb.h | ||
24 | -lex.yy.o: lex.yy.c fbset.h modes.tab.h | ||
25 | +lex.yy.o: lex.yy.c fbset.h modes.tab.c | ||
26 | |||
27 | lex.yy.c: modes.l | ||
28 | $(FLEX) modes.l | ||
29 | -- | ||
30 | 1.7.4.1 | ||
31 | |||
diff --git a/meta-oe/recipes-support/fbset/fbset-2.1/makefile.patch b/meta-oe/recipes-support/fbset/fbset-2.1/makefile.patch new file mode 100644 index 000000000..82b1c61e9 --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-2.1/makefile.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- fbset-2.1/Makefile.orig 2006-05-28 04:04:27.412095480 +0200 | ||
2 | +++ fbset-2.1/Makefile 2006-05-28 04:14:05.379231120 +0200 | ||
3 | @@ -2,7 +2,7 @@ | ||
4 | # Linux Frame Buffer Device Configuration | ||
5 | # | ||
6 | |||
7 | -CC = gcc -Wall -O2 -I. | ||
8 | +CFLAGS = -Wall -O2 -I. | ||
9 | BISON = bison -d | ||
10 | FLEX = flex | ||
11 | INSTALL = install | ||
diff --git a/meta-oe/recipes-support/fbset/fbset-modes.bb b/meta-oe/recipes-support/fbset/fbset-modes.bb new file mode 100644 index 000000000..1310e6f7b --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Default display timings and resolutions for fbset" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
4 | |||
5 | PV = "0.1.0" | ||
6 | PR = "r6" | ||
7 | |||
8 | SRC_URI = "file://fb.modes" | ||
9 | |||
10 | do_install() { | ||
11 | install -d ${D}${sysconfdir} | ||
12 | install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir} | ||
13 | } | ||
14 | |||
15 | inherit allarch | ||
16 | |||
17 | # fb.modes file is MACHINE_ARCH, base.bbclass correctly changes it to MACHINE_ARCH, but too late for allarch.bbclass | ||
18 | # to disable "all" behavior (found when comparing qemuarm and qemux86 signatures) | ||
19 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
20 | |||
21 | CONFFILES_${PN} = "${sysconfdir}/fb.modes" | ||
diff --git a/meta-oe/recipes-support/fbset/fbset-modes/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/fb.modes new file mode 100644 index 000000000..ba5e6ed71 --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/fb.modes | |||
@@ -0,0 +1,3 @@ | |||
1 | # By default there is nothing in this file just a reminder to define some | ||
2 | # modes in OE | ||
3 | |||
diff --git a/meta-oe/recipes-support/fbset/fbset-modes/om-gta01/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/om-gta01/fb.modes new file mode 100644 index 000000000..446d23dd8 --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/om-gta01/fb.modes | |||
@@ -0,0 +1,29 @@ | |||
1 | # Timings for GTA01 VGA and QVGA mode | ||
2 | |||
3 | mode "480x640" | ||
4 | # D: 26.000 MHz, H: 43.334 kHz, V: 65.657 Hz | ||
5 | geometry 480 640 480 640 16 | ||
6 | timings 38461 104 8 2 16 8 2 | ||
7 | accel false | ||
8 | endmode | ||
9 | |||
10 | mode "vga" | ||
11 | # D: 26.000 MHz, H: 43.334 kHz, V: 65.657 Hz | ||
12 | geometry 480 640 480 640 16 | ||
13 | timings 38461 104 8 2 16 8 2 | ||
14 | accel false | ||
15 | endmode | ||
16 | |||
17 | mode "240x320" | ||
18 | # D: 8.475 MHz, H: 24.635 kHz, V: 75.569 Hz | ||
19 | geometry 240 320 240 320 16 | ||
20 | timings 118000 88 8 2 2 8 2 | ||
21 | accel false | ||
22 | endmode | ||
23 | |||
24 | mode "qvga" | ||
25 | # D: 8.475 MHz, H: 24.635 kHz, V: 75.569 Hz | ||
26 | geometry 240 320 240 320 16 | ||
27 | timings 118000 88 8 2 2 8 2 | ||
28 | accel false | ||
29 | endmode | ||
diff --git a/meta-oe/recipes-support/fbset/fbset-modes/omap3-pandora/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/omap3-pandora/fb.modes new file mode 100644 index 000000000..0c87401b5 --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/omap3-pandora/fb.modes | |||
@@ -0,0 +1,6 @@ | |||
1 | mode "800x480-65" | ||
2 | # D: 36.001 MHz, H: 34.124 kHz, V: 64.998 Hz | ||
3 | geometry 800 480 800 480 16 | ||
4 | timings 27777 40 214 10 34 1 1 | ||
5 | rgba 5/11,6/5,5/0,0/0 | ||
6 | endmode | ||
diff --git a/meta-oe/recipes-support/fbset/fbset-modes/qemuarm/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/qemuarm/fb.modes new file mode 100644 index 000000000..111456479 --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/qemuarm/fb.modes | |||
@@ -0,0 +1,17 @@ | |||
1 | # QEMU versatilepb machine, qemuarm in OE | ||
2 | |||
3 | mode "vga" "640x480" | ||
4 | geometry 640 480 640 480 16 | ||
5 | endmode | ||
6 | |||
7 | mode "vga-portrait" "480x640" | ||
8 | geometry 480 640 480 640 16 | ||
9 | endmode | ||
10 | |||
11 | mode "qvga" "320x240" | ||
12 | geometry 320 240 320 240 16 | ||
13 | endmode | ||
14 | |||
15 | mode "qvga-portrait" "240x320" | ||
16 | geometry 240 320 240 320 16 | ||
17 | endmode | ||
diff --git a/meta-oe/recipes-support/fbset/fbset-modes/qemumips/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/qemumips/fb.modes new file mode 100644 index 000000000..111456479 --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/qemumips/fb.modes | |||
@@ -0,0 +1,17 @@ | |||
1 | # QEMU versatilepb machine, qemuarm in OE | ||
2 | |||
3 | mode "vga" "640x480" | ||
4 | geometry 640 480 640 480 16 | ||
5 | endmode | ||
6 | |||
7 | mode "vga-portrait" "480x640" | ||
8 | geometry 480 640 480 640 16 | ||
9 | endmode | ||
10 | |||
11 | mode "qvga" "320x240" | ||
12 | geometry 320 240 320 240 16 | ||
13 | endmode | ||
14 | |||
15 | mode "qvga-portrait" "240x320" | ||
16 | geometry 240 320 240 320 16 | ||
17 | endmode | ||
diff --git a/meta-oe/recipes-support/fbset/fbset_2.1.bb b/meta-oe/recipes-support/fbset/fbset_2.1.bb new file mode 100644 index 000000000..18559326a --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset_2.1.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | # | ||
2 | # Copyright Matthias Hentges <devel@hentges.net> (c) 2006 | ||
3 | # License: MIT (see http://www.opensource.org/licenses/mit-license.php for a copy of the license) | ||
4 | # | ||
5 | # Filename: fbset_2.1.bb | ||
6 | # Date: 28-May-06 | ||
7 | |||
8 | SUMMARY = "The fbset console tool" | ||
9 | LICENSE = "GPLv2" | ||
10 | LIC_FILES_CHKSUM = "file://fbset.c;endline=19;md5=bf326f82cdfcac391af208f019c5603f" | ||
11 | RRECOMMENDS_${PN} = "fbset-modes" | ||
12 | DEPENDS = "bison-native flex-native" | ||
13 | |||
14 | PR = "r4" | ||
15 | |||
16 | SRC_URI = "http://ftp.debian.org/debian/pool/main/f/fbset/fbset_2.1.orig.tar.gz \ | ||
17 | file://makefile.patch \ | ||
18 | file://fbset-2.1-fix-makefile-dep.patch \ | ||
19 | " | ||
20 | |||
21 | inherit update-alternatives | ||
22 | |||
23 | do_install() { | ||
24 | install -d ${D}${sbindir} ${D}${datadir}/man/man8 ${D}${datadir}/man/man5 | ||
25 | install -m 0755 ${WORKDIR}/${BP}/fbset ${D}${sbindir}/fbset.real | ||
26 | install -m 0644 ${WORKDIR}/${BP}/*.5 ${D}${datadir}/man/man5 | ||
27 | install -m 0644 ${WORKDIR}/${BP}/*.8 ${D}${datadir}/man/man8 | ||
28 | } | ||
29 | |||
30 | ALTERNATIVE_fbset = "fbset" | ||
31 | ALTERNATIVE_LINK_NAME[fbset] = "${sbindir}/fbset" | ||
32 | ALTERNATIVE_TARGET[fbset] = "${sbindir}/fbset.real" | ||
33 | ALTERNATIVE_PRIORITY[fbset] = "55" | ||
34 | |||
35 | SRC_URI[md5sum] = "40ed9608f46d787bfb65fd1269f7f459" | ||
36 | SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338" | ||