summaryrefslogtreecommitdiff
path: root/toolchain/libelf
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/libelf')
-rw-r--r--toolchain/libelf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/libelf/Makefile b/toolchain/libelf/Makefile
index 19f1200fa..5c01902ad 100644
--- a/toolchain/libelf/Makefile
+++ b/toolchain/libelf/Makefile
@@ -13,7 +13,7 @@ endif
$(WRKBUILD)/.configured:
(cd $(WRKBUILD); \
$(WRKBUILD)/configure \
- --prefix=$(STAGING_HOST_DIR)/usr \
+ --prefix=/usr \
--disable-nls \
--disable-compat \
--disable-shared \
@@ -26,7 +26,7 @@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
touch $@
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
- $(MAKE) -C $(WRKBUILD) install
+ $(MAKE) instroot=$(STAGING_HOST_DIR) -C $(WRKBUILD) install
touch $@
include ${ADK_TOPDIR}/mk/toolchain.mk