summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-22 06:32:20 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-22 06:32:20 +0000
commit74c1635746b350272281639c3f9d9172811b3906 (patch)
treedf895f8d5627c992c8529fd3c54c301dfaf27c22
parent3c913b59bf8d9f966743c3e10c4d1cb8262120d8 (diff)
downloadbuildroot-novena-74c1635746b350272281639c3f9d9172811b3906.tar.gz
buildroot-novena-74c1635746b350272281639c3f9d9172811b3906.zip
this should fixup some of those pesky build problems...
-rw-r--r--make/uclibc.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index 310a5ec98..db111ce75 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -35,7 +35,7 @@ endif
$(UCLIBC_DIR)/.config
perl -i -p -e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"$(STAGING_DIR)\",g' \
$(UCLIBC_DIR)/.config
- perl -i -p -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"$(STAGING_DIR)/usr\",g' \
+ perl -i -p -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"$(STAGING_DIR)\",g' \
$(UCLIBC_DIR)/.config
perl -i -p -e 's,^SYSTEM_DEVEL_PREFIX=.*,SYSTEM_DEVEL_PREFIX=\"$(STAGING_DIR)\",g' \
$(UCLIBC_DIR)/.config
@@ -65,7 +65,7 @@ ifneq ($(TARGET_DIR),)
$(TARGET_DIR)/lib/libc.so.0: $(STAGING_DIR)/lib/libc.a
$(MAKE) -C $(UCLIBC_DIR) \
RUNTIME_PREFIX=$(TARGET_DIR) \
- DEVEL_PREFIX=$(TARGET_DIR)/usr \
+ DEVEL_PREFIX=$(TARGET_DIR) \
SYSTEM_DEVEL_PREFIX=$(TARGET_DIR) \
DEVEL_TOOL_PREFIX=$(TARGET_DIR)/usr install_runtime
@@ -98,11 +98,11 @@ uclibc-dirclean:
#############################################################
$(TARGET_DIR)/usr/lib/libc.a: $(STAGING_DIR)/lib/libc.a
- $(MAKE) -C $(UCLIBC_DIR) \
- RUNTIME_PREFIX=$(TARGET_DIR) \
+ $(MAKE) RUNTIME_PREFIX=$(TARGET_DIR) \
DEVEL_PREFIX=$(TARGET_DIR)/usr \
SYSTEM_DEVEL_PREFIX=$(TARGET_DIR) \
- DEVEL_TOOL_PREFIX=$(TARGET_DIR)/usr install_dev
+ DEVEL_TOOL_PREFIX=$(TARGET_DIR) -C $(UCLIBC_DIR) \
+ install_dev
(cd $(TARGET_DIR)/usr/lib; \
ln -fs /lib/libc.so.0 libc.so; \
ln -fs /lib/libdl.so.0 libdl.so; \