diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-17 19:16:45 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-17 19:16:45 +0100 |
commit | ce0418c732e0d950d3a3c0b2b6726a691b8a0eca (patch) | |
tree | 05d3966c80d16d17f03f1ab778780d6a445f4ee7 /toolchain/glibc/Makefile | |
parent | 6c26b8016dda0c391a3a513c46998e16ce09cc4d (diff) |
add TOOLCHAIN_DIR support
establish an extra dir for toolchain. Better for preparing toolchain
for other projetcs without host tools only used by openadk.
Use /usr prefix. No symlink workarounds needed anymore.
Diffstat (limited to 'toolchain/glibc/Makefile')
-rw-r--r-- | toolchain/glibc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index 4af17c3d7..996f9dd87 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -76,7 +76,7 @@ $(WRKBUILD)/.fixup: ifeq ($(ADK_TOOLCHAIN),y) # strip target libs and host tools for toolchain builds PATH="$(TARGET_PATH)" debug='0' prefix='${TARGET_CROSS}' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(STAGING_TARGET_DIR) - debug='0' prefix=' ' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(STAGING_HOST_DIR)/bin $(STAGING_HOST_DIR)/$(GNU_TARGET_NAME)/ + debug='0' prefix=' ' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(TOOLCHAIN_DIR)/usr endif touch $@ |