update buildroot to 2017.02.11

This commit is contained in:
jbnadal
2018-05-22 15:35:47 +02:00
parent 4bf1f5e091
commit a3c10bd762
9257 changed files with 433426 additions and 1701 deletions

View File

@@ -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 \

View File

@@ -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

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_QEXTSERIALPORT
bool "qextserialport"
depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5
help
A Qt library to manage serial ports
http://code.google.com/p/qextserialport/

View File

@@ -0,0 +1,2 @@
# locally computed
sha256 23e3b10a8d8a1e2fb071047144222c43d150748ce6670e5d047ba5b0502ad0b2 qextserialport-ada321a9ee463f628e7b781b8ed00ff219152158.tar.gz

View File

@@ -0,0 +1,45 @@
################################################################################
#
# 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
ifeq ($(BR2_PACKAGE_QT),y)
QEXTSERIALPORT_DEPENDENCIES += qt
QEXTSERIALPORT_QMAKE = $(QT_QMAKE)
else ifeq ($(BR2_PACKAGE_QT5),y)
QEXTSERIALPORT_DEPENDENCIES += qt5base
QEXTSERIALPORT_QMAKE = $(QT5_QMAKE)
endif
define QEXTSERIALPORT_CONFIGURE_CMDS
cd $(@D); $(TARGET_MAKE_ENV) $(QEXTSERIALPORT_QMAKE) $(QEXTSERIALPORT_CONF_OPTS)
endef
define QEXTSERIALPORT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
define QEXTSERIALPORT_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
endef
ifeq ($(BR2_STATIC_LIBS),y)
QEXTSERIALPORT_INSTALL_TARGET = NO
else
define QEXTSERIALPORT_INSTALL_TARGET_CMDS
cp -a $(@D)/*.so.* $(TARGET_DIR)/usr/lib
endef
endif
$(eval $(generic-package))