summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-26 00:42:43 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-26 00:42:43 +0000
commitaaadf67723d74ac937a9f32e82a6d5aa130cac1b (patch)
treec3a8f52aabfbfad5037d2f88ae56ad62f508076c /make
parentd9d8e42cb97a282d347e2bef46a554fc062b3b01 (diff)
Fixup stupid compile error
Diffstat (limited to 'make')
-rw-r--r--make/gcc_target.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/make/gcc_target.mk b/make/gcc_target.mk
index 5d9cb25b7..56ca6b47c 100644
--- a/make/gcc_target.mk
+++ b/make/gcc_target.mk
@@ -59,6 +59,7 @@ GCC_BUILD_DIR3:=$(BUILD_DIR)/gcc-target
#
#############################################################
ifneq ($(USE_UCLIBC_TOOLCHAIN),true)
+BINUTILS_DIR2_DEPENDS:=$(BINUTILS_DIR)/.patched
$(DL_DIR)/$(BINUTILS_SOURCE):
$(WGET) -P $(DL_DIR) $(BINUTILS_SITE)/$(BINUTILS_SOURCE)
@@ -83,7 +84,7 @@ $(BINUTILS_DIR)/.patched: $(BINUTILS_DIR)/.unpacked
touch $(BINUTILS_DIR)/.patched
endif
-$(BINUTILS_DIR2)/.configured: $(BINUTILS_DIR)/.patched
+$(BINUTILS_DIR2)/.configured: $(BINUTILS_DIR2_DEPENDS)
mkdir -p $(BINUTILS_DIR2)
mkdir -p $(TARGET_DIR)/usr/include
mkdir -p $(TARGET_DIR)/usr/$(GNU_TARGET_NAME)/
@@ -209,6 +210,7 @@ uclibc_target-dirclean:
#
#############################################################
ifneq ($(USE_UCLIBC_TOOLCHAIN),true)
+GCC_DIR3_DEPENDS:=$(GCC_DIR)/.g++_build_hacks
$(DL_DIR)/$(GCC_SOURCE):
$(WGET) -P $(DL_DIR) $(GCC_SITE)/$(GCC_SOURCE)
@@ -260,7 +262,7 @@ $(GCC_DIR)/.g++_build_hacks: $(GCC_DIR)/.gcc_build_hacks
touch $(GCC_DIR)/.g++_build_hacks
endif
-$(GCC_BUILD_DIR3)/.gcc_build_hacks: $(GCC_DIR)/.g++_build_hacks
+$(GCC_BUILD_DIR3)/.gcc_build_hacks: $(GCC_DIR3_DEPENDS)
#
# Make certain the uClibc start files are found
#