cros_ec: add chrome EC headers to include path
commit5117c27cc18e6a22e71204d911e404f9e27744e8
authorCaveh Jalali <caveh@chromium.org>
Mon, 30 Mar 2020 21:41:52 +0000 (30 14:41 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 1 Apr 2020 09:19:48 +0000 (1 09:19 +0000)
treee8b56ad870aaefb0c99e9ee62ce90cdef821db5e
parent00eb7d7bda2c698388edd74ef5bb95441f1e4bcd
cros_ec: add chrome EC headers to include path

This adds the path to chrome EC headers to the depthcharge
build. Depthcharge currently includes a manually maintained copy of
the EC headers which are perpetually out of sync with the real
interface definitions. By adding the include path, we can build
depthcharge with the actual EC interface definitions and eliminate the
manual maintenance of copies of EC headers. Once the include path is
in place, we can remove the copies of the EC headers from depthcharge.

BUG=b:152373049

Change-Id: I1ce0ad9dc99ea52f177d4fb034fd23efd95a7864
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39947
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
payloads/external/depthcharge/Makefile