diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-10-14 02:28:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-10-14 02:28:34 +0000 |
commit | 733e77839ddac4d606b3ec3505a57c2735a276b1 (patch) | |
tree | 125b81d99fbe6a8b602651a28231c071a82dd4dc | |
parent | 9622d803448fcb9c1726aebf8e6b68d65f8b290e (diff) | |
download | upstream-733e77839ddac4d606b3ec3505a57c2735a276b1.tar.gz upstream-733e77839ddac4d606b3ec3505a57c2735a276b1.tar.bz2 upstream-733e77839ddac4d606b3ec3505a57c2735a276b1.zip |
add autorebuild check for menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9301 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | include/depends.mk | 2 | ||||
-rw-r--r-- | include/toplevel.mk | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -20,6 +20,7 @@ ifneq ($(OPENWRT_BUILD),1) override OPENWRT_BUILD=1 export OPENWRT_BUILD include $(TOPDIR)/include/debug.mk + include $(TOPDIR)/include/depends.mk include $(TOPDIR)/include/toplevel.mk else include rules.mk diff --git a/include/depends.mk b/include/depends.mk index b488af9271..4c31eb3984 100644 --- a/include/depends.mk +++ b/include/depends.mk @@ -28,7 +28,7 @@ define rdep ) \ { \ [ -f "$(2)_check.1" ] && mv "$(2)_check.1"; \ - $(SCRIPT_DIR)/timestamp.pl $(DEP_FINDPARAMS) $(4) -n $(2) $(1) && { \ + $(TOPDIR)/scripts/timestamp.pl $(DEP_FINDPARAMS) $(4) -n $(2) $(1) && { \ $(call debug_eval,$(SUBDIR),r,echo "No need to rebuild $(2)";) \ touch -r "$(2)" "$(2)_check"; \ } \ diff --git a/include/toplevel.mk b/include/toplevel.mk index dcbcb3eb75..c92686019d 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -52,7 +52,7 @@ prepare-tmpinfo: FORCE scripts/config/mconf: @+$(MAKE) -C scripts/config all -$(call rdep,scripts/config,scripts/config/mconf) +$(eval $(call rdep,scripts/config,scripts/config/mconf)) scripts/config/conf: @+$(MAKE) -C scripts/config conf |