Commit f1cc7f0c authored by Michael Shigorin's avatar Michael Shigorin Committed by Anton Midyukov

image.in: add include-once check

This is following mkimage's approach; better late than never.
parent 9e2e5c0c
ifneq (clean,$(MAKECMDGOALS))
ifneq (distclean,$(MAKECMDGOALS))
ifndef INCLUDED_FUNCTIONS_MK
INCLUDED_FUNCTIONS_MK = 1
# globals
PKGDIR ?= $(GLOBAL_BUILDDIR)/pkg
......@@ -49,3 +52,4 @@ branding = $(and $(1),^branding-$(BRANDING)-($(call list2re,$(1)))$$)
endif
endif
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment