From a4c2d7dc0360a85daa5eaf3924f2c63fb3598c06 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 21 Mar 2005 16:15:01 +0000
Subject: [PATCH] check config changes on make world

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@410 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 8342bab86..ef60ff198 100644
--- a/Makefile
+++ b/Makefile
@@ -69,9 +69,13 @@ package_install: toolchain
 # In this section, we need .config
 include .config.cmd
 
-world: $(DL_DIR) $(BUILD_DIR) target_prepare $(TARGET_DIR) toolchain_install package_install target_install package_index
+world: $(DL_DIR) $(BUILD_DIR) configtest target_prepare $(TARGET_DIR) toolchain_install package_install target_install package_index
 
-.PHONY: all world clean dirclean distclean image_clean target_clean source target_prepare target_install toolchain_install package_install
+.PHONY: all world clean dirclean distclean image_clean target_clean source target_prepare target_install toolchain_install package_install configtest
+
+configtest:
+	-cp .config .config.test
+	-scripts/configtest.pl
 
 package_index:
 	(cd $(PACKAGE_DIR); \
-- 
2.20.1