summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-07-17 23:32:12 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-07-17 23:32:12 +0200
commitf2229f2972cc7e29b3ee739e972007810a6e1c9e (patch)
tree2f47fb51bedd9e6e78ea4fa6a761b30cc3d91faf /mk
parente6e30a9516c9b57df2ee26b18976117ed05f7d81 (diff)
downloadembtoolkit-f2229f2972cc7e29b3ee739e972007810a6e1c9e.tar.gz
embtoolkit-f2229f2972cc7e29b3ee739e972007810a6e1c9e.tar.bz2
embtoolkit-f2229f2972cc7e29b3ee739e972007810a6e1c9e.tar.xz
Toolchain: eglibc: add eglibc-2.17 and remove older versions - disable-versioning (broken for moment)
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/eglibc.mk12
-rw-r--r--mk/eglibc/eglibc-2.10-options.mk56
-rw-r--r--mk/eglibc/eglibc-2.11-options.mk58
-rw-r--r--mk/eglibc/eglibc-2.12-options.mk64
-rw-r--r--mk/eglibc/eglibc-2.17-options.mk (renamed from mk/eglibc/eglibc-2.13-options.mk)10
5 files changed, 13 insertions, 187 deletions
diff --git a/mk/eglibc.mk b/mk/eglibc.mk
index 6440c92..c61b494 100644
--- a/mk/eglibc.mk
+++ b/mk/eglibc.mk
@@ -50,6 +50,8 @@ embtk_eglibc_floattype := $(if $(CONFIG_EMBTK_SOFTFLOAT), \
# Versioning in eglibc
embtk_eglibc_versioning-$(CONFIG_EMBTK_EGLIBC_DISABLE_VERSIONING) := \
--disable-versioning
+embtk_eglibc-sunrpc-(CONFIG_KEMBTK_EGLIBC_OPTION_EGLIBC_SUNRPC) := \
+ --enable-obsolete-rpc=yes
embtk_eglibc_optgroups_f := $(EMBTK_ROOT)/mk/eglibc/eglibc-$(EGLIBC_VERSION)-options.mk
eglibc_optgroups_f := $(EGLIBC_BUILD_DIR)/option-groups.config
@@ -90,7 +92,9 @@ define embtk_configure_eglibc_headers
--prefix=/usr --with-headers=$(embtk_sysroot)/usr/include \
--host=$(STRICT_GNU_TARGET) --build=$(HOST_BUILD) \
$(embtk_eglibc_floattype) --disable-profile --without-gd --without-cvs \
- --enable-add-ons --enable-kernel="2.6.27" $(embtk_eglibc_versioning-y) \
+ --enable-add-ons --enable-kernel="2.6.27" \
+ $(embtk_eglibc_versioning-y) \
+ $(embtk_eglibc-sunrpc-y) \
--with-bugurl=$(EMBTK_BUGURL)
touch $(call __embtk_pkg_dotconfigured_f,eglibc_headers)
endef
@@ -98,8 +102,6 @@ endef
define __embtk_install_eglibc_headers
$(call embtk_pinfo,"Installing eglibc headers...")
$(call embtk_download_pkg,eglibc)
- [ -e $(EGLIBC_SRC_DIR)/libc/ports ] || \
- ln -sf $(EGLIBC_SRC_DIR)/ports $(EGLIBC_SRC_DIR)/libc/ports
$(embtk_parse_eglibc_optgroups)
$(embtk_configure_eglibc_headers)
$(MAKE) -C $(EGLIBC_HEADERS_BUILD_DIR) install-headers \
@@ -134,7 +136,9 @@ define embtk_configure_eglibc
--prefix=/usr --with-headers=$(embtk_sysroot)/usr/include \
--host=$(STRICT_GNU_TARGET) --build=$(HOST_BUILD) \
$(embtk_eglibc_floattype) --disable-profile --without-gd --without-cvs \
- --enable-add-ons --enable-kernel="2.6.27" $(embtk_eglibc_versioning-y) \
+ --enable-add-ons --enable-kernel="2.6.27" \
+ $(embtk_eglibc_versioning-y) \
+ $(embtk_eglibc-sunrpc-y) \
--with-bugurl=$(EMBTK_BUGURL) \
--with-pkgversion="EGLIBC from embtoolkit-$(EMBTK_VERSION)"
touch $(EGLIBC_BUILD_DIR)/.eglibc.embtk.conifgured
diff --git a/mk/eglibc/eglibc-2.10-options.mk b/mk/eglibc/eglibc-2.10-options.mk
deleted file mode 100644
index b7cfac1..0000000
--- a/mk/eglibc/eglibc-2.10-options.mk
+++ /dev/null
@@ -1,56 +0,0 @@
-################################################################################
-# Embtoolkit
-# Copyright(C) 2009-2011 GAYE Abdoulaye Walsimou.
-#
-# This program is free software; you can distribute it and/or modify it
-# under the terms of the GNU General Public License
-# (Version 2 or later) published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
-################################################################################
-#
-# \file eglibc-2.10-options.mk
-# \brief eglibc-2.10-options.mk. Here we define options supported by
-# \brief eglibc-2.10
-# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
-# \date May 2009
-################################################################################
-
-OPTION_EGLIBC_ADVANCED_INET6=n
-OPTION_EGLIBC_BACKTRACE=n
-OPTION_EGLIBC_BSD=n
-OPTION_EGLIBC_CXX_TESTS=n
-OPTION_EGLIBC_CATGETS=n
-OPTION_EGLIBC_CHARSETS=n
-OPTION_EGLIBC_DB_ALIASES=n
-OPTION_EGLIBC_ENVZ=n
-OPTION_EGLIBC_FCVT=n
-OPTION_EGLIBC_FMTMSG=n
-OPTION_EGLIBC_FSTAB=n
-OPTION_EGLIBC_FTRAVERSE=n
-OPTION_EGLIBC_GETLOGIN=n
-OPTION_EGLIBC_INET=n
-OPTION_EGLIBC_LIBM=n
-OPTION_EGLIBC_LOCALES=n
-OPTION_EGLIBC_LOCALE_CODE=n
-OPTION_EGLIBC_NIS=n
-OPTION_EGLIBC_NSSWITCH=n
-OPTION_EGLIBC_RCMD=n
-OPTION_EGLIBC_SPAWN=n
-OPTION_EGLIBC_STREAMS=n
-OPTION_EGLIBC_SUNRPC=n
-OPTION_EGLIBC_UTMP=n
-OPTION_EGLIBC_UTMPX=n
-OPTION_EGLIBC_WORDEXP=n
-OPTION_POSIX_C_LANG_WIDE_CHAR=n
-OPTION_POSIX_REGEXP=n
-OPTION_POSIX_REGEXP_GLIBC=n
-OPTION_POSIX_WIDE_CHAR_DEVICE_IO=n
-
diff --git a/mk/eglibc/eglibc-2.11-options.mk b/mk/eglibc/eglibc-2.11-options.mk
deleted file mode 100644
index 277a5dd..0000000
--- a/mk/eglibc/eglibc-2.11-options.mk
+++ /dev/null
@@ -1,58 +0,0 @@
-################################################################################
-# Embtoolkit
-# Copyright(C) 2009-2011 GAYE Abdoulaye Walsimou.
-#
-# This program is free software; you can distribute it and/or modify it
-# under the terms of the GNU General Public License
-# (Version 2 or later) published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
-################################################################################
-#
-# \file eglibc-2.11-options.mk
-# \brief eglibc-2.11-options.mk. Here we define options supported by
-# \brief eglibc-2.11.
-# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
-# \date Nov 2009
-################################################################################
-
-OPTION_EGLIBC_ADVANCED_INET6=n
-OPTION_EGLIBC_BACKTRACE=n
-OPTION_EGLIBC_BIG_MACROS=n
-OPTION_EGLIBC_BSD=n
-OPTION_EGLIBC_CXX_TESTS=n
-OPTION_EGLIBC_CATGETS=n
-OPTION_EGLIBC_CHARSETS=n
-OPTION_EGLIBC_DB_ALIASES=n
-OPTION_EGLIBC_ENVZ=n
-OPTION_EGLIBC_FCVT=n
-OPTION_EGLIBC_FMTMSG=n
-OPTION_EGLIBC_FSTAB=n
-OPTION_EGLIBC_FTRAVERSE=n
-OPTION_EGLIBC_GETLOGIN=n
-OPTION_EGLIBC_INET=n
-OPTION_EGLIBC_LIBM=n
-OPTION_EGLIBC_LOCALES=n
-OPTION_EGLIBC_LOCALE_CODE=n
-OPTION_EGLIBC_MEMUSAGE=n
-OPTION_EGLIBC_NIS=n
-OPTION_EGLIBC_NSSWITCH=n
-OPTION_EGLIBC_RCMD=n
-OPTION_EGLIBC_SPAWN=n
-OPTION_EGLIBC_STREAMS=n
-OPTION_EGLIBC_SUNRPC=n
-OPTION_EGLIBC_UTMP=n
-OPTION_EGLIBC_UTMPX=n
-OPTION_EGLIBC_WORDEXP=n
-OPTION_POSIX_C_LANG_WIDE_CHAR=n
-OPTION_POSIX_REGEXP=n
-OPTION_POSIX_REGEXP_GLIBC=n
-OPTION_POSIX_WIDE_CHAR_DEVICE_IO=n
-
diff --git a/mk/eglibc/eglibc-2.12-options.mk b/mk/eglibc/eglibc-2.12-options.mk
deleted file mode 100644
index eb79bdb..0000000
--- a/mk/eglibc/eglibc-2.12-options.mk
+++ /dev/null
@@ -1,64 +0,0 @@
-################################################################################
-# Abdoulaye Walsimou GAYE, <awg@embtoolkit.org>
-# Copyright(C) 2010-2011 Abdoulaye Walsimou GAYE.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-################################################################################
-#
-# \file eglibc-2.12-options.mk
-# \brief eglibc-2.12-options.mk of Embtoolkit
-# \author Abdoulaye Walsimou GAYE, <awg@embtoolkit.org>
-# \date June 2010
-################################################################################
-
-OPTION_EGLIBC_ADVANCED_INET6=n
-OPTION_EGLIBC_BACKTRACE=n
-OPTION_EGLIBC_BIG_MACROS=n
-OPTION_EGLIBC_BSD=n
-OPTION_EGLIBC_CXX_TESTS=n
-OPTION_EGLIBC_CATGETS=n
-OPTION_EGLIBC_CHARSETS=n
-OPTION_EGLIBC_CRYPT=n
-OPTION_EGLIBC_CRYPT_UFC=n
-OPTION_EGLIBC_DB_ALIASES=n
-OPTION_EGLIBC_ENVZ=n
-OPTION_EGLIBC_FCVT=n
-OPTION_EGLIBC_FMTMSG=n
-OPTION_EGLIBC_FSTAB=n
-OPTION_EGLIBC_FTRAVERSE=n
-OPTION_EGLIBC_GETLOGIN=n
-OPTION_EGLIBC_IDN=n
-OPTION_EGLIBC_INET=n
-OPTION_EGLIBC_INET_ANL=n
-OPTION_EGLIBC_LIBM=n
-OPTION_EGLIBC_LIBM_BIG=n
-OPTION_EGLIBC_LOCALES=n
-OPTION_EGLIBC_LOCALE_CODE=n
-OPTION_EGLIBC_MEMUSAGE=n
-OPTION_EGLIBC_NIS=n
-OPTION_EGLIBC_NSSWITCH=n
-OPTION_EGLIBC_RCMD=n
-OPTION_EGLIBC_RTLD_DEBUG=n
-OPTION_EGLIBC_SPAWN=n
-OPTION_EGLIBC_STREAMS=n
-OPTION_EGLIBC_SUNRPC=n
-OPTION_EGLIBC_UTMP=n
-OPTION_EGLIBC_UTMPX=n
-OPTION_EGLIBC_WORDEXP=n
-OPTION_POSIX_C_LANG_WIDE_CHAR=n
-OPTION_POSIX_REGEXP=n
-OPTION_POSIX_REGEXP_GLIBC=n
-OPTION_POSIX_WIDE_CHAR_DEVICE_IO=n
-
diff --git a/mk/eglibc/eglibc-2.13-options.mk b/mk/eglibc/eglibc-2.17-options.mk
index b3b76b7..f54b952 100644
--- a/mk/eglibc/eglibc-2.13-options.mk
+++ b/mk/eglibc/eglibc-2.17-options.mk
@@ -1,6 +1,6 @@
################################################################################
# Embtoolkit
-# Copyright(C) 2011 Abdoulaye Walsimou GAYE.
+# Copyright(C) 2013 Abdoulaye Walsimou GAYE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,11 +17,11 @@
#
################################################################################
#
-# \file eglibc-2.13-options.mk
-# \brief eglibc-2.13-options.mk. Here we define options supported by
-# \brief eglibc-13.
+# \file eglibc-2.17-options.mk
+# \brief eglibc-2.17-options.mk. Here we define options supported by
+# \brief eglibc-17.
# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
-# \date November 2011
+# \date July 2013
################################################################################
OPTION_EGLIBC_ADVANCED_INET6=n