initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
@@ -0,0 +1,29 @@
From 562f48bee3443bda0ac257f2b0c52a72208163e0 Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Mon, 7 Dec 2015 21:20:38 +0100
Subject: [PATCH] Fix install file list.
Fixes:
CMake Error at cmake_install.cmake:40 (file):
file INSTALL cannot find
".../build/read-edid-3.0.2/COPYING".
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7bf4561..2b9bc86 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,5 +13,5 @@ endif ()
add_subdirectory (parse-edid)
INSTALL(FILES get-edid.1 DESTINATION share/man/man1)
-INSTALL(FILES AUTHORS ChangeLog COPYING README DESTINATION
+INSTALL(FILES AUTHORS ChangeLog README DESTINATION
share/doc/read-edid)
--
2.1.4
@@ -0,0 +1,19 @@
Fix compiler check
By default CMake looks for c++ which the project does not need.
Patch by Thomas:
http://lists.busybox.net/pipermail/buildroot/2015-December/146865.html
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -uNr read-edid-3.0.2.org/CMakeLists.txt read-edid-3.0.2/CMakeLists.txt
--- read-edid-3.0.2.org/CMakeLists.txt 2014-02-05 17:27:26.000000000 +0100
+++ read-edid-3.0.2/CMakeLists.txt 2015-12-13 16:08:43.000000000 +0100
@@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 2.6)
-project (read-edid)
+project (read-edid C)
option(I2CBUILD "Build I2C get-edid implementation" ON)
option(CLASSICBUILD "Build VBE get-edid implementation" ON)
@@ -0,0 +1,49 @@
fix build with gcc 10
Define quiet as static to avoid the following build failure with gcc 10
(which defaults to -fno-common):
/home/naourr/work/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/get-edid.dir/i2c.c.o:(.bss+0x0): multiple definition of `quiet'; CMakeFiles/get-edid.dir/get-edid.c.o:(.bss+0x0): first defined here
Fixes:
- http://autobuild.buildroot.org/results/28bde8049b6610273bceae26eca407c819a37dcd
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: sent to pyrophobicman@gmail.com]
diff -Nura read-edid-3.0.2.orig/get-edid/classic.c read-edid-3.0.2/get-edid/classic.c
--- read-edid-3.0.2.orig/get-edid/classic.c 2020-09-25 23:25:01.928805414 +0200
+++ read-edid-3.0.2/get-edid/classic.c 2020-09-25 23:26:37.440807301 +0200
@@ -26,7 +26,7 @@
#define dosmemput(buffer,length,offset) memcpy(offset,buffer,length)
#define display(...) if (quiet == 0) { fprintf(stderr, __VA_ARGS__); }
-int quiet;
+static int quiet;
real_ptr far_ptr_to_real_ptr( uint32 farptr )
{
diff -Nura read-edid-3.0.2.orig/get-edid/get-edid.c read-edid-3.0.2/get-edid/get-edid.c
--- read-edid-3.0.2.orig/get-edid/get-edid.c 2020-09-25 23:25:01.928805414 +0200
+++ read-edid-3.0.2/get-edid/get-edid.c 2020-09-25 23:28:20.740809341 +0200
@@ -9,7 +9,7 @@
#include <stdlib.h>
#include <string.h>
-int quiet=0;
+static int quiet=0;
int i2conly=0; //0=both, 1=i2conly, 2=classiconly
int i2cbus=-1;
int classmon=0;
diff -Nura read-edid-3.0.2.orig/get-edid/i2c.c read-edid-3.0.2/get-edid/i2c.c
--- read-edid-3.0.2.orig/get-edid/i2c.c 2020-09-25 23:25:01.928805414 +0200
+++ read-edid-3.0.2/get-edid/i2c.c 2020-09-25 23:28:32.152809567 +0200
@@ -15,7 +15,7 @@
//Ideas (but not too much actual code) taken from i2c-tools. Thanks guys.
-int quiet;
+static int quiet;
#define display(...) if (quiet == 0) { fprintf(stderr, __VA_ARGS__); }
+13
View File
@@ -0,0 +1,13 @@
config BR2_PACKAGE_READ_EDID
bool "read-edid"
help
Read-edid is a pair of tools for reading the EDID from a
monitor. It should work with most monitors made since 1996
(except for newer ones with 256-byte EDID's - WiP), assuming
the video card supports the standard read commands (most
do). Read-edid is a set of two tools - get-edid, which gets
the raw edid information from the monitor, and parse-edid,
which turns the raw binary information into an
XF86Config-compatible monitor section.
http://polypux.org/projects/read-edid/
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f read-edid-3.0.2.tar.gz
sha256 1f8e8a59865d73076ab0a015330bc5bde7332384281260093878a3c366b778b7 LICENSE
+15
View File
@@ -0,0 +1,15 @@
################################################################################
#
# read-edid
#
################################################################################
READ_EDID_VERSION = 3.0.2
READ_EDID_SITE = http://www.polypux.org/projects/read-edid
READ_EDID_LICENSE = BSD-like
READ_EDID_LICENSE_FILES = LICENSE
# disable classic get-edid support (needs libx86)
READ_EDID_CONF_OPTS += -DCLASSICBUILD=OFF
$(eval $(cmake-package))