diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-10-28 14:21:03 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-11-22 15:32:48 +0100 |
commit | 997bd9a68f3ab412beccca681f2e40d480c3a4fa (patch) | |
tree | 4759bb0156186f4f077cca55d268e63983d34ece | |
parent | dea4d014eab36e1a3024a83bc21d0feee7b6b24f (diff) | |
download | OSELAS.Toolchain-997bd9a68f3ab412beccca681f2e40d480c3a4fa.tar.gz OSELAS.Toolchain-997bd9a68f3ab412beccca681f2e40d480c3a4fa.tar.xz |
glibc: add GLIBC_CONFIG_EXTRA_CROSS option
some extra configure options require the cross gcc. They cannot
be added to GLIBC_CONFIG_EXTRA.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/glibc-first.make | 1 | ||||
-rw-r--r-- | rules/glibc.in | 8 | ||||
-rw-r--r-- | rules/glibc.make | 1 | ||||
-rw-r--r-- | rules/pre/toolchain.make | 1 |
4 files changed, 11 insertions, 0 deletions
diff --git a/rules/glibc-first.make b/rules/glibc-first.make index fdd46a6..caeaa11 100644 --- a/rules/glibc-first.make +++ b/rules/glibc-first.make @@ -60,6 +60,7 @@ GLIBC_FIRST_MAKEVARS := AUTOCONF=no GLIBC_FIRST_AUTOCONF = \ $(GLIBC_AUTOCONF_COMMON) \ + $(PTXCONF_GLIBC_CONFIG_EXTRA_CROSS) \ --disable-debug \ --disable-profile \ diff --git a/rules/glibc.in b/rules/glibc.in index ce77578..229a2df 100644 --- a/rules/glibc.in +++ b/rules/glibc.in @@ -71,6 +71,14 @@ config GLIBC_CONFIG_EXTRA help Add these extra options to glibc's configure script. +config GLIBC_CONFIG_EXTRA_CROSS + string + prompt "extra configure options (cross)" + help + Add these extra options to glibc's configure script. + this is for configure options that require the cross gcc and can therefore + not be used when building the glibc-headers + config GLIBC_HEADERS_FAKE_CROSS string prompt "fake cross args" diff --git a/rules/glibc.make b/rules/glibc.make index dfc3e84..014e26e 100644 --- a/rules/glibc.make +++ b/rules/glibc.make @@ -114,6 +114,7 @@ endif GLIBC_AUTOCONF := \ $(GLIBC_AUTOCONF_COMMON) \ + $(PTXCONF_GLIBC_CONFIG_EXTRA_CROSS) \ \ --enable-kernel=$(PTXCONF_GLIBC_ENABLE_KERNEL) \ --enable-debug \ diff --git a/rules/pre/toolchain.make b/rules/pre/toolchain.make index 9fb3f5e..ac06e43 100644 --- a/rules/pre/toolchain.make +++ b/rules/pre/toolchain.make @@ -8,6 +8,7 @@ PTXCONF_TOOLCHAIN_CONFIG_MULTILIB := $(call remove_quotes, $(PTXCONF_TOOLCHAIN_ PTXCONF_GLIBC_HEADERS_FAKE_CROSS := $(call remove_quotes, $(PTXCONF_GLIBC_HEADERS_FAKE_CROSS)) PTXCONF_GLIBC_CONFIG_EXTRA := $(call remove_quotes, $(PTXCONF_GLIBC_CONFIG_EXTRA)) +PTXCONF_GLIBC_CONFIG_EXTRA_CROSS := $(call remove_quotes, $(PTXCONF_GLIBC_CONFIG_EXTRA_CROSS)) PTXCONF_CROSS_GCC_CONFIG_EXTRA := $(call remove_quotes, $(PTXCONF_CROSS_GCC_CONFIG_EXTRA)) PTXCONF_CROSS_GCC_CONFIG_LIBC := $(call remove_quotes, $(PTXCONF_CROSS_GCC_CONFIG_LIBC)) |