build: remove libc version config code
authorFelix Fietkau <nbd@nbd.name>
Tue, 7 Feb 2017 09:38:47 +0000 (10:38 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 11 Feb 2017 14:37:55 +0000 (15:37 +0100)
We only support one version per libc type

Signed-off-by: Felix Fietkau <nbd@nbd.name>
toolchain/Config.in
toolchain/glibc/Config.in [deleted file]
toolchain/glibc/Config.version [deleted file]
toolchain/glibc/common.mk
toolchain/musl/Config.version [deleted file]
toolchain/musl/common.mk
toolchain/uClibc/Config.version [deleted file]
toolchain/uClibc/common.mk

index b53b8e63ec111697e0f6af45538e9efa84bf5a3f..cb645877defc1fd6c2ba7d829ccd54ee5692817d 100644 (file)
@@ -263,7 +263,6 @@ choice
 
 endchoice
 
-source "toolchain/glibc/Config.in"
 source "toolchain/uClibc/Config.in"
 
 comment "Debuggers"
@@ -303,22 +302,12 @@ config USE_EXTERNAL_LIBC
 source "toolchain/binutils/Config.version"
 source "toolchain/gcc/Config.version"
 
-source "toolchain/glibc/Config.version"
-source "toolchain/uClibc/Config.version"
-source "toolchain/musl/Config.version"
-
 config LIBC
        string
        default "glibc"   if USE_GLIBC
        default "uClibc"  if USE_UCLIBC
        default "musl"    if USE_MUSL
 
-config LIBC_VERSION
-       string
-       default GLIBC_VERSION   if USE_GLIBC
-       default UCLIBC_VERSION  if USE_UCLIBC
-       default MUSL_VERSION    if USE_MUSL
-
 config TARGET_SUFFIX
        string
        default "gnueabi"         if USE_GLIBC && (arm || armeb)
diff --git a/toolchain/glibc/Config.in b/toolchain/glibc/Config.in
deleted file mode 100644 (file)
index 5adbeb6..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-choice
-       prompt "glibc version"
-       depends on TOOLCHAINOPTS && USE_GLIBC && !EXTERNAL_TOOLCHAIN
-       default GLIBC_USE_VERSION_2_24
-       help
-         Select the version of glibc you wish to use.
-
-       config GLIBC_USE_VERSION_2_24
-               bool "glibc 2.24"
-               select GLIBC_VERSION_2_24
-
-endchoice
diff --git a/toolchain/glibc/Config.version b/toolchain/glibc/Config.version
deleted file mode 100644 (file)
index 1df7719..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-if USE_GLIBC
-
-config GLIBC_VERSION
-       string
-       default "2.24" if GLIBC_VERSION_2_24
-
-config GLIBC_VERSION_2_24
-       default y if !TOOLCHAINOPTS
-       bool
-
-endif
index 3078c267cc857032fe1d6654cb3d151721c207d5..12666ac6ff018f4f2f48790894df5f5aeb54117c 100644 (file)
@@ -6,16 +6,10 @@
 #
 include $(TOPDIR)/rules.mk
 
-
-HASH_2.24 = 714d26c0daf6a8acf73fc8b6053349880c79f240f96ca57b00ab0ecbbead2b73
-REVISION_2.24 = 8c716c2
-
-
 PKG_NAME:=glibc
-PKG_VERSION:=$(call qstrip,$(CONFIG_GLIBC_VERSION))
-
-PKG_REVISION:=$(REVISION_$(PKG_VERSION))
-PKG_MIRROR_HASH:=$(HASH_$(PKG_VERSION))
+PKG_VERSION:=2.24
+PKG_REVISION:=8c716c2
+PKG_MIRROR_HASH:=714d26c0daf6a8acf73fc8b6053349880c79f240f96ca57b00ab0ecbbead2b73
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://sourceware.org/git/glibc.git
diff --git a/toolchain/musl/Config.version b/toolchain/musl/Config.version
deleted file mode 100644 (file)
index 2b4b367..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-if USE_MUSL
-
-config MUSL_VERSION
-       string
-       depends on USE_MUSL
-       default "1.1.16"
-
-endif
index bfe8eebc7b1a2f016c7e52cd15ac6653a37bd888..fc6253b5f9d22a0a02e92ca0913681a55a900bb4 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/target.mk
 
 PKG_NAME:=musl
-PKG_VERSION:=$(call qstrip,$(CONFIG_MUSL_VERSION))
+PKG_VERSION:=1.1.16
 PKG_RELEASE=1
 
 PKG_SOURCE_PROTO:=git
diff --git a/toolchain/uClibc/Config.version b/toolchain/uClibc/Config.version
deleted file mode 100644 (file)
index 3c1c54d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-config UCLIBC_VERSION
-       string
-       depends on USE_UCLIBC
-       default "1.0.14"
-
-config UCLIBC_VERSION_NG
-       bool
-       depends on USE_UCLIBC
-       default y
index 35f4f808548c36e77b8bdcc068c3c69454fa1b1f..efcbde8f028e30c639bb477f8f61241264697bd6 100644 (file)
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/target.mk
 
-PKG_VERSION:=$(call qstrip,$(CONFIG_UCLIBC_VERSION))
+PKG_VERSION:=1.0.14
 
 PKG_NAME:=uClibc-ng
 PKG_SOURCE_URL = http://downloads.uclibc-ng.org/releases/$(PKG_VERSION)/