package/flashrom: bump to version 1.2
- Drop patch (not needed sincee0ceedf76d
) - CONFIG_ENABLE_LIBUSB0_PROGRAMMERS has been dropped sinceb221cd7048
- arc platform is supported since34d07f00b2
- Update indentation in hash file (two spaces) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
1c8aea467b
commit
39148cd3d2
@ -1,25 +0,0 @@
|
||||
linux_spi: add missing include
|
||||
|
||||
Some defines (e.g. _IOC_SIZEBITS) are defined in linux/ioctl.h,
|
||||
so it must be included before it is used, by SPI_IOC_MESSAGE
|
||||
from linux/spi/spidev.h
|
||||
|
||||
Fixes build errors with the musl C library, as seen in these
|
||||
Buildroot autobuilder failures:
|
||||
|
||||
http://autobuild.buildroot.org/results/2a3/2a3744007c630c267575a638ebcd83a4b97644f5/build-end.log
|
||||
http://autobuild.buildroot.org/results/3de/3de936d9be79e151e66af15193084d82a0f2c04a/build-end.log
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
diff -durN flashrom-0.9.8.orig/linux_spi.c flashrom-0.9.8/linux_spi.c
|
||||
--- flashrom-0.9.8.orig/linux_spi.c 2015-10-28 19:42:38.480285847 +0100
|
||||
+++ flashrom-0.9.8/linux_spi.c 2015-10-28 19:43:15.492994613 +0100
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <linux/types.h>
|
||||
+#include <linux/ioctl.h>
|
||||
#include <linux/spi/spidev.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "flash.h"
|
@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_aarch64 || BR2_aarch64_be
|
||||
default y if BR2_arc
|
||||
default y if BR2_arm || BR2_armeb
|
||||
default y if BR2_i386 || BR2_x86_64
|
||||
default y if BR2_m68k
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Locally computed after checking pgp signature
|
||||
# https://download.flashrom.org/releases/flashrom-v1.1.tar.bz2.asc
|
||||
sha256 aeada9c70c22421217c669356180c0deddd0b60876e63d2224e3260b90c14e19 flashrom-v1.1.tar.bz2
|
||||
# https://download.flashrom.org/releases/flashrom-v1.2.tar.bz2.asc
|
||||
sha256 e1f8d95881f5a4365dfe58776ce821dfcee0f138f75d0f44f8a3cd032d9ea42b flashrom-v1.2.tar.bz2
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLASHROM_VERSION = 1.1
|
||||
FLASHROM_VERSION = 1.2
|
||||
FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2
|
||||
FLASHROM_SITE = https://download.flashrom.org/releases
|
||||
FLASHROM_LICENSE = GPL-2.0+
|
||||
@ -28,13 +28,6 @@ else
|
||||
FLASHROM_MAKE_OPTS += CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
|
||||
FLASHROM_DEPENDENCIES += host-pkgconf libusb-compat
|
||||
FLASHROM_MAKE_OPTS += CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=yes
|
||||
else
|
||||
FLASHROM_MAKE_OPTS += CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCIUTILS),y)
|
||||
FLASHROM_DEPENDENCIES += pciutils
|
||||
FLASHROM_MAKE_OPTS += CONFIG_ENABLE_LIBPCI_PROGRAMMERS=yes
|
||||
|
Loading…
Reference in New Issue
Block a user