Эх сурвалжийг харах

force entering the config/ subdir in ANY case

This is a general thing: when depending on binaries in subdirs AND
dependency checking for those binaries is done from within the subdir
Makefile (i.e. the decision about whether to recompile or not), we
always have to force entering the subdir or otherwise no check is
performed if the upper level dependency ("does the subdir binary
exist?") is met.
Phil Sutter 16 жил өмнө
parent
commit
cda64efca5
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      mk/build.mk

+ 3 - 0
mk/build.mk

@@ -158,6 +158,9 @@ all: menuconfig
 # configuration
 # ---------------------------------------------------------------------------
 
+# force entering the subdir, as dependency checking is done there
+.PHONY: $(CONFIG)/conf $(CONFIG)/mconf
+
 $(CONFIG)/conf:
 	@$(MAKE) -C $(CONFIG) conf