build: introduce extra targets that contain only proper dependencies
This can be used to check if targets like prepare or compile are up to date Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -204,13 +204,13 @@ define Build/CoreTargets
|
||||
touch $$@
|
||||
|
||||
ifdef Build/InstallDev
|
||||
compile: $(STAMP_INSTALLED)
|
||||
.compile: $(STAMP_INSTALLED)
|
||||
endif
|
||||
|
||||
prepare: $(STAMP_PREPARED)
|
||||
configure: $(STAMP_CONFIGURED)
|
||||
dist: $(STAMP_CONFIGURED)
|
||||
distcheck: $(STAMP_CONFIGURED)
|
||||
.prepare: $(STAMP_PREPARED)
|
||||
.configure: $(STAMP_CONFIGURED)
|
||||
.dist: $(STAMP_CONFIGURED)
|
||||
.distcheck: $(STAMP_CONFIGURED)
|
||||
endef
|
||||
|
||||
define Build/DefaultTargets
|
||||
@@ -289,6 +289,7 @@ $(PACKAGE_DIR):
|
||||
mkdir -p $@
|
||||
|
||||
compile: prepare-package-install
|
||||
.install: .compile
|
||||
install: compile
|
||||
|
||||
clean: FORCE
|
||||
|
||||
Reference in New Issue
Block a user