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,40 @@
From 62fbe9c3539945df6204501b7e3ae0d51db075a3 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Thu, 24 Nov 2016 22:30:40 +0100
Subject: [PATCH] Create a main include file QExtSerialPort
This main include file will be installed in
<QtExtSerialPort/QExtSerialPort> so that Qt applications can use this
library by including header files in a Qt-like style.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Arnout: add it to qextserialport.pri so it is installed]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
src/QExtSerialPort | 2 ++
src/qextserialport.pri | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
create mode 100644 src/QExtSerialPort
diff --git a/src/QExtSerialPort b/src/QExtSerialPort
new file mode 100644
index 0000000..a48aeea
--- /dev/null
+++ b/src/QExtSerialPort
@@ -0,0 +1,2 @@
+#include "qextserialport.h"
+#include "qextserialenumerator.h"
diff --git a/src/qextserialport.pri b/src/qextserialport.pri
index 461d56f..f8a678d 100644
--- a/src/qextserialport.pri
+++ b/src/qextserialport.pri
@@ -3,7 +3,8 @@
PUBLIC_HEADERS += $$PWD/qextserialport.h \
$$PWD/qextserialenumerator.h \
- $$PWD/qextserialport_global.h
+ $$PWD/qextserialport_global.h \
+ $$PWD/QExtSerialPort
HEADERS += $$PUBLIC_HEADERS \
$$PWD/qextserialport_p.h \
@@ -0,0 +1,28 @@
From 14d4d3e7b5c748118acffddd397fb67b37fd5054 Mon Sep 17 00:00:00 2001
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Date: Thu, 24 Nov 2016 22:44:02 +0100
Subject: [PATCH] Tell qmake to add a pkgconfig file to ease usage with
applications
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
qextserialport.pro | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qextserialport.pro b/qextserialport.pro
index 8d2c03a..2fcb39c 100644
--- a/qextserialport.pro
+++ b/qextserialport.pro
@@ -42,7 +42,8 @@ TEMPLATE=lib
include(src/qextserialport.pri)
#create_prl is needed, otherwise, MinGW can't found libqextserialport1.a
-CONFIG += create_prl
+CONFIG += create_prl create_pc
+QMAKE_PKGCONFIG_DESTDIR = pkgconfig
#mac framework is designed for shared library
macx:qesp_mac_framework:qesp_static: CONFIG -= qesp_static
--
2.10.2
+7
View File
@@ -0,0 +1,7 @@
config BR2_PACKAGE_QEXTSERIALPORT
bool "qextserialport"
depends on BR2_PACKAGE_QT5
help
A Qt library to manage serial ports
http://qextserialport.github.io/
@@ -0,0 +1,3 @@
# locally computed
sha256 23e3b10a8d8a1e2fb071047144222c43d150748ce6670e5d047ba5b0502ad0b2 qextserialport-ada321a9ee463f628e7b781b8ed00ff219152158.tar.gz
sha256 363f34c4e9ee62df5e88788723beb9d0ad2c62fa36625355f261f7e6d672aaf5 LICENSE.md
+17
View File
@@ -0,0 +1,17 @@
################################################################################
#
# qextserialport
#
################################################################################
QEXTSERIALPORT_VERSION = ada321a9ee463f628e7b781b8ed00ff219152158
QEXTSERIALPORT_SITE = $(call github,qextserialport,qextserialport,$(QEXTSERIALPORT_VERSION))
QEXTSERIALPORT_LICENSE = MIT
QEXTSERIALPORT_LICENSE_FILES = LICENSE.md
QEXTSERIALPORT_INSTALL_STAGING = YES
ifeq ($(BR2_STATIC_LIBS),y)
QEXTSERIALPORT_CONF_OPTS += CONFIG+=qesp_static
endif
$(eval $(qmake-package))