Skip to content

Commit ac7ebfb

Browse files
committed
WiP: Transcient build test of flashrom against Dasharo/flashrom@5111246 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
1 parent 0752843 commit ac7ebfb

File tree

2 files changed

+9
-1100
lines changed

2 files changed

+9
-1100
lines changed

modules/flashrom

+9-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ modules-$(CONFIG_FLASHROM) += flashrom
22

33
flashrom_depends := pciutils $(musl_dep)
44

5-
flashrom_version := b1f858f65b2abd276542650d8cb9e382da258967
5+
flashrom_version := 5111246d8dab57249148e08509b58e9f82056521
66
flashrom_dir := flashrom-$(flashrom_version)
77
flashrom_tar := $(flashrom_dir).tar.gz
8-
flashrom_url := https://github.com/flashrom/flashrom/archive/$(flashrom_version).tar.gz
9-
flashrom_hash := 4873ad50f500629c244fc3fbee64b56403a82307d7f555dfa235336a200c336c
8+
flashrom_url := https://github.com/Dasharo/flashrom/archive/$(flashrom_version).tar.gz
9+
flashrom_hash := ed36cd80c468f99680092cc009520ab301922b97e63d96936ac0b44831f6573a
1010

1111
# Default options for flashrom
1212
flashrom_cfg := \
@@ -27,6 +27,12 @@ endif
2727

2828
flashrom_target := \
2929
$(MAKE_JOBS) \
30+
PREFIX="$(INSTALL)" \
31+
INSTALL="$(INSTALL)" \
32+
DESTDIR="$(INSTALL)" \
33+
LIBS_BASE="$(INSTALL)" \
34+
CFLAGS="-I$(INSTALL)/include/libusb-1.0 -I$(INSTALL)/include/pci" \
35+
LDFLAGS="-L$(INSTALL)/lib" \
3036
$(CROSS_TOOLS) \
3137
$(flashrom_cfg)
3238

0 commit comments

Comments
 (0)