Skip to content

Commit

Permalink
WiP: Transcient build test of flashrom against Dasharo/flashrom@5111246
Browse files Browse the repository at this point in the history
… to test https://github.com/Dasharo/flashrom/tree/kgpe-patch-rebase

Pointing to Dasharo/flashrom#11 so that CircleCI shows success where work is happening

Heads builds a little farther here but still problematic:
- pkg-config is used in Makefile and Makefile.inc of flashrom, so we have to provide good values for that to detect good versions under Heads install dir
  • Loading branch information
tlaurion committed Jan 22, 2023
1 parent 0752843 commit ac7ebfb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1,100 deletions.
12 changes: 9 additions & 3 deletions modules/flashrom
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ modules-$(CONFIG_FLASHROM) += flashrom

flashrom_depends := pciutils $(musl_dep)

flashrom_version := b1f858f65b2abd276542650d8cb9e382da258967
flashrom_version := 5111246d8dab57249148e08509b58e9f82056521
flashrom_dir := flashrom-$(flashrom_version)
flashrom_tar := $(flashrom_dir).tar.gz
flashrom_url := https://github.com/flashrom/flashrom/archive/$(flashrom_version).tar.gz
flashrom_hash := 4873ad50f500629c244fc3fbee64b56403a82307d7f555dfa235336a200c336c
flashrom_url := https://github.com/Dasharo/flashrom/archive/$(flashrom_version).tar.gz
flashrom_hash := ed36cd80c468f99680092cc009520ab301922b97e63d96936ac0b44831f6573a

# Default options for flashrom
flashrom_cfg := \
Expand All @@ -27,6 +27,12 @@ endif

flashrom_target := \
$(MAKE_JOBS) \
PREFIX="$(INSTALL)" \
INSTALL="$(INSTALL)" \
DESTDIR="$(INSTALL)" \
LIBS_BASE="$(INSTALL)" \
CFLAGS="-I$(INSTALL)/include/libusb-1.0 -I$(INSTALL)/include/pci" \
LDFLAGS="-L$(INSTALL)/lib" \
$(CROSS_TOOLS) \
$(flashrom_cfg)

Expand Down
Loading

0 comments on commit ac7ebfb

Please sign in to comment.