summaryrefslogtreecommitdiff
path: root/toolchain/mpc/Makefile
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/mpc/Makefile
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/mpc/Makefile')
-rw-r--r--toolchain/mpc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/mpc/Makefile b/toolchain/mpc/Makefile
index 81f5b151d..40e7f615e 100644
--- a/toolchain/mpc/Makefile
+++ b/toolchain/mpc/Makefile
@@ -14,8 +14,8 @@ $(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
(cd $(WRKBUILD); \
$(WRKBUILD)/configure \
- --prefix=$(STAGING_HOST_DIR) \
- --with-gmp=$(STAGING_HOST_DIR) \
+ --prefix=$(STAGING_HOST_DIR)/usr \
+ --with-gmp=$(STAGING_HOST_DIR)/usr \
--disable-shared \
--enable-static \
);