diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-11-26 15:16:11 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-11-26 19:21:29 +0100 |
commit | 080a7d068a1f00e6042c7eda152caebf65946126 (patch) | |
tree | 3de3b29de37034e90c0248a4cf3cb4f3a0c90e6a | |
parent | 6532332e76a96f5ceb4b654978a654148c2628fe (diff) | |
download | ptxdist-080a7d068a1f00e6042c7eda152caebf65946126.tar.gz ptxdist-080a7d068a1f00e6042c7eda152caebf65946126.tar.xz |
image-hdimg: use new syntax to select GPT
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | config/images/hd.config | 2 | ||||
-rw-r--r-- | rules/image-hdimg.make | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/images/hd.config b/config/images/hd.config index 8a7b0146f..d33ddc434 100644 --- a/config/images/hd.config +++ b/config/images/hd.config @@ -4,7 +4,7 @@ image @IMAGE@ { hdimage { align = 1M - gpt = @GPT@ + partition-table-type = "@PARTITION_TABLE_TYPE@" } @BOOTLOADER_PARTITIONS@ partition root { diff --git a/rules/image-hdimg.make b/rules/image-hdimg.make index 7e7c9c8aa..b470c0fb6 100644 --- a/rules/image-hdimg.make +++ b/rules/image-hdimg.make @@ -54,7 +54,7 @@ endif endif IMAGE_HDIMG_ENV = \ - GPT=$(call ptx/ifdef, PTXCONF_IMAGE_HDIMG_GPT,true,false) \ + 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) \ $(IMAGE_HDIMG_BOOTLOADER_ENV) |