diff options
author | Tim Lee <timlee660101@gmail.com> | 2023-08-03 08:28:38 +0300 |
---|---|---|
committer | Tim Lee <chli30@nuvoton.com> | 2023-08-08 13:42:08 +0300 |
commit | 0277e83eed4bfb0aca4ad08a82de3b29779c1105 (patch) | |
tree | 398fbe6e2e1cc0a7b4a02063e0ac7701da631427 | |
parent | 7d24c64eeb08ed0e32d2d1455ca821b47e38da74 (diff) | |
download | openbmc-0277e83eed4bfb0aca4ad08a82de3b29779c1105.tar.xz |
meta-phosphor: npcm8xx.bbclass: modify npcm8xx-tip-fw dependency
For NO TIP mode there is no need for building npcm8xx-tip-fw recipe
Tested:
1. Set TIP_IMAGE = False
2. bitbake -c cleanall npcm8xx-tip-fw
3. bitbake obmc-phosphor-image
4. npcm8xx-tip-fw recipe does not build
5. Set TIP_IMAGE = True
6. bitbake obmc-phosphor-image
7. npcm8xx-tip-fw recipe does build
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I31fe035f767cdaf8ce4cf3c7a4a5ccda9fbc9538
-rw-r--r-- | meta-phosphor/classes/image_types_phosphor_nuvoton_npcm8xx.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/classes/image_types_phosphor_nuvoton_npcm8xx.bbclass b/meta-phosphor/classes/image_types_phosphor_nuvoton_npcm8xx.bbclass index 86c54f5eb1..6ea5389834 100644 --- a/meta-phosphor/classes/image_types_phosphor_nuvoton_npcm8xx.bbclass +++ b/meta-phosphor/classes/image_types_phosphor_nuvoton_npcm8xx.bbclass @@ -218,7 +218,7 @@ python do_merge_bootloaders() { } do_pad_binary[depends] += " \ - npcm8xx-tip-fw:do_deploy \ + ${@'npcm8xx-tip-fw:do_deploy' if d.getVar('TIP_IMAGE', True) == 'True' else ''} \ npcm8xx-bootblock:do_deploy \ u-boot-nuvoton:do_deploy \ trusted-firmware-a:do_deploy \ |