Bump buildroot to 2019.02
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
From 7c136b4f1941e5bb2a6c8d93985c5734c6aefb29 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@writeme.com>
|
||||
Date: Sun, 22 May 2016 09:48:57 +0200
|
||||
Subject: [PATCH 1/1] tools/bneptest.c: Remove include linux/if_bridge.h to fix
|
||||
musl build
|
||||
|
||||
Inspired by busybox commit:
|
||||
https://git.busybox.net/busybox/commit/networking/brctl.c?id=5fa6d1a632505789409a2ba6cf8e112529f9db18
|
||||
|
||||
The build error was found by the autobuilders of the buildroot project:
|
||||
http://autobuild.buildroot.net/results/eba/ebaa0bcb9c325aa6ed0bbd6c7ec75d44befa7645/build-end.log
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@writeme.com>
|
||||
(Patch sent upstream:
|
||||
http://article.gmane.org/gmane.linux.bluez.kernel/67621)
|
||||
---
|
||||
tools/bneptest.c | 12 +++++++++++-
|
||||
1 file changed, 11 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/bneptest.c b/tools/bneptest.c
|
||||
index 1404252..b832d72 100644
|
||||
--- a/tools/bneptest.c
|
||||
+++ b/tools/bneptest.c
|
||||
@@ -36,7 +36,17 @@
|
||||
#include <net/if.h>
|
||||
#include <linux/sockios.h>
|
||||
#include <netinet/in.h>
|
||||
-#include <linux/if_bridge.h>
|
||||
+/* #include <linux/if_bridge.h>
|
||||
+ * breaks on musl: we already included netinet/in.h,
|
||||
+ * if we also include <linux/if_bridge.h> here, we get this:
|
||||
+ * In file included from /usr/include/linux/if_bridge.h:18,
|
||||
+ * from networking/brctl.c:67:
|
||||
+ * /usr/include/linux/in6.h:32: error: redefinition of 'struct in6_addr'
|
||||
+ * /usr/include/linux/in6.h:49: error: redefinition of 'struct sockaddr_in6'
|
||||
+ * /usr/include/linux/in6.h:59: error: redefinition of 'struct ipv6_mreq'
|
||||
+ */
|
||||
+/* From <linux/if_bridge.h> */
|
||||
+#define BRCTL_SET_BRIDGE_FORWARD_DELAY 8
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
--
|
||||
2.8.1
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
From 654444dd8faf02b46f41d81f3d9c623d57bdd399 Mon Sep 17 00:00:00 2001
|
||||
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
|
||||
Date: Fri, 20 Apr 2018 16:04:17 +0200
|
||||
Subject: [PATCH] bt_shell APIs shall only be build if readline is present on
|
||||
the system since it currently depend on it.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Upstream-status: https://marc.info/?l=linux-bluetooth&m=152422938306592&w=2
|
||||
---
|
||||
Makefile.am | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index daf34b6ca..9c3c17139 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -119,7 +119,11 @@ shared_sources = src/shared/io.h src/shared/timeout.h \
|
||||
src/shared/gatt-server.h src/shared/gatt-server.c \
|
||||
src/shared/gatt-db.h src/shared/gatt-db.c \
|
||||
src/shared/gap.h src/shared/gap.c \
|
||||
- src/shared/tty.h src/shared/shell.c src/shared/shell.h
|
||||
+ src/shared/tty.h
|
||||
+
|
||||
+if READLINE
|
||||
+shared_sources += src/shared/shell.c src/shared/shell.h
|
||||
+endif
|
||||
|
||||
src_libshared_glib_la_SOURCES = $(shared_sources) \
|
||||
src/shared/io-glib.c \
|
||||
--
|
||||
2.14.3
|
||||
|
||||
@@ -56,29 +56,29 @@ config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
|
||||
help
|
||||
Build BlueZ 5.x experimental Nokia OBEX PC Suite plugin
|
||||
|
||||
config BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH
|
||||
config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH
|
||||
bool "build health plugin"
|
||||
help
|
||||
Build BlueZ 5.x health plugin
|
||||
|
||||
config BR2_PACKAGE_BLUEZ5_PLUGINS_MIDI
|
||||
config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI
|
||||
bool "build midi profile"
|
||||
select BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
help
|
||||
Build BlueZ 5.x midi plugin
|
||||
|
||||
config BR2_PACKAGE_BLUEZ5_PLUGINS_NFC
|
||||
config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC
|
||||
bool "build nfc plugin"
|
||||
help
|
||||
Build BlueZ 5.x nfc plugin
|
||||
|
||||
config BR2_PACKAGE_BLUEZ5_PLUGINS_SAP
|
||||
config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP
|
||||
bool "build sap plugin"
|
||||
help
|
||||
Build BlueZ 5.x sap plugin
|
||||
|
||||
config BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS
|
||||
config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS
|
||||
bool "build sixaxis plugin"
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
help
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
# From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc:
|
||||
sha256 b9a8723072ef66bae7ec301c774902ebcb444c9c5b149b5a199e60a1ba970e90 bluez-5.48.tar.xz
|
||||
sha256 5ffcaae18bbb6155f1591be8c24898dc12f062075a40b538b745bfd477481911 bluez-5.50.tar.xz
|
||||
sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
|
||||
sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING.LIB
|
||||
|
||||
@@ -4,20 +4,24 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BLUEZ5_UTILS_VERSION = 5.48
|
||||
# Keep the version and patches in sync with bluez5_utils-headers
|
||||
BLUEZ5_UTILS_VERSION = 5.50
|
||||
BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
|
||||
BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
|
||||
BLUEZ5_UTILS_INSTALL_STAGING = YES
|
||||
BLUEZ5_UTILS_DEPENDENCIES = dbus libglib2
|
||||
BLUEZ5_UTILS_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||
BLUEZ5_UTILS_LICENSE_FILES = COPYING COPYING.LIB
|
||||
# 0001-bt_shell-APIs-shall-only-be-build-if-readline-is-pre.patch
|
||||
BLUEZ5_UTILS_AUTORECONF = YES
|
||||
|
||||
BLUEZ5_UTILS_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),bluez5_utils-headers) \
|
||||
dbus \
|
||||
libglib2
|
||||
|
||||
BLUEZ5_UTILS_CONF_OPTS = \
|
||||
--enable-tools \
|
||||
--enable-library \
|
||||
--disable-cups
|
||||
--disable-cups \
|
||||
--with-dbusconfdir=/etc
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_OBEX),y)
|
||||
BLUEZ5_UTILS_CONF_OPTS += --enable-obex
|
||||
@@ -41,14 +45,14 @@ BLUEZ5_UTILS_CONF_OPTS += --disable-experimental
|
||||
endif
|
||||
|
||||
# enable health plugin
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH),y)
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH),y)
|
||||
BLUEZ5_UTILS_CONF_OPTS += --enable-health
|
||||
else
|
||||
BLUEZ5_UTILS_CONF_OPTS += --disable-health
|
||||
endif
|
||||
|
||||
# enable midi profile
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_MIDI),y)
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI),y)
|
||||
BLUEZ5_UTILS_CONF_OPTS += --enable-midi
|
||||
BLUEZ5_UTILS_DEPENDENCIES += alsa-lib
|
||||
else
|
||||
@@ -56,21 +60,21 @@ BLUEZ5_UTILS_CONF_OPTS += --disable-midi
|
||||
endif
|
||||
|
||||
# enable nfc plugin
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_NFC),y)
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC),y)
|
||||
BLUEZ5_UTILS_CONF_OPTS += --enable-nfc
|
||||
else
|
||||
BLUEZ5_UTILS_CONF_OPTS += --disable-nfc
|
||||
endif
|
||||
|
||||
# enable sap plugin
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_SAP),y)
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP),y)
|
||||
BLUEZ5_UTILS_CONF_OPTS += --enable-sap
|
||||
else
|
||||
BLUEZ5_UTILS_CONF_OPTS += --disable-sap
|
||||
endif
|
||||
|
||||
# enable sixaxis plugin
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS),y)
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS),y)
|
||||
BLUEZ5_UTILS_CONF_OPTS += --enable-sixaxis
|
||||
else
|
||||
BLUEZ5_UTILS_CONF_OPTS += --disable-sixaxis
|
||||
|
||||
Reference in New Issue
Block a user