diff options
| -rw-r--r-- | classes/qoriq_build_64bit_kernel.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/qoriq_build_64bit_kernel.bbclass b/classes/qoriq_build_64bit_kernel.bbclass index f13aac973..575ac3ca9 100644 --- a/classes/qoriq_build_64bit_kernel.bbclass +++ b/classes/qoriq_build_64bit_kernel.bbclass | |||
| @@ -3,7 +3,9 @@ REQUIRED_DISTRO_FEATURES:e6500 += "multiarch" | |||
| 3 | 3 | ||
| 4 | # BUILD_64BIT_KERNEL is this class's interface, not a machine override: any | 4 | # BUILD_64BIT_KERNEL is this class's interface, not a machine override: any |
| 5 | # machine that sets it gets the promotion, and in-tree only e6500.inc does. | 5 | # machine that sets it gets the promotion, and in-tree only e6500.inc does. |
| 6 | # nooelint: oelint.vars.noncoreoverride | 6 | # KERNEL_CC, KERNEL_LD and KERNEL_AR are replaced only when the flag is set; |
| 7 | # expressing that declaratively means restating kernel.bbclass defaults here. | ||
| 8 | # nooelint: oelint.vars.noncoreoverride oelint.task.noanonpython | ||
| 7 | python () { | 9 | python () { |
| 8 | promote_kernel = d.getVar('BUILD_64BIT_KERNEL', False) | 10 | promote_kernel = d.getVar('BUILD_64BIT_KERNEL', False) |
| 9 | if promote_kernel == "1": | 11 | if promote_kernel == "1": |
