buildroot/package/flashrom/flashrom.mk
Thomas Petazzoni 7a4e44fc90 flashrom: new package
[Peter: Install into /usr/sbin]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-06-11 22:48:19 +02:00

21 lines
529 B
Makefile

#############################################################
#
# flashrom
#
#############################################################
FLASHROM_VERSION = 0.9.3
FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2
FLASHROM_SITE = http://download.flashrom.org/releases
FLASHROM_DEPENDENCIES = pciutils
define FLASHROM_BUILD_CMDS
$(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 $(call GENTARGETS))