mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 21:09:42 +02:00
add autorebuild check for menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9301 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
871a6908a5
commit
d124ab28a8
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 New Issue
Block a user