summaryrefslogtreecommitdiff
path: root/mk/toolchain.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-09-27 11:41:06 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-09-27 12:45:39 +0200
commit14e8d5a9ce7632dd5fe9bc0326b8a533ea4765aa (patch)
tree0b4f5fa35ea13f38cde45840d6ebb5973a49385d /mk/toolchain.mk
parent1926e9c1d02aae439a51b5cb9aadd384859521b5 (diff)
downloadembtoolkit-14e8d5a9ce7632dd5fe9bc0326b8a533ea4765aa.tar.gz
embtoolkit-14e8d5a9ce7632dd5fe9bc0326b8a533ea4765aa.tar.bz2
embtoolkit-14e8d5a9ce7632dd5fe9bc0326b8a533ea4765aa.tar.xz
Toolchain: uclibc: introduction of build machinery and initial support for arm
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/toolchain.mk')
-rw-r--r--mk/toolchain.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/mk/toolchain.mk b/mk/toolchain.mk
index 27e6f88..52d93eb 100644
--- a/mk/toolchain.mk
+++ b/mk/toolchain.mk
@@ -57,18 +57,23 @@ include $(EMBTK_ROOT)/mk/kernel-headers.mk
ifeq ($(CONFIG_EMBTK_CLIB_EGLIBC),y)
#EGLIBC
include $(EMBTK_ROOT)/mk/eglibc.mk
+TOOLCHAINBUILD := mkinitialpath kernel-headers_install ccachehost_install \
+ gmphost_install mpfrhost_install binutils_install \
+ gcc1_install eglibc-headers_install gcc2_install \
+ eglibc_install gcc3_install
else
#uClibc
include $(EMBTK_ROOT)/mk/uclibc.mk
+TOOLCHAINBUILD := mkinitialpath kernel-headers_install ccachehost_install \
+ gmphost_install mpfrhost_install binutils_install gcc1_install \
+ uclibc_install gcc3_install
endif
#targets
-buildtoolchain: mkinitialpath kernel-headers_install ccachehost_install \
- gmphost_install mpfrhost_install binutils_install \
- gcc1_install eglibc-headers_install gcc2_install \
- eglibc_install gcc3_install
+buildtoolchain: $(TOOLCHAINBUILD)
$(call EMBTK_GENERIC_MESSAGE,"You successfully build a toolchain for \
$(STRICT_GNU_TARGET) !!!")
+
symlink_tools:
@cd $(TOOLS)/bin/; export TOOLS_LIST="`ls`"; \
for i in $$TOOLS_LIST;do \