Skip to content

Commit 8d7947d

Browse files
committed
flashrom ppc64: remove ast2400 and dummy, leaving NOTHING+MTD only, dasharo/flashrom commit 3e8449014f5fd66871cdab3af4d4028a0cb4bb9aef8d8e36c6f2349f21cacde3
NOTE: newer flashrom version seems to need to have evnrionement variables defined prior of make call on console... Attempt to get successful builds for Dasharo/flashrom#11
1 parent d0aab9a commit 8d7947d

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

modules/flashrom

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,27 @@ modules-$(CONFIG_FLASHROM) += flashrom
22

33
flashrom_depends := pciutils libusb $(musl_dep)
44

5-
flashrom_version := 5111246d8dab57249148e08509b58e9f82056521
5+
flashrom_version := 2c4392ee241e8367ae1c635139a586cbe2e68427
66
flashrom_dir := flashrom-$(flashrom_version)
77
flashrom_tar := $(flashrom_dir).tar.gz
88
flashrom_url := https://github.com/Dasharo/flashrom/archive/$(flashrom_version).tar.gz
9-
flashrom_hash := ed36cd80c468f99680092cc009520ab301922b97e63d96936ac0b44831f6573a
9+
flashrom_hash := 95d064b02573b0a777000e132cf523d8ca4cc1340771e489b1193753d6fba821
1010

1111
# Default options for flashrom
1212
flashrom_cfg := \
13+
WARNERROR=no \
1314
CONFIG_NOTHING=yes \
1415
CONFIG_INTERNAL=yes \
1516
CONFIG_DUMMY=yes \
17+
CONFIG_NICINTEL=yes \
1618
CONFIG_AST1100=yes \
1719

1820
ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
1921
flashrom_cfg := \
22+
WARNERROR=no \
2023
CONFIG_NOTHING=yes \
21-
CONFIG_LINUX_MTD=yes \
22-
CONFIG_DUMMY=yes \
23-
CONFIG_AST2400=yes
24+
CONFIG_LINUX_MTD=yes
25+
2426
endif
2527

2628
flashrom_target := \
@@ -31,11 +33,8 @@ flashrom_target := \
3133
LIBS_BASE="$(INSTALL)" \
3234
CFLAGS="-I$(INSTALL)/include/libusb-1.0 -I$(INSTALL)/include/pci" \
3335
LDFLAGS="-L$(INSTALL)/lib" \
34-
WARNERROR=no \
36+
$(flashrom_cfg) \
3537
$(CROSS_TOOLS) \
36-
#PREFIX="/" \
37-
#DESTDIR="$(INSTALL)" \
38-
$(flashrom_cfg)
3938

4039
flashrom_output := \
4140
flashrom

0 commit comments

Comments
 (0)