summaryrefslogtreecommitdiffstats
path: root/rules/post/ptxd_make_image_fit.make
blob: 2dd5bce9e43270d2271bb9128fbbd0bb17cf8721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*-makefile-*-
#
# Copyright (C) 2019 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

world/image-fit/env/impl = \
	$(call world/image/env, $(1))					\
	$(CODE_SIGNING_ENV)						\
	image_sign_role="$(call ptx/escape,$($(1)_SIGN_ROLE))"		\
	image_key_name_hint="$(call ptx/escape,$($(1)_KEY_NAME_HINT))"	\
	image_kernel="$(call ptx/escape,$($(1)_KERNEL))"		\
	image_initramfs="$(call ptx/escape,$($(1)_INITRAMFS))"		\
	image_dtb="$(call ptx/escape,$($(1)_DTB))"

world/image-fit/env = \
	$(call world/image-fit/env/impl,$(strip $(1)))

world/image-fit = \
	$(call world/image-fit/env, $(1)) \
	ptxd_make_image_fit

# vim: syntax=make