diff options
author | Alistair Strachan <astrachan@google.com> | 2018-09-28 12:36:36 -0700 |
---|---|---|
committer | Alistair Strachan <astrachan@google.com> | 2018-09-28 12:47:33 -0700 |
commit | 351e67763631286964f41e000f6bfc95bbd3c49d (patch) | |
tree | 8ea5f8908e8f85d2432d244519ea32a328159828 /BoardConfig.mk | |
parent | 2e0876f56d5f1828732002da289f8580e6fc0edb (diff) | |
download | beagle-x15-351e67763631286964f41e000f6bfc95bbd3c49d.tar.gz |
Fix a race in BOOTIMG_FIT Makefile
The rules for BOOTIMG_FIT depended on INSTALLED_KERNEL_TARGET and
INSTALLED_RAMDISK_TARGET, but these variables may not have been defined
at the point the Makefile was parsed and simply-expanded, so the rules
to build BOOTIMG_FIT could race with the creation of the installed kernel
and ramdisk targets.
Fix this problem by locally defining BOOTIMG_FIT_INSTALLED_KERNEL_TARGET
and BOOTIMG_FIT_INSTALLED_RAMDISK_TARGET to sensible defaults and copy
them to PRIVATE_ variants in the recipe.
Bug: 110964307
Test: local build with m -j128
Change-Id: I49a107c08a3e010035260c21258a7c7dade6c7e7
Signed-off-by: Alistair Strachan <astrachan@google.com>
Diffstat (limited to 'BoardConfig.mk')
0 files changed, 0 insertions, 0 deletions