Skip to content

Commit 9121f45

Browse files
committed
flashrom ppc64: remove ast2400 and dummy, leaving NOTHING+MTD only, dasharo/flashrom commit 82f021ec1e5677aec4c98352cf52695d82a0fb41
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 CONFIG_INTERNAL is not enough to have internal programmer anymore. CONFIG_INTERNAL_X86 also needs to be requested. Bug upstream which is not tested against NOTHING Collaboration happened under Dasharo/flashrom#11
1 parent 893c298 commit 9121f45

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

modules/flashrom

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

33
flashrom_depends := pciutils libusb $(musl_dep)
44

5-
flashrom_version := 5111246d8dab57249148e08509b58e9f82056521
5+
flashrom_version := 82f021ec1e5677aec4c98352cf52695d82a0fb41
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 := 027d77ffbcaed019197b90c5c0d8ba31c7d04fd5503eba1f3e88b907f67f0ab9
1010

1111
# Default options for flashrom
1212
flashrom_cfg := \
13+
WARNERROR=no \
1314
CONFIG_NOTHING=yes \
1415
CONFIG_INTERNAL=yes \
16+
CONFIG_INTERNAL_X86=yes \
1517
CONFIG_DUMMY=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
2425
endif
2526

2627
flashrom_target := \
@@ -31,11 +32,8 @@ flashrom_target := \
3132
LIBS_BASE="$(INSTALL)" \
3233
CFLAGS="-I$(INSTALL)/include/libusb-1.0 -I$(INSTALL)/include/pci" \
3334
LDFLAGS="-L$(INSTALL)/lib" \
34-
WARNERROR=no \
35+
$(flashrom_cfg) \
3536
$(CROSS_TOOLS) \
36-
#PREFIX="/" \
37-
#DESTDIR="$(INSTALL)" \
38-
$(flashrom_cfg)
3937

4038
flashrom_output := \
4139
flashrom

0 commit comments

Comments
 (0)