From b672976e8ef05b7d232b6cad9818baf7b636e177 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 22 Apr 2008 20:30:55 +0000
Subject: [PATCH] make sure the toolchain target dir really exists

SVN-Revision: 10913
---
 toolchain/gcc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 875c37582d..ef5ab22d0f 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -75,7 +75,7 @@ define Stage1/Install
 endef
 
 define Stage2/Configure
-	mkdir -p $(BUILD_DIR2)
+	mkdir -p $(BUILD_DIR2) $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)
 	# Important!  Required for limits.h to be fixed.
 	rm -rf $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include
 	ln -sf ../include $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include
-- 
2.30.2