-# 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
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
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)
+++ /dev/null
---- 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
--- /dev/null
+--- 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