Skip to content

Commit 40c653f

Browse files
committed
flashrom ppc64: remove ast2400 and dummy, leaving NOTHING+MTD only, dasharo/flashrom commit 2c4392ee241e8367ae1c635139a586cbe2e68427
NOTE: newer flashrom version seems to need to have environment variables defined prior of make call on console, not passing options at make call Attempt to get successful builds for Dasharo/flashrom#11
1 parent a4b0c6c commit 40c653f

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

modules/flashrom

+6-9
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ 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 \
1617
CONFIG_AST1100=yes \
1718

1819
ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
1920
flashrom_cfg := \
21+
WARNERROR=no \
2022
CONFIG_NOTHING=yes \
21-
CONFIG_LINUX_MTD=yes \
22-
CONFIG_DUMMY=yes \
23-
CONFIG_AST2400=yes
23+
CONFIG_LINUX_MTD=yes
2424
endif
2525

2626
flashrom_target := \
@@ -31,11 +31,8 @@ flashrom_target := \
3131
LIBS_BASE="$(INSTALL)" \
3232
CFLAGS="-I$(INSTALL)/include/libusb-1.0 -I$(INSTALL)/include/pci" \
3333
LDFLAGS="-L$(INSTALL)/lib" \
34-
WARNERROR=no \
34+
$(flashrom_cfg) \
3535
$(CROSS_TOOLS) \
36-
#PREFIX="/" \
37-
#DESTDIR="$(INSTALL)" \
38-
$(flashrom_cfg)
3936

4037
flashrom_output := \
4138
flashrom

0 commit comments

Comments
 (0)