blob: 0eb0dd69604a1b7357ed9a4a8c5c578ae6404cf9 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# 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"
}