Bump buildroot to 2019.02
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
From 770902a0a29fb4ac62358f7eacb3a83d0d9af1c7 Mon Sep 17 00:00:00 2001
|
||||
From d5cbb4f43cc9c30100fbf18a3e0d1fb95e1c1b0a Mon Sep 17 00:00:00 2001
|
||||
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
||||
Date: Wed, 25 Nov 2015 10:50:00 +0000
|
||||
Subject: [PATCH] mdrestore: do not do dynamic linking of libtool libraries
|
||||
Subject: [PATCH] mdrestore, scrub: do not do dynamic linking of libtool
|
||||
libraries
|
||||
|
||||
As explained in commit ece49daeff1a3cad765e106d678c608925c9d768, use
|
||||
-static-libtool-libs instead of -static to allow fallback to the dynamic
|
||||
@@ -11,23 +12,41 @@ ld: attempted static link of dynamic object `/usr/lib/libuuid.so'
|
||||
|
||||
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
||||
[Sent upstream: https://www.spinics.net/lists/xfs/msg36149.html]
|
||||
[baruch: update for v4.15.1; extend to include scrub]
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
[matt: update for v4.16.1; adjusted libunistring -> libicu]
|
||||
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
|
||||
---
|
||||
mdrestore/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
scrub/Makefile | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/mdrestore/Makefile b/mdrestore/Makefile
|
||||
index 5171306..1b34a0e 100644
|
||||
index 136ae716d691..75ff1bad78e9 100644
|
||||
--- a/mdrestore/Makefile
|
||||
+++ b/mdrestore/Makefile
|
||||
@@ -10,7 +10,7 @@ CFILES = xfs_mdrestore.c
|
||||
|
||||
LLDLIBS = $(LIBXFS) $(LIBRT) $(LIBPTHREAD) $(LIBUUID)
|
||||
LTDEPENDENCIES = $(LIBXFS)
|
||||
LLDLIBS = $(LIBXFS) $(LIBFROG) $(LIBRT) $(LIBPTHREAD) $(LIBUUID)
|
||||
LTDEPENDENCIES = $(LIBXFS) $(LIBFROG)
|
||||
-LLDFLAGS = -static
|
||||
+LLDFLAGS = -static-libtool-libs
|
||||
|
||||
default: depend $(LTCOMMAND)
|
||||
|
||||
diff --git a/scrub/Makefile b/scrub/Makefile
|
||||
index 063279400262..949f6fd8ba94 100644
|
||||
--- a/scrub/Makefile
|
||||
+++ b/scrub/Makefile
|
||||
@@ -70,7 +70,7 @@ xfs_scrub.c
|
||||
|
||||
LLDLIBS += $(LIBHANDLE) $(LIBFROG) $(LIBPTHREAD) $(LIBICU_LIBS) $(LIBRT)
|
||||
LTDEPENDENCIES += $(LIBHANDLE) $(LIBFROG)
|
||||
-LLDFLAGS = -static
|
||||
+LLDFLAGS = -static-libtool-libs
|
||||
|
||||
ifeq ($(HAVE_MALLINFO),yes)
|
||||
LCFLAGS += -DHAVE_MALLINFO
|
||||
--
|
||||
2.7.4
|
||||
2.16.2
|
||||
|
||||
|
||||
@@ -17,14 +17,16 @@ Note that there's a remaining bug-in-hiding, because the crc32 table
|
||||
generator is natively built, but with the target CFLAGS.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Signed-off-by: "Fabrice Fontaine" <fontaine.fabrice@gmail.com>
|
||||
[Update for 4.18.0: crc32 has been moved from libxfs to libfrog]
|
||||
---
|
||||
libxfs/Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/libxfs/Makefile b/libxfs/Makefile
|
||||
diff --git a/libfrog/Makefile b/libxfs/Makefile
|
||||
index 62608bd..e021625 100644
|
||||
--- a/libxfs/Makefile
|
||||
+++ b/libxfs/Makefile
|
||||
--- a/libfrog/Makefile
|
||||
+++ b/libfrog/Makefile
|
||||
@@ -112,9 +112,9 @@ LTLIBS = $(LIBPTHREAD) $(LIBRT)
|
||||
# don't try linking xfs_repair with a debug libxfs.
|
||||
DEBUG = -DNDEBUG
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# From https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/sha256sums.asc
|
||||
sha256 b1b710b268bc95d6f45eca06e1262c29eb38865a19cd4404e48ba446e043b7ec xfsprogs-4.14.0.tar.xz
|
||||
sha256 ee304b1b1da08b261f1d1f31d229fc70d2d0c552c7429e9e84c0fac878d94209 doc/COPYING
|
||||
sha256 397dc96f51aeeff73d021d3418d3172377b2685f2740ca60525096c070aa3df1 xfsprogs-4.18.0.tar.xz
|
||||
|
||||
# Hash for license files
|
||||
sha256 7ae50a5344af14d6231aff6814632a220b3127da4099aea2c6070fd79c407c1a LICENSES/GPL-2.0
|
||||
sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSES/LGPL-2.1
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XFSPROGS_VERSION = 4.14.0
|
||||
XFSPROGS_VERSION = 4.18.0
|
||||
XFSPROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/fs/xfs/xfsprogs
|
||||
XFSPROGS_SOURCE = xfsprogs-$(XFSPROGS_VERSION).tar.xz
|
||||
XFSPROGS_LICENSE = GPL-2.0, GPL-2.0+, LGPL-2.1 (libhandle, few headers)
|
||||
XFSPROGS_LICENSE_FILES = doc/COPYING
|
||||
XFSPROGS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1
|
||||
|
||||
XFSPROGS_DEPENDENCIES = util-linux
|
||||
|
||||
XFSPROGS_CONF_ENV = ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes
|
||||
XFSPROGS_CONF_ENV = ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes PLATFORM="linux"
|
||||
XFSPROGS_CONF_OPTS = \
|
||||
--enable-lib64=no \
|
||||
--enable-gettext=no \
|
||||
@@ -20,6 +20,13 @@ XFSPROGS_CONF_OPTS = \
|
||||
INSTALL_GROUP=root \
|
||||
--enable-static
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ICU),y)
|
||||
XFSPROGS_DEPENDENCIES += icu
|
||||
XFSPROGS_CONF_OPTS += --enable-libicu
|
||||
else
|
||||
XFSPROGS_CONF_OPTS += --disable-libicu
|
||||
endif
|
||||
|
||||
XFSPROGS_INSTALL_TARGET_OPTS = DIST_ROOT=$(TARGET_DIR) install
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user