added my Recipes
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From 3db6782de1de7ca4f1bb9ee7652c4f2808e57539 Mon Sep 17 00:00:00 2001
|
||||
From: Jackie Huang <jackie.huang@windriver.com>
|
||||
Date: Thu, 10 Jan 2013 12:24:33 +0800
|
||||
Subject: [PATCH] fbset 2.1 fix makefile dep modes.tab.c
|
||||
|
||||
Upstream-Status: Inappropriate [no upstream]
|
||||
|
||||
fix the error in parallel build:
|
||||
make: *** No rule to make target `modes.tab.h', needed by `lex.yy.o'. Stop.
|
||||
|
||||
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 61536c1..09183e5 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -15,7 +15,7 @@ fbset: fbset.o modes.tab.o lex.yy.o
|
||||
|
||||
fbset.o: fbset.c fbset.h fb.h
|
||||
modes.tab.o: modes.tab.c fbset.h fb.h
|
||||
-lex.yy.o: lex.yy.c fbset.h modes.tab.h
|
||||
+lex.yy.o: lex.yy.c fbset.h modes.tab.c
|
||||
|
||||
lex.yy.c: modes.l
|
||||
$(FLEX) modes.l
|
||||
--
|
||||
1.7.4.1
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- fbset-2.1/Makefile.orig 2006-05-28 04:04:27.412095480 +0200
|
||||
+++ fbset-2.1/Makefile 2006-05-28 04:14:05.379231120 +0200
|
||||
@@ -2,7 +2,7 @@
|
||||
# Linux Frame Buffer Device Configuration
|
||||
#
|
||||
|
||||
-CC = gcc -Wall -O2 -I.
|
||||
+CFLAGS = -Wall -O2 -I.
|
||||
BISON = bison -d
|
||||
FLEX = flex
|
||||
INSTALL = install
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "Default display timings and resolutions for fbset"
|
||||
HOMEPAGE = "http://users.telenet.be/geertu/Linux/fbdev/"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PV = "0.1.0"
|
||||
PR = "r6"
|
||||
|
||||
SRC_URI = "file://fb.modes"
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir}
|
||||
}
|
||||
|
||||
# fb.modes file is MACHINE_ARCH, base.bbclass correctly changes it to MACHINE_ARCH, but too late for allarch.bbclass
|
||||
# to disable "all" behavior (found when comparing qemuarm and qemux86 signatures)
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
CONFFILES:${PN} = "${sysconfdir}/fb.modes"
|
||||
@@ -0,0 +1,3 @@
|
||||
# By default there is nothing in this file just a reminder to define some
|
||||
# modes in OE
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
# Timings for GTA01 VGA and QVGA mode
|
||||
|
||||
mode "480x640"
|
||||
# D: 26.000 MHz, H: 43.334 kHz, V: 65.657 Hz
|
||||
geometry 480 640 480 640 16
|
||||
timings 38461 104 8 2 16 8 2
|
||||
accel false
|
||||
endmode
|
||||
|
||||
mode "vga"
|
||||
# D: 26.000 MHz, H: 43.334 kHz, V: 65.657 Hz
|
||||
geometry 480 640 480 640 16
|
||||
timings 38461 104 8 2 16 8 2
|
||||
accel false
|
||||
endmode
|
||||
|
||||
mode "240x320"
|
||||
# D: 8.475 MHz, H: 24.635 kHz, V: 75.569 Hz
|
||||
geometry 240 320 240 320 16
|
||||
timings 118000 88 8 2 2 8 2
|
||||
accel false
|
||||
endmode
|
||||
|
||||
mode "qvga"
|
||||
# D: 8.475 MHz, H: 24.635 kHz, V: 75.569 Hz
|
||||
geometry 240 320 240 320 16
|
||||
timings 118000 88 8 2 2 8 2
|
||||
accel false
|
||||
endmode
|
||||
@@ -0,0 +1,6 @@
|
||||
mode "800x480-65"
|
||||
# D: 36.001 MHz, H: 34.124 kHz, V: 64.998 Hz
|
||||
geometry 800 480 800 480 16
|
||||
timings 27777 40 214 10 34 1 1
|
||||
rgba 5/11,6/5,5/0,0/0
|
||||
endmode
|
||||
@@ -0,0 +1,17 @@
|
||||
# QEMU versatilepb machine, qemuarm in OE
|
||||
|
||||
mode "vga" "640x480"
|
||||
geometry 640 480 640 480 16
|
||||
endmode
|
||||
|
||||
mode "vga-portrait" "480x640"
|
||||
geometry 480 640 480 640 16
|
||||
endmode
|
||||
|
||||
mode "qvga" "320x240"
|
||||
geometry 320 240 320 240 16
|
||||
endmode
|
||||
|
||||
mode "qvga-portrait" "240x320"
|
||||
geometry 240 320 240 320 16
|
||||
endmode
|
||||
@@ -0,0 +1,17 @@
|
||||
# QEMU versatilepb machine, qemuarm in OE
|
||||
|
||||
mode "vga" "640x480"
|
||||
geometry 640 480 640 480 16
|
||||
endmode
|
||||
|
||||
mode "vga-portrait" "480x640"
|
||||
geometry 480 640 480 640 16
|
||||
endmode
|
||||
|
||||
mode "qvga" "320x240"
|
||||
geometry 320 240 320 240 16
|
||||
endmode
|
||||
|
||||
mode "qvga-portrait" "240x320"
|
||||
geometry 240 320 240 320 16
|
||||
endmode
|
||||
@@ -0,0 +1,34 @@
|
||||
From 06edd88833da93361d5408b880fbb890df332497 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Tue, 19 Jan 2016 01:55:47 +0000
|
||||
Subject: [PATCH] fbset: including asm/types.h is needed on all linux systems
|
||||
|
||||
including asm/types.h is needed to get Linux typedef's like
|
||||
__s32 and so on which are independent of C library therefore this
|
||||
define should not be guarded by __GLIBC__ but by __linux__
|
||||
|
||||
Helps to compile it on musl systems
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
fbset.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/fbset.h b/fbset.h
|
||||
index 9b1d2ac..0d8def8 100644
|
||||
--- a/fbset.h
|
||||
+++ b/fbset.h
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
-#ifdef __GLIBC__
|
||||
+#ifdef __linux__
|
||||
#include <asm/types.h>
|
||||
#endif
|
||||
|
||||
--
|
||||
2.7.0
|
||||
|
||||
38
meta-openembedded/meta-oe/recipes-support/fbset/fbset_2.1.bb
Normal file
38
meta-openembedded/meta-oe/recipes-support/fbset/fbset_2.1.bb
Normal file
@@ -0,0 +1,38 @@
|
||||
#
|
||||
# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
|
||||
# License: MIT (see http://www.opensource.org/licenses/mit-license.php for a copy of the license)
|
||||
#
|
||||
# Filename: fbset_2.1.bb
|
||||
# Date: 28-May-06
|
||||
|
||||
SUMMARY = "The fbset console tool"
|
||||
HOMEPAGE = "http://users.telenet.be/geertu/Linux/fbdev/"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://fbset.c;endline=19;md5=bf326f82cdfcac391af208f019c5603f"
|
||||
RRECOMMENDS:${PN} = "fbset-modes"
|
||||
DEPENDS = "bison-native flex-native"
|
||||
|
||||
PR = "r4"
|
||||
|
||||
SRC_URI = "${DEBIAN_MIRROR}/main/f/fbset/fbset_2.1.orig.tar.gz \
|
||||
file://makefile.patch \
|
||||
file://fbset-2.1-fix-makefile-dep.patch \
|
||||
file://0001-fbset-including-asm-types.h-is-needed-on-all-linux-s.patch \
|
||||
"
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sbindir} ${D}${datadir}/man/man8 ${D}${datadir}/man/man5
|
||||
install -m 0755 ${B}/fbset ${D}${sbindir}/fbset.real
|
||||
install -m 0644 ${B}/*.5 ${D}${datadir}/man/man5
|
||||
install -m 0644 ${B}/*.8 ${D}${datadir}/man/man8
|
||||
}
|
||||
|
||||
ALTERNATIVE:fbset = "fbset"
|
||||
ALTERNATIVE_LINK_NAME[fbset] = "${sbindir}/fbset"
|
||||
ALTERNATIVE_TARGET[fbset] = "${sbindir}/fbset.real"
|
||||
ALTERNATIVE_PRIORITY[fbset] = "55"
|
||||
|
||||
SRC_URI[md5sum] = "40ed9608f46d787bfb65fd1269f7f459"
|
||||
SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338"
|
||||
Reference in New Issue
Block a user