Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
From bdfb3526466f8fb8f13d9259037d8f42c782ce24 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Wagner <wagi@monom.org>
|
||||
Date: Wed, 17 Jan 2018 23:42:50 +0100
|
||||
Subject: [PATCH] tethering: Reorder header includes
|
||||
|
||||
Avoid compile errors due to unsupported header include order with
|
||||
newer kernels (>=4.15). We should import the libc header files first
|
||||
and then the Linux header files in user space applications.
|
||||
|
||||
Reported by Neil MacLeod <neil@nmacleod.com>. Fix probosal by Jonas
|
||||
Bonn <jonas@southpole.se> and Hauke Mehrtens <hauke@hauke-m.de>.
|
||||
|
||||
Signed-off-by: Martin Bark <martin@barkynet.com>
|
||||
---
|
||||
src/tethering.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/tethering.c b/src/tethering.c
|
||||
index c929ba7..4b20236 100644
|
||||
--- a/src/tethering.c
|
||||
+++ b/src/tethering.c
|
||||
@@ -31,11 +31,11 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <net/if.h>
|
||||
-#include <linux/sockios.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
-#include <linux/if_tun.h>
|
||||
#include <netinet/in.h>
|
||||
+#include <linux/sockios.h>
|
||||
+#include <linux/if_tun.h>
|
||||
#include <linux/if_bridge.h>
|
||||
|
||||
#include "connman.h"
|
||||
--
|
||||
2.7.4
|
||||
@@ -1,20 +1,20 @@
|
||||
config BR2_PACKAGE_CONNMAN
|
||||
bool "connman"
|
||||
select BR2_PACKAGE_DBUS
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_IPTABLES
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
|
||||
depends on BR2_USE_MMU # dbus, libglib2
|
||||
depends on !BR2_STATIC_LIBS # needs dlopen()
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # mixes userspace and kernel headers
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # missing res_ninit()
|
||||
select BR2_PACKAGE_DBUS
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_IPTABLES
|
||||
help
|
||||
The Connection Manager (ConnMan) project provides a daemon
|
||||
for managing internet connections within embedded devices
|
||||
running the Linux operating system.
|
||||
|
||||
For more information, see https://01.org/connman
|
||||
https://01.org/connman
|
||||
|
||||
if BR2_PACKAGE_CONNMAN
|
||||
|
||||
@@ -33,12 +33,16 @@ config BR2_PACKAGE_CONNMAN_WIFI
|
||||
|
||||
config BR2_PACKAGE_CONNMAN_WISPR
|
||||
bool "enable WISPr support"
|
||||
depends on !BR2_STATIC_LIBS # gnutls
|
||||
select BR2_PACKAGE_GNUTLS
|
||||
help
|
||||
Enable support for Wireless Internet Service Provider
|
||||
roaming (WISPr). A RADIUS server is used to authenticate the
|
||||
subscriber's credentials.
|
||||
|
||||
comment "connman WISPr needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_CONNMAN_BLUETOOTH
|
||||
bool "enable Bluetooth support"
|
||||
help
|
||||
@@ -50,8 +54,8 @@ config BR2_PACKAGE_CONNMAN_LOOPBACK
|
||||
|
||||
config BR2_PACKAGE_CONNMAN_NEARD
|
||||
bool "enable neard support"
|
||||
select BR2_PACKAGE_NEARD
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # neard
|
||||
select BR2_PACKAGE_NEARD
|
||||
|
||||
config BR2_PACKAGE_CONNMAN_OFONO
|
||||
bool "enable ofono support"
|
||||
|
||||
@@ -9,16 +9,16 @@ CONNMAN_SOURCE = connman-$(CONNMAN_VERSION).tar.xz
|
||||
CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman
|
||||
CONNMAN_DEPENDENCIES = libglib2 dbus iptables
|
||||
CONNMAN_INSTALL_STAGING = YES
|
||||
CONNMAN_LICENSE = GPLv2
|
||||
CONNMAN_LICENSE = GPL-2.0
|
||||
CONNMAN_LICENSE_FILES = COPYING
|
||||
CONNMAN_CONF_OPTS += \
|
||||
--with-dbusconfdir=/etc \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_DEBUG),--enable-debug,--disable-debug) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_ETHERNET),--enable-ethernet,--disable-ethernet) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_WIFI),--enable-wifi,--disable-wifi) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_DEBUG),--enable-debug,--disable-debug) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_ETHERNET),--enable-ethernet,--disable-ethernet) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_WIFI),--enable-wifi,--disable-wifi) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_WISPR),--enable-wispr,--disable-wispr) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_BLUETOOTH),--enable-bluetooth,--disable-bluetooth) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_LOOPBACK),--enable-loopback,--disable-loopback) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_BLUETOOTH),--enable-bluetooth,--disable-bluetooth) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_LOOPBACK),--enable-loopback,--disable-loopback) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_NEARD),--enable-neard,--disable-neard) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_OFONO),--enable-ofono,--disable-ofono) \
|
||||
$(if $(BR2_INIT_SYSTEMD),--with-systemdunitdir=/usr/lib/systemd/system)
|
||||
|
||||
Reference in New Issue
Block a user