blob: 2544ced7844bd5209d88e2e437831bdc3bba5046 [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
EAPI=7
CROS_WORKON_COMMIT="5c3bc0d02523850b0c8ef82cc16e6f8c27ab3229"
CROS_WORKON_TREE="d624bec72f92b48634dfbeb9418e61c7de4483ff"
CROS_WORKON_PROJECT="chromiumos/platform/ec"
CROS_WORKON_LOCALNAME="ec"
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_OUTOFTREE_BUILD=1
inherit cros-workon
DESCRIPTION="Exported headers from the embedded controller codebase."
HOMEPAGE="https://www.chromium.org/chromium-os/ec-development"
SRC_URI=""
LICENSE="BSD-Google"
KEYWORDS="*"
IUSE=""
RDEPEND=""
DEPEND=""
# No configuration or compilation necessary. This is a header only package.
src_configure() { :; }
src_compile() { :; }
src_install() {
insinto /usr/include/trunks/cr50_headers/
doins include/pinweaver_types.h
doins include/u2f.h
doins board/cr50/tpm2/virtual_nvmem.h
insinto /usr/include/chromeos/ec/
doins include/ec_commands.h
doins util/cros_ec_dev.h
}