diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/eglibc.mk | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mk/eglibc.mk b/mk/eglibc.mk index 00e2ab8..2c61bee 100644 --- a/mk/eglibc.mk +++ b/mk/eglibc.mk @@ -4,7 +4,7 @@ # # 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 3 of the License, or +# 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, @@ -22,6 +22,7 @@ # \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org> # \date May 2009 ################################################################################ + EGLIBC_VERSION := $(subst ",,$(strip $(CONFIG_EMBTK_EGLIBC_VERSION_STRING))) EGLIBC_BRANCH := $(subst ",,$(strip $(CONFIG_EMBTK_EGLIBC_BRANCH_STRING))) EGLIBC_SVN_REVISION := $(CONFIG_EMBTK_EGLIBC_SVN_REVISION) @@ -39,6 +40,10 @@ else EGLIBC_FLOAT_TYPE := --with-fp=yes endif +# Versioning in eglibc +EGLIBC_VERSIONING_OPTION := \ + $(if $(CONFIG_EMBTK_EGLIBC_DISABLE_VERSIONING),--disable-versioning,) + OPTION_GROUPS_FILE = $(EMBTK_ROOT)/mk/eglibc/eglibc-$(EGLIBC_VERSION)-options.mk eglibc-headers_install: $(EGLIBC_HEADERS_BUILD_DIR)/.installed @@ -108,7 +113,7 @@ $(EGLIBC_HEADERS_BUILD_DIR)/.configured: --with-headers=$(SYSROOT)/usr/include \ --host=$(STRICT_GNU_TARGET) --build=$(HOST_BUILD) $(EGLIBC_FLOAT_TYPE) \ --disable-profile --without-gd --without-cvs --enable-add-ons \ - --enable-kernel="2.6.0" --disable-versioning \ + --enable-kernel="2.6.0" $(EGLIBC_VERSIONING_OPTION) \ --with-bugurl=$(EMBTK_BUGURL) @touch $@ @@ -132,7 +137,7 @@ $(EGLIBC_BUILD_DIR)/.configured: --with-headers=$(SYSROOT)/usr/include \ --host=$(STRICT_GNU_TARGET) --build=$(HOST_BUILD) $(EGLIBC_FLOAT_TYPE) \ --disable-profile --without-gd --without-cvs --enable-add-ons \ - --enable-kernel="2.6.0" --disable-versioning \ + --enable-kernel="2.6.0" $(EGLIBC_VERSIONING_OPTION) \ --with-bugurl=$(EMBTK_BUGURL) \ --with-pkgversion="EGLIBC from embtoolkit-$(EMBTK_VERSION)" @touch $@ |