image.in: no more functions for (dist)clean

`make clean' and `make distclean' use none of these,
no reason to spend extra forks, i/o and time.
This commit is contained in:
Michael Shigorin 2019-07-17 21:32:28 +03:00 committed by Anton Midyukov
parent a10787e74c
commit 9e2e5c0c1f

View File

@ -1,3 +1,6 @@
ifneq (clean,$(MAKECMDGOALS))
ifneq (distclean,$(MAKECMDGOALS))
# globals
PKGDIR ?= $(GLOBAL_BUILDDIR)/pkg
@ -43,3 +46,6 @@ kpackages = $(and $(1), \
# arg: branding subpackages
branding = $(and $(1),^branding-$(BRANDING)-($(call list2re,$(1)))$$)
endif
endif