diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-20 17:19:15 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-20 17:19:15 +0100 |
commit | 0097a8249ca2d1a498b457019db15d3540a259f3 (patch) | |
tree | 34aeca86734675d22f566f11c35118f0e93df20b /toolchain/glibc/Makefile | |
parent | db287e1579a46cdc8d8d6e1ef10455d2b1f10f22 (diff) |
add vendor string "openadk" to toolchain triplet
With this change you can compile toolchains even
when host cpu arch is identical to target cpu arch.
Diffstat (limited to 'toolchain/glibc/Makefile')
-rw-r--r-- | toolchain/glibc/Makefile | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index 978794dc9..2058c41d4 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -63,16 +63,6 @@ $(WRKBUILD)/.headers: $(WRKBUILD)/.headers_configure install_root=$(TOOLCHAIN_SYSROOT) \ install-headers touch $(TOOLCHAIN_SYSROOT)/usr/include/gnu/stubs.h - PATH='${TARGET_PATH}' \ - $(MAKE) -C $(GLIBC_BUILD_DIR_INITIAL) \ - csu/subdir_lib - ( cd $(GLIBC_BUILD_DIR_INITIAL); \ - $(CP) csu/crt1.o csu/crti.o csu/crtn.o \ - $(TOOLCHAIN_SYSROOT)/usr/lib \ - ); - PATH='${TARGET_PATH}' \ - $(TARGET_CC) -nostdlib -nostartfiles -shared -x c /dev/null \ - -o $(TOOLCHAIN_SYSROOT)/usr/lib/libc.so touch $@ $(WRKBUILD)/.configured: @@ -92,7 +82,8 @@ $(WRKBUILD)/.compiled: touch $@ $(WRKBUILD)/.installed: - ${GLIBC_ENV} $(MAKE) -C $(GLIBC_BUILD_DIR_FINAL) install_root=$(STAGING_DIR) install + ${GLIBC_ENV} $(MAKE) -C $(GLIBC_BUILD_DIR_FINAL) \ + install_root=$(STAGING_DIR) install touch $(STAGING_DIR)/usr/include/gnu/stubs.h touch $@ |