mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 05:09:55 +00:00
fdcb4916ca
Supported in 1.2: - dummy, serprog, buspirate_spi, pony_spi, linux_mtd, linux_spi. Supported in 1.3.0: - dummy, serprog, buspirate_spi, pony_spi, linux_mtd, linux_spi.
20 lines
921 B
Makefile
20 lines
921 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="flashrom"
|
|
PKG_VERSION="1.3.0"
|
|
PKG_SHA256="a053234453ccd012e79f3443bdcc61625cf97b7fd7cb4cdd8bfbffbe8b149623"
|
|
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_MESON_OPTS_TARGET="--wrap-mode=nodownload \
|
|
-Dprogrammer=dummy,serprog,buspirate_spi,pony_spi,linux_mtd,linux_spi"
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/sbin
|
|
cp flashrom ${INSTALL}/usr/sbin
|
|
}
|