heads/modules/flashrom
Trammell Hudson 07eb5e9717
Define $(CROSS_TOOLS) to ensure reproducible builds (issue )
Each of the submodule configuration files defined a subset of the
cross compiler tools that it used and many were picking up the
system `ar`, `nm`, `strip, `ld`, etc.  They all now use a `Makefile`
macro that defines the path to the proper cross compiler tools.

For ones that need the tools, but not the musl-libc gcc,
there is $(CROSS_TOOLS_NOCC) that is all of them without gcc.
This is for musl-libc itself, as well as xen and the Linux kernel.
2017-04-08 13:23:34 -04:00

48 lines
1.1 KiB
Plaintext

modules-$(CONFIG_FLASHROM) += flashrom
flashrom_depends := pciutils $(musl_dep)
#flashrom_version := git
#flashrom_repo := https://github.com/osresearch/flashrom
flashrom_version := 0.9.9
flashrom_dir := flashrom-$(flashrom_version)
flashrom_tar := flashrom-$(flashrom_version).tar.bz2
flashrom_url := http://download.flashrom.org/releases/$(flashrom_tar)
flashrom_hash := cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45
flashrom_target := \
$(MAKE_JOBS) \
$(CROSS_TOOLS) \
WARNERROR=no \
CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no \
CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no \
CONFIG_DUMMY=no \
CONFIG_RAYER_SPI=no \
CONFIG_NIC3COM=no \
CONFIG_GFXNVIDIA=no \
CONFIG_SATASII=no \
CONFIG_ATAHPT=no \
CONFIG_ATAVIA=no \
CONFIG_ATAPROMISE=no \
CONFIG_IT8212=no \
CONFIG_DRKAISER=no \
CONFIG_NICREALTEK=no \
CONFIG_NICNATSEMI=no \
CONFIG_NICINTEL=no \
CONFIG_NICINTEL_EEPROM=no \
CONFIG_NICINTEL_SPI=no \
CONFIG_OGP_SPI=no \
CONFIG_SATAMV=no \
CONFIG_BUSPIRATE_SPI=no \
CONFIG_SERPROG=no \
CONFIG_PONY_SPI=no \
CONFIG_LINUX_SPI=no \
flashrom_output := \
flashrom
flashrom_libraries := \
flashrom_configure :=