summaryrefslogtreecommitdiff
path: root/toolchain/gmp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-17 19:16:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-17 19:16:45 +0100
commitce0418c732e0d950d3a3c0b2b6726a691b8a0eca (patch)
tree05d3966c80d16d17f03f1ab778780d6a445f4ee7 /toolchain/gmp
parent6c26b8016dda0c391a3a513c46998e16ce09cc4d (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/gmp')
-rw-r--r--toolchain/gmp/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain/gmp/Makefile b/toolchain/gmp/Makefile
index 692216b97..3e6e6c626 100644
--- a/toolchain/gmp/Makefile
+++ b/toolchain/gmp/Makefile
@@ -15,9 +15,10 @@ $(WRKBUILD)/.configured:
ifneq ($(OStype),Darwin)
(cd $(WRKBUILD); cp configfsf.guess config.guess)
endif
- (cd $(WRKBUILD); PATH="$(STAGING_HOST_DIR)/usr/bin:$$PATH" \
+ (cd $(WRKBUILD); \
+ PATH="$(STAGING_HOST_DIR)/usr/bin:$$PATH" \
./configure \
- --prefix=$(STAGING_HOST_DIR) \
+ --prefix=$(STAGING_HOST_DIR)/usr \
--with-pic \
--disable-shared \
--enable-static \