diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-02-21 18:27:22 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-02-26 13:31:44 +0100 |
commit | 1f22957247caa85b9583ebb4edaee618dff4b3ba (patch) | |
tree | d8e3c8ad125a61f1c3a115ba9134af0ce61bd38a /include/package.mk | |
parent | 9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96 (diff) | |
download | upstream-1f22957247caa85b9583ebb4edaee618dff4b3ba.tar.gz upstream-1f22957247caa85b9583ebb4edaee618dff4b3ba.tar.bz2 upstream-1f22957247caa85b9583ebb4edaee618dff4b3ba.zip |
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>
Diffstat (limited to 'include/package.mk')
-rw-r--r-- | include/package.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/package.mk b/include/package.mk index a3ef3029d8..bf308bb5c0 100644 --- a/include/package.mk +++ b/include/package.mk @@ -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 |