blob: 949ab7374ab9687d622a410943e6e6f353fdccc3 [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="042861eb27d179fe221fe46aa9fb814c81ea6b9c"
CROS_WORKON_TREE=("e838b0191f5006081b11c5d85e92adf370510ac9" "0ffc67db3979effc8c3e1dc09a1b45719ea6814c")
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"
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
}