Skip to content

Commit

Permalink
add autorebuild check for menuconfig
Browse files Browse the repository at this point in the history
SVN-Revision: 9301
  • Loading branch information
Felix Fietkau committed Oct 14, 2007
1 parent 1a3c4d1 commit af03fdb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/depends.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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"; \
} \
Expand Down
2 changes: 1 addition & 1 deletion include/toplevel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af03fdb

Please sign in to comment.