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:
@@ -143,6 +143,7 @@ Build/Exports=$(Build/Exports/Default)
|
||||
define Build/CoreTargets
|
||||
$(if $(QUILT),$(Build/Quilt))
|
||||
$(call Build/Autoclean)
|
||||
$(call DefaultTargets)
|
||||
|
||||
download:
|
||||
$(foreach hook,$(Hooks/Download),
|
||||
@@ -287,10 +288,6 @@ prepare-package-install:
|
||||
$(PACKAGE_DIR):
|
||||
mkdir -p $@
|
||||
|
||||
dumpinfo:
|
||||
download:
|
||||
prepare:
|
||||
configure:
|
||||
compile: prepare-package-install
|
||||
install: compile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user