build: define common subdir targets in rules.mk
Reduce build system clutter and enable further rework Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -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 ., \
|
||||
|
||||
Reference in New Issue
Block a user