blob: 381ad05b71799d54640ccb5ff4bde5470f5a1c34 [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
CROS_WORKON_COMMIT="a27c2e84964615fded123086a7d9b139b6e9e1b4"
CROS_WORKON_TREE=("9b35e7ff9450a4dff521fa942c6d28121862845c" "6f3abf0e1487e52593fe1b4fc780df5844fa9cc1" "dc1506ef7c8cfd2c5ffd1809dac05596ec18773c")
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_LOCALNAME="../platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_OUTOFTREE_BUILD=1
CROS_WORKON_SUBTREE="cfm-device-updater common-mk .gn"
PLATFORM_SUBDIR="cfm-device-updater"
inherit cros-workon platform libchrome user udev
DESCRIPTION="Utilities to update CFM peripherals firmwares."
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
RDEPEND="
chromeos-base/libbrillo
"
DEPEND="${RDEPEND}"
pkg_preinst() {
enewuser cfm-firmware-updaters
enewgroup cfm-peripherals
}
src_install() {
dosbin "${OUT}"/bizlink-updater
udev_dorules bizlink-updater/conf/99-bizlink-usb.rules
}