add autorebuild check for menuconfig
SVN-Revision: 9301
This commit is contained in:
parent
1a3c4d1090
commit
af03fdb6c5
3 changed files with 3 additions and 2 deletions
1
Makefile
1
Makefile
|
@ -20,6 +20,7 @@ ifneq ($(OPENWRT_BUILD),1)
|
||||||
override OPENWRT_BUILD=1
|
override OPENWRT_BUILD=1
|
||||||
export OPENWRT_BUILD
|
export OPENWRT_BUILD
|
||||||
include $(TOPDIR)/include/debug.mk
|
include $(TOPDIR)/include/debug.mk
|
||||||
|
include $(TOPDIR)/include/depends.mk
|
||||||
include $(TOPDIR)/include/toplevel.mk
|
include $(TOPDIR)/include/toplevel.mk
|
||||||
else
|
else
|
||||||
include rules.mk
|
include rules.mk
|
||||||
|
|
|
@ -28,7 +28,7 @@ define rdep
|
||||||
) \
|
) \
|
||||||
{ \
|
{ \
|
||||||
[ -f "$(2)_check.1" ] && mv "$(2)_check.1"; \
|
[ -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)";) \
|
$(call debug_eval,$(SUBDIR),r,echo "No need to rebuild $(2)";) \
|
||||||
touch -r "$(2)" "$(2)_check"; \
|
touch -r "$(2)" "$(2)_check"; \
|
||||||
} \
|
} \
|
||||||
|
|
|
@ -52,7 +52,7 @@ prepare-tmpinfo: FORCE
|
||||||
scripts/config/mconf:
|
scripts/config/mconf:
|
||||||
@+$(MAKE) -C scripts/config all
|
@+$(MAKE) -C scripts/config all
|
||||||
|
|
||||||
$(call rdep,scripts/config,scripts/config/mconf)
|
$(eval $(call rdep,scripts/config,scripts/config/mconf))
|
||||||
|
|
||||||
scripts/config/conf:
|
scripts/config/conf:
|
||||||
@+$(MAKE) -C scripts/config conf
|
@+$(MAKE) -C scripts/config conf
|
||||||
|
|
Loading…
Reference in a new issue