blob: a850baff975ffd4021df5125b8adc0498ff60942 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# This file is distributed under the terms of the GNU General Public License v2.
EAPI="6"
inherit cros-common.mk flag-o-matic
DESCRIPTION="STMicroelectronics touchscreen controller firmware updater"
HOMEPAGE="https://github.com/stmicroelectronics-acp/st-touch-fw-updater"
SRC_URI="https://github.com/stmicroelectronics-acp/st-touch-fw-updater/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="*"
src_compile() {
# FIXME(crbug.com/965691): Remove this when upstream fixes their format
# strings.
append-cppflags -Wno-error=format
emake
}
src_install() {
dosbin st-touch-fw-updater
}