update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
From a45f3610beba1f7e6e1a038e3a1fe4150057c262 Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Tue, 5 Jul 2016 15:31:28 +0200
|
||||
Subject: [PATCH] configure: also check for clockgettime()
|
||||
|
||||
clock_gettime() is also in -lrt so we also need to check for it.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
---
|
||||
configure.ac | 10 +++++++---
|
||||
1 file changed, 7 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f83f5ab..3b6ae09 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -199,12 +199,16 @@ fi
|
||||
|
||||
AC_SUBST(LIBOPING_PC_LIBS_PRIVATE)
|
||||
|
||||
-nanosleep_needs_rt="no"
|
||||
+needs_rt="no"
|
||||
AC_CHECK_FUNCS(nanosleep, [],
|
||||
AC_CHECK_LIB(rt, nanosleep,
|
||||
- [nanosleep_needs_rt="yes"],
|
||||
+ [needs_rt="yes"],
|
||||
AC_MSG_ERROR(cannot find nanosleep)))
|
||||
-AM_CONDITIONAL(BUILD_WITH_LIBRT, test "x$nanosleep_needs_rt" = "xyes")
|
||||
+AC_CHECK_FUNCS(clock_gettime, [],
|
||||
+ AC_CHECK_LIB(rt, clock_gettime,
|
||||
+ [needs_rt="yes"],
|
||||
+ AC_MSG_ERROR(cannot find clock_gettime)))
|
||||
+AM_CONDITIONAL(BUILD_WITH_LIBRT, test "x$needs_rt" = "xyes")
|
||||
|
||||
with_ncurses="no"
|
||||
AC_CHECK_HEADERS(ncursesw/ncurses.h ncurses.h, [with_ncurses="yes"], [])
|
||||
--
|
||||
2.7.4
|
||||
|
||||
7
bsp/buildroot-2017.02.11/package/liboping/Config.in
Normal file
7
bsp/buildroot-2017.02.11/package/liboping/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LIBOPING
|
||||
bool "liboping"
|
||||
help
|
||||
liboping is a C library to generate ICMP echo requests,
|
||||
better known as "ping packets".
|
||||
|
||||
http://noping.cc/
|
||||
2
bsp/buildroot-2017.02.11/package/liboping/liboping.hash
Normal file
2
bsp/buildroot-2017.02.11/package/liboping/liboping.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From http://noping.cc/#download
|
||||
sha256 44bb1d88b56b88fda5533edb3aa005c69b3cd396f20453a157d7e31e536f3530 liboping-1.9.0.tar.bz2
|
||||
18
bsp/buildroot-2017.02.11/package/liboping/liboping.mk
Normal file
18
bsp/buildroot-2017.02.11/package/liboping/liboping.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# liboping
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBOPING_VERSION = 1.9.0
|
||||
LIBOPING_SITE = http://noping.cc/files
|
||||
LIBOPING_SOURCE = liboping-$(LIBOPING_VERSION).tar.bz2
|
||||
LIBOPING_INSTALL_STAGING = YES
|
||||
LIBOPING_DEPENDENCIES = $(if $(BR2_PACKAGE_NCURSES),ncurses)
|
||||
LIBOPING_CONF_OPTS = --without-perl-bindings
|
||||
LIBOPING_LICENSE = LGPLv2.1+, GPLv2
|
||||
LIBOPING_LICENSE_FILES = COPYING
|
||||
|
||||
LIBOPING_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user