Update buidlroot to version 2016.08.1
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
From 8d189e73e660a637ae3f5a604448103ea42e397d Mon Sep 17 00:00:00 2001
|
||||
From: Martin Bark <martin@barkynet.com>
|
||||
Date: Fri, 12 Feb 2016 16:52:19 +0000
|
||||
Subject: [PATCH] ping: link against libm
|
||||
|
||||
This commit links ping against libm because ping.c calls the math library
|
||||
function finite().
|
||||
|
||||
Signed-off-by: Martin Bark <martin@barkynet.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 8b37c42..fb80f6f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -156,7 +156,7 @@ LIB_clockdiff = $(LIB_CAP)
|
||||
DEF_ping_common = $(DEF_CAP) $(DEF_IDN)
|
||||
DEF_ping6_common = $(DEF_CAP) $(DEF_IDN)
|
||||
DEF_ping = $(DEF_CAP) $(DEF_IDN) $(DEF_WITHOUT_IFADDRS)
|
||||
-LIB_ping = $(LIB_CAP) $(LIB_IDN) $(LIB_RESOLV)
|
||||
+LIB_ping = $(LIB_CAP) $(LIB_IDN) $(LIB_RESOLV) -lm
|
||||
|
||||
ping: ping_common.o ping6_common.o
|
||||
ping.o ping_common.o ping6_common.o: ping.h in6_flowlabel.h
|
||||
--
|
||||
2.7.0
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
config BR2_PACKAGE_IPUTILS
|
||||
bool "iputils"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
This package is set of small useful utilities for Linux networking.
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 0e98cb527fa175d1e08afb969c124e452b30968f10ec2c3b078f1440c8977a94 iputils-c8ff6feaf0442f8efd96ccb415770c54f9e84d47.tar.gz
|
||||
sha256 79e22e940b6f52c37810657c8f12e7ba85692b517d6cd6e90cbceac2d94fc5e8 iputils-55828d1fef3fed7f07abcbf7be9282a9662e78c7.tar.gz
|
||||
|
||||
@@ -11,12 +11,11 @@
|
||||
# and IPv6 updates.
|
||||
# http://www.spinics.net/lists/netdev/msg279881.html
|
||||
|
||||
IPUTILS_VERSION = c8ff6feaf0442f8efd96ccb415770c54f9e84d47
|
||||
IPUTILS_VERSION = 55828d1fef3fed7f07abcbf7be9282a9662e78c7
|
||||
IPUTILS_SITE = $(call github,iputils,iputils,$(IPUTILS_VERSION))
|
||||
IPUTILS_LICENSE = GPLv2+, BSD-3c, BSD-4c
|
||||
# Only includes a license file for BSD
|
||||
IPUTILS_LICENSE_FILES = ninfod/COPYING
|
||||
IPUTILS_DEPENDENCIES = openssl
|
||||
|
||||
# Build after busybox so target ends up with this package's full
|
||||
# versions of the applications instead of busybox applets.
|
||||
@@ -34,6 +33,34 @@ else
|
||||
IPUTILS_MAKE_OPTS += USE_CAP=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
IPUTILS_MAKE_OPTS += USE_GCRYPT=yes
|
||||
IPUTILS_DEPENDENCIES += libgcrypt
|
||||
# When gettext is enabled (BR2_PACKAGE_GETTEXT=y), and provides libintl
|
||||
# (BR2_NEEDS_GETTEXT=y), libgpg-error will link with libintl, and libgpg-error
|
||||
# is pulled in by libgcrypt. Since iputils doesn't use libtool, we have to link
|
||||
# with libintl explicitly for static linking.
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_NEEDS_GETTEXT)$(BR2_PACKAGE_GETTEXT),yyy)
|
||||
IPUTILS_MAKE_OPTS += ADDLIB='-lintl'
|
||||
endif
|
||||
else
|
||||
IPUTILS_MAKE_OPTS += USE_GCRYPT=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NETTLE),y)
|
||||
IPUTILS_MAKE_OPTS += USE_NETTLE=yes
|
||||
IPUTILS_DEPENDENCIES += nettle
|
||||
else
|
||||
IPUTILS_MAKE_OPTS += USE_NETTLE=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
IPUTILS_MAKE_OPTS += USE_CRYPTO=yes
|
||||
IPUTILS_DEPENDENCIES += openssl
|
||||
else
|
||||
IPUTILS_MAKE_OPTS += USE_CRYPTO=no
|
||||
endif
|
||||
|
||||
define IPUTILS_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(IPUTILS_MAKE_OPTS)
|
||||
endef
|
||||
@@ -46,7 +73,6 @@ define IPUTILS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/rdisc $(TARGET_DIR)/sbin/rdisc
|
||||
$(INSTALL) -D -m 755 $(@D)/tftpd $(TARGET_DIR)/usr/sbin/in.tftpd
|
||||
$(INSTALL) -D -m 755 $(@D)/tracepath $(TARGET_DIR)/bin/tracepath
|
||||
$(INSTALL) -D -m 755 $(@D)/tracepath6 $(TARGET_DIR)/bin/tracepath6
|
||||
$(INSTALL) -D -m 755 $(@D)/traceroute6 $(TARGET_DIR)/bin/traceroute6
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user