chromeos-ec: ebuild should only pass TOUCHPAD_FW to detachable base, and BOOTBLOCK to main EC |
|
Issue descriptionThe make parameter TOUCHPAD_FW only makes sense for detachable bases, and BOOTBLOCK only makes sense for the main EC (when USE="bootblock_in_ec" is set, i.e. on kukui). Currently, the ebuild passes TOUCHPAD_FW and BOOTBLOCK to all targets (which is harmless is most cases): https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/387dedd872fb6660d819bd53a41209bea6d77072/chromeos-base/chromeos-ec/chromeos-ec-9999.ebuild#121 . Also, when USE="bootblock_in_ec" is set, it builds all EC targets twice (with a serial enabled bootblock or not), which makes no sense for extra EC targets.
,
Dec 25
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/6488ed4d4d0c3696891f491a4204c6a682fdabb1 commit 6488ed4d4d0c3696891f491a4204c6a682fdabb1 Author: Nicolas Boichat <drinkcat@chromium.org> Date: Tue Dec 25 04:37:35 2018 chromeos-ec: Fix BOOTBLOCK handling with multiple EC builds Testing if the bootblock.bin file exists is redundant: the EC build would fail anyway. Also, when the serial-enabled bootblock does not exist (e.g. on extra ECs), do not build and install serial-enabled EC images. BUG=b:120177230 BUG=chromium:917570 TEST=emerge-kukui -av chromeos-ec => /build/kukui/firmware/kukui_scp exists Change-Id: I82cb42b84cb9ebaf87e004e8f087683eb1b93719 Reviewed-on: https://chromium-review.googlesource.com/1390075 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org> [modify] https://crrev.com/6488ed4d4d0c3696891f491a4204c6a682fdabb1/chromeos-base/chromeos-ec/chromeos-ec-9999.ebuild |
|
►
Sign in to add a comment |
|
Comment 1 by drinkcat@chromium.org
, Dec 22