distribution/packages/tools/flashrom/package.mk

22 lines
950 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019 Team LibreELEC (https://libreelec.tv)
PKG_NAME="flashrom"
PKG_VERSION="1.3"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="GPL"
PKG_SITE="https://www.flashrom.org/Flashrom"
PKG_URL="https://download.flashrom.org/releases/${PKG_NAME}-v${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libusb-compat"
PKG_LONGDESC="flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. It is designed to flash BIOS/EFI/coreboot/firmware/optionROM images on mainboards, network/graphics/storage controller cards, and various other programmer devices."
PKG_MAKE_OPTS_TARGET="PREFIX=/usr \
CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no \
CONFIG_FT2232_SPI=no \
CONFIG_USBBLASTER_SPI=no \
CONFIG_JLINK_SPI=no"
PKG_MAKEINSTALL_OPTS_TARGET="${PKG_MAKE_OPTS_TARGET}"
post_makeinstall_target() {
rm -fr ${INSTALL}/usr/share/man
}