Skip to content

Commit

Permalink
flashrom ppc64: remove ast2400 and dummy, leaving NOTHING+MTD only, d…
Browse files Browse the repository at this point in the history
…asharo/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
  • Loading branch information
tlaurion committed Jan 30, 2023
1 parent d0aab9a commit 8d7947d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions modules/flashrom
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,27 @@ modules-$(CONFIG_FLASHROM) += flashrom

flashrom_depends := pciutils libusb $(musl_dep)

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

# Default options for flashrom
flashrom_cfg := \
WARNERROR=no \
CONFIG_NOTHING=yes \
CONFIG_INTERNAL=yes \
CONFIG_DUMMY=yes \
CONFIG_NICINTEL=yes \
CONFIG_AST1100=yes \

ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
flashrom_cfg := \
WARNERROR=no \
CONFIG_NOTHING=yes \
CONFIG_LINUX_MTD=yes \
CONFIG_DUMMY=yes \
CONFIG_AST2400=yes
CONFIG_LINUX_MTD=yes

endif

flashrom_target := \
Expand All @@ -31,11 +33,8 @@ flashrom_target := \
LIBS_BASE="$(INSTALL)" \
CFLAGS="-I$(INSTALL)/include/libusb-1.0 -I$(INSTALL)/include/pci" \
LDFLAGS="-L$(INSTALL)/lib" \
WARNERROR=no \
$(flashrom_cfg) \
$(CROSS_TOOLS) \
#PREFIX="/" \
#DESTDIR="$(INSTALL)" \
$(flashrom_cfg)

flashrom_output := \
flashrom
Expand Down

0 comments on commit 8d7947d

Please sign in to comment.