From 58765184c64105ef29a72f221df8c9f2e6207fb6 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 25 Jan 2009 19:02:48 +0000
Subject: [PATCH] detect quilt configure errors properly (their broken
 configure script does not return proper error codes)

SVN-Revision: 14181
---
 tools/quilt/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/quilt/Makefile b/tools/quilt/Makefile
index 49da92b734..5294534b01 100644
--- a/tools/quilt/Makefile
+++ b/tools/quilt/Makefile
@@ -15,6 +15,11 @@ PKG_MD5SUM:=d33d2442bd34387260b1c1db3e623af0
 
 include $(INCLUDE_DIR)/host-build.mk
 
+define Build/Configure
+	$(call Build/Configure/Default)
+	[ -f $(PKG_BUILD_DIR)/Makefile ]
+endef
+
 define Build/Compile
 	$(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)"
 endef
-- 
GitLab