From: Felix Fietkau Date: Wed, 21 May 2014 14:09:58 +0000 (+0000) Subject: musl: update to version 1.1.1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8ad21a82e9cb0639c2095debf38318fc2a3c79a2;p=openwrt%2Fstaging%2Frobimarko.git musl: update to version 1.1.1 Signed-off-by: Felix Fietkau SVN-Revision: 40820 --- diff --git a/toolchain/musl/Config.in b/toolchain/musl/Config.in index 8892af01a1..05caa6ab6f 100644 --- a/toolchain/musl/Config.in +++ b/toolchain/musl/Config.in @@ -1,19 +1,3 @@ -# Choose musl version. - -choice - prompt "musl Version" - depends on TOOLCHAINOPTS && USE_MUSL - default MUSL_USE_VERSION_1_0_0 - help - Select the version of musl you wish to use. - - config MUSL_USE_VERSION_1_0_0 - select MUSL_VERSION_1_0_0 - bool "musl 1.0.0" - -endchoice - - # Debug version. config MUSL_ENABLE_DEBUG diff --git a/toolchain/musl/Config.version b/toolchain/musl/Config.version index 685aef2b9d..7a25126477 100644 --- a/toolchain/musl/Config.version +++ b/toolchain/musl/Config.version @@ -3,10 +3,6 @@ if USE_MUSL config MUSL_VERSION string depends on USE_MUSL - default "1.0.0" if MUSL_VERSION_1_0_0 - -config MUSL_VERSION_1_0_0 - default y if !TOOLCHAINOPTS - bool + default "1.1.1" endif diff --git a/toolchain/musl/common.mk b/toolchain/musl/common.mk index e974d28fb9..93fab04113 100644 --- a/toolchain/musl/common.mk +++ b/toolchain/musl/common.mk @@ -11,13 +11,12 @@ PKG_NAME:=musl PKG_VERSION:=$(call qstrip,$(CONFIG_MUSL_VERSION)) PKG_RELEASE=1 -PKG_SOURCE_MD5SUM_1.0.0:=e54664fdf211d27737e328c4462b545e +PKG_SOURCE_MD5SUM:=dbc08d311148e095016d9bbf6c7ffda6 PKG_SOURCE_URL:=http://www.musl-libc.org/releases PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz LIBC_SO_VERSION:=$(PKG_VERSION) -PATCH_DIR:=$(PATH_PREFIX)/patches-$(PKG_VERSION) -CONFIG_DIR:=$(PATH_PREFIX)/config-$(PKG_VERSION) +PATCH_DIR:=$(PATH_PREFIX)/patches HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/toolchain/musl/patches-1.0.0/100-add_glob_onlydir.patch b/toolchain/musl/patches-1.0.0/100-add_glob_onlydir.patch deleted file mode 100644 index db0bc22afa..0000000000 --- a/toolchain/musl/patches-1.0.0/100-add_glob_onlydir.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/include/glob.h -+++ b/include/glob.h -@@ -31,6 +31,8 @@ void globfree(glob_t *); - #define GLOB_NOESCAPE 0x40 - #define GLOB_PERIOD 0x80 - -+#define GLOB_ONLYDIR 0x100 -+ - #define GLOB_NOSPACE 1 - #define GLOB_ABORTED 2 - #define GLOB_NOMATCH 3 diff --git a/toolchain/musl/patches/100-add_glob_onlydir.patch b/toolchain/musl/patches/100-add_glob_onlydir.patch new file mode 100644 index 0000000000..db0bc22afa --- /dev/null +++ b/toolchain/musl/patches/100-add_glob_onlydir.patch @@ -0,0 +1,11 @@ +--- a/include/glob.h ++++ b/include/glob.h +@@ -31,6 +31,8 @@ void globfree(glob_t *); + #define GLOB_NOESCAPE 0x40 + #define GLOB_PERIOD 0x80 + ++#define GLOB_ONLYDIR 0x100 ++ + #define GLOB_NOSPACE 1 + #define GLOB_ABORTED 2 + #define GLOB_NOMATCH 3