Update buidlroot to version 2016.08.1
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From c5fa0b778e1c2a7d03ff6e661bdfa2faef878f68 Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@smile.fr>
|
||||
Date: Fri, 1 Jul 2016 17:56:30 +0200
|
||||
Subject: [PATCH] configure: remove po/Makefile.in
|
||||
|
||||
The file po/Makefile.in is automatically added to AC_OUTPUT while using gettexize
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@smile.fr>
|
||||
---
|
||||
configure.ac | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f7fb40f..a25e463 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -55,5 +55,4 @@ dnl last but not least
|
||||
AC_OUTPUT([Makefile
|
||||
libuio.dox
|
||||
libuio-uninstalled.pc
|
||||
- libuio.pc
|
||||
- po/Makefile.in])
|
||||
+ libuio.pc])
|
||||
--
|
||||
2.5.5
|
||||
|
||||
57
bsp/buildroot/package/libuio/0002-fix-build-with-musl.patch
Normal file
57
bsp/buildroot/package/libuio/0002-fix-build-with-musl.patch
Normal file
@@ -0,0 +1,57 @@
|
||||
From c378ee112857128002754c616acb6841ee32aaf6 Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@smile.fr>
|
||||
Date: Sat, 2 Jul 2016 10:52:28 +0200
|
||||
Subject: [PATCH] fix build with musl
|
||||
|
||||
limits.h header is missing in attr.c, base.c and helper.c to provide
|
||||
PATH_MAX.
|
||||
|
||||
Fixes:
|
||||
http://autobuild.buildroot.net/results/702/7023104e6018ea46c54073ddbe5119d0f66ae5a3
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@smile.fr>
|
||||
---
|
||||
attr.c | 1 +
|
||||
base.c | 1 +
|
||||
helper.c | 1 +
|
||||
3 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/attr.c b/attr.c
|
||||
index 4245140..7512f4e 100644
|
||||
--- a/attr.c
|
||||
+++ b/attr.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
+#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
diff --git a/base.c b/base.c
|
||||
index 14ebcee..4ce7301 100644
|
||||
--- a/base.c
|
||||
+++ b/base.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
+#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
diff --git a/helper.c b/helper.c
|
||||
index 170f084..1fb0b4c 100644
|
||||
--- a/helper.c
|
||||
+++ b/helper.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
+#include <limits.h>
|
||||
#include <regex.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
--
|
||||
2.5.5
|
||||
|
||||
9
bsp/buildroot/package/libuio/Config.in
Normal file
9
bsp/buildroot/package/libuio/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_LIBUIO
|
||||
bool "libuio"
|
||||
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
help
|
||||
libuio is a light-weight C programming library to handle UIO
|
||||
(Userspace I/O) device discovery and binding task.
|
||||
|
||||
http://github.com/Linutronix/libuio
|
||||
2
bsp/buildroot/package/libuio/libuio.hash
Normal file
2
bsp/buildroot/package/libuio/libuio.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 57f9617f75d20f7912b270568cffdf098fe9d0c1ca690c002e949be8424aa4e6 libuio-940861de278cb794bf9d775b76a4d1d4f9108607.tar.gz
|
||||
36
bsp/buildroot/package/libuio/libuio.mk
Normal file
36
bsp/buildroot/package/libuio/libuio.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# libuio
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# v0.2.7
|
||||
LIBUIO_VERSION = 940861de278cb794bf9d775b76a4d1d4f9108607
|
||||
LIBUIO_SITE = $(call github,Linutronix,libuio,$(LIBUIO_VERSION))
|
||||
LIBUIO_LICENSE = LGPLv2.1 (library), GPLv2 (programs)
|
||||
LIBUIO_LICENSE_FILES = COPYING
|
||||
LIBUIO_CONF_OPTS = --with-glib=no --without-werror
|
||||
LIBUIO_INSTALL_STAGING = YES
|
||||
|
||||
# Fetched from github, no pre-generated configure script provided
|
||||
LIBUIO_GETTEXTIZE = YES
|
||||
LIBUIO_AUTORECONF = YES
|
||||
|
||||
# Avoid build issue when makeinfo is missing
|
||||
LIBUIO_CONF_ENV += MAKEINFO=true
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
||||
LIBUIO_DEPENDENCIES += argp-standalone
|
||||
LIBUIO_LIBS += -largp
|
||||
endif
|
||||
|
||||
# libuio pulls in libintl if needed, so ensure we also
|
||||
# link against it, otherwise static linking fails
|
||||
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
||||
LIBUIO_DEPENDENCIES += gettext
|
||||
LIBUIO_LIBS += -lintl
|
||||
endif
|
||||
|
||||
LIBUIO_CONF_ENV += LIBS="$(LIBUIO_LIBS)"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user