image.in: add include-once check
This is following mkimage's approach; better late than never.
This commit is contained in:
parent
9e2e5c0c1f
commit
f1cc7f0c31
@ -1,6 +1,9 @@
|
|||||||
ifneq (clean,$(MAKECMDGOALS))
|
ifneq (clean,$(MAKECMDGOALS))
|
||||||
ifneq (distclean,$(MAKECMDGOALS))
|
ifneq (distclean,$(MAKECMDGOALS))
|
||||||
|
|
||||||
|
ifndef INCLUDED_FUNCTIONS_MK
|
||||||
|
INCLUDED_FUNCTIONS_MK = 1
|
||||||
|
|
||||||
# globals
|
# globals
|
||||||
PKGDIR ?= $(GLOBAL_BUILDDIR)/pkg
|
PKGDIR ?= $(GLOBAL_BUILDDIR)/pkg
|
||||||
|
|
||||||
@ -49,3 +52,4 @@ branding = $(and $(1),^branding-$(BRANDING)-($(call list2re,$(1)))$$)
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user