summaryrefslogtreecommitdiff
path: root/mk/eglibc.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/eglibc.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/eglibc.mk')
-rw-r--r--mk/eglibc.mk12
1 files changed, 8 insertions, 4 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