summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-30 19:28:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-30 19:28:56 +0000
commit6be95dc1b93828b1a3095280265383e1484595fc (patch)
tree0fe3343a6b29b781ddf1923e3f1dd042f2b13f87
parent18871c83f8729fe47d5cd4ceeeb508c3f156c385 (diff)
Correct usage of {RUNTIME_,DEVEL_,}PREFIX in STAGING_DIR thanks to Stephen Warren and vapier
-rw-r--r--toolchain/uClibc/uclibc.mk13
1 files changed, 4 insertions, 9 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 8bf4ae74a..1fe5f7737 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -98,15 +98,10 @@ $(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(LIBFLOAT_TARGET)
$(STAGING_DIR)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
$(MAKE1) -C $(UCLIBC_DIR) \
- PREFIX=$(STAGING_DIR)/ \
- DEVEL_PREFIX=/ \
- RUNTIME_PREFIX=/ \
- install_runtime
- $(MAKE1) -C $(UCLIBC_DIR) \
- PREFIX=$(STAGING_DIR)/ \
- DEVEL_PREFIX=/ \
- RUNTIME_PREFIX=/ \
- install_dev
+ PREFIX= \
+ DEVEL_PREFIX=$(STAGING_DIR)/ \
+ RUNTIME_PREFIX=$(STAGING_DIR)/ \
+ install_runtime install_dev
# Build the host utils. Need to add an install target...
$(MAKE1) -C $(UCLIBC_DIR)/utils \
PREFIX=$(STAGING_DIR) \