![Bernd Kuhls](/assets/img/avatar_default.png)
Fixes buffer overflow: https://mail.coreboot.org/pipermail/flashrom/2016-March/014523.html Removed patch 0002-sys-io.h.patch, not needed anymore, hwaccess.h now contains a similar fix: elif defined(__linux__) || defined(__GLIBC__) Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
685 B
Makefile
23 lines
685 B
Makefile
################################################################################
|
|
#
|
|
# flashrom
|
|
#
|
|
################################################################################
|
|
|
|
FLASHROM_VERSION = 0.9.9
|
|
FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2
|
|
FLASHROM_SITE = http://download.flashrom.org/releases
|
|
FLASHROM_DEPENDENCIES = pciutils libusb libusb-compat libftdi host-pkgconf
|
|
FLASHROM_LICENSE = GPL-2.0+
|
|
FLASHROM_LICENSE_FILES = COPYING
|
|
|
|
define FLASHROM_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define FLASHROM_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/flashrom $(TARGET_DIR)/usr/sbin/flashrom
|
|
endef
|
|
|
|
$(eval $(generic-package))
|