mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] image-hdimg.make: Add PROJECT and PROJECT_VERSION variables.
@ 2022-01-14 11:56 Christian Melki
  2022-01-21  8:19 ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Melki @ 2022-01-14 11:56 UTC (permalink / raw)
  To: ptxdist

Ideally, I'd like this to be in the generic genimage env.
I need this to be able to name images according to the project.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 rules/image-hdimg.make | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/image-hdimg.make b/rules/image-hdimg.make
index b470c0fb6..6f0012a85 100644
--- a/rules/image-hdimg.make
+++ b/rules/image-hdimg.make
@@ -57,6 +57,8 @@ IMAGE_HDIMG_ENV = \
 	PARTITION_TABLE_TYPE=$(call ptx/ifdef, PTXCONF_IMAGE_HDIMG_GPT,gpt,mbr) \
 	PARTITION_TYPE_SUFFIX=$(call ptx/ifdef, PTXCONF_IMAGE_HDIMG_GPT,-uuid) \
 	ROOT_PARTITION_TYPE=$(call ptx/ifdef, PTXCONF_IMAGE_HDIMG_GPT,L,0x83) \
+	PROJECT=$(PTXCONF_PROJECT) \
+	PROJECT_VERSION=$(PTXCONF_PROJECT_VERSION) \
 	$(IMAGE_HDIMG_BOOTLOADER_ENV)
 
 $(IMAGE_HDIMG_IMAGE):
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-04 14:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 11:56 [ptxdist] [PATCH] image-hdimg.make: Add PROJECT and PROJECT_VERSION variables Christian Melki
2022-01-21  8:19 ` Michael Olbrich
2022-01-21  8:44   ` Christian Melki
2022-02-04 13:13   ` Christian Melki
2022-02-04 14:47     ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox