blob: f1d561f911030a4a1820387107a18d1d46ac245a [file] [log] [blame]
# Copyright 2019 The ChromiumOS Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Install per-board hardware features for ARC++."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE=""
S="${WORKDIR}"
src_install() {
insinto /etc
doins "${FILESDIR}/hardware_features.xml"
# Install and rename the script for ArcSetup.
dosbin "${FILESDIR}/board_hardware_features.sh"
mv "${D}/usr/sbin/board_hardware_features.sh" \
"${D}/usr/sbin/board_hardware_features"
}