diff options
author | Ming Liu <liu.ming50@gmail.com> | 2022-07-14 17:45:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-15 12:33:21 +0100 |
commit | e116ad7c6993e88c30d6f7f4da6d371b52d96fc5 (patch) | |
tree | bb222a2942ccdcdfd3424744f243fe4972988e4e /meta/classes/kernel-fitimage.bbclass | |
parent | a508d0cf1b96c83f48a7ad017b1bb4db08738a16 (diff) | |
download | poky-e116ad7c6993e88c30d6f7f4da6d371b52d96fc5.tar.gz |
meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE
Sometimes an end user might want to choose another kernel type argument
for uboot-mkimage other than "kernel", for instance: "kernel_noload".
Let's introduce a variable UBOOT_MKIMAGE_KERNEL_TYPE to support that,
and it could be used by BSP layers as well.
(From OE-Core rev: e288686e97de1265eeeaf452141e1473867efb1b)
(From OE-Core rev: 4eb7bbcc2f08b25387a15b7e4a89ef199783c973)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 7e09b075ff..2112ae4cfa 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
@@ -148,7 +148,7 @@ fitimage_emit_section_kernel() { | |||
148 | kernel-$2 { | 148 | kernel-$2 { |
149 | description = "Linux kernel"; | 149 | description = "Linux kernel"; |
150 | data = /incbin/("$3"); | 150 | data = /incbin/("$3"); |
151 | type = "kernel"; | 151 | type = "${UBOOT_MKIMAGE_KERNEL_TYPE}"; |
152 | arch = "${UBOOT_ARCH}"; | 152 | arch = "${UBOOT_ARCH}"; |
153 | os = "linux"; | 153 | os = "linux"; |
154 | compression = "$4"; | 154 | compression = "$4"; |