build: define common subdir targets in rules.mk
[openwrt/openwrt.git] / include / subdir.mk
index 10476d3476546fbc408c14793c0a7362721d076f..7e0c474035cb9416b72d5797cc162c87c49cf6a9 100644 (file)
@@ -9,7 +9,7 @@ ifeq ($(MAKECMDGOALS),prereq)
   SUBTARGETS:=prereq
   PREREQ_ONLY:=1
 else
-  SUBTARGETS:=clean download prepare compile install update refresh prereq dist distcheck configure check
+  SUBTARGETS:=$(DEFAULT_SUBDIR_TARGETS)
 endif
 
 subtarget-default = $(filter-out ., \