heads/modules/flashrom
Trammell Hudson 8589370708
Flash writing from userspace works (issue #17).
Reduce the size of flashrom by commenting out most flash chips,
boards and programmers.

Wrapper script to make it easier to rewrite the ROM on the x230
using the flashrom layout.

Keep the entire 12 MB ROM for flashing.
2017-03-30 17:12:22 -04:00

48 lines
1.1 KiB
Plaintext

modules += 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) \
CC="$(heads_cc)" \
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 :=