build: clean up redundant touching of the package install info file
Instead of using a separate .clean stamp file, remove the install info file on compile, then append the install package list afterwards Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -293,13 +293,13 @@ Build/DistCheck=$(call Build/DistCheck/Default,)
|
||||
.PHONY: prepare-package-install
|
||||
prepare-package-install:
|
||||
@mkdir -p $(PKG_INFO_DIR)
|
||||
@touch $(PKG_INSTALL_STAMP).clean
|
||||
@rm -f $(PKG_INSTALL_STAMP)
|
||||
@echo "$(filter-out essential nonshared,$(PKG_FLAGS))" > $(PKG_INSTALL_STAMP).flags
|
||||
|
||||
$(PACKAGE_DIR):
|
||||
mkdir -p $@
|
||||
|
||||
compile: prepare-package-install
|
||||
compile:
|
||||
.install: .compile
|
||||
install: compile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user