Skip to content

Commit

Permalink
flashrom: use upstream flashrom, hack Makefile to not build man pages
Browse files Browse the repository at this point in the history
  • Loading branch information
tlaurion committed Apr 13, 2023
1 parent 385a055 commit 0d49979
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
8 changes: 3 additions & 5 deletions modules/flashrom
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@ modules-$(CONFIG_FLASHROM) += flashrom

flashrom_depends := pciutils libusb $(musl_dep)

flashrom_version := 6b2061bc0699202f81aeb782f301f1bba9f8a826
flashrom_version := f3c21c6439f8bbd2911f120c55f301982ecd35bc
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 := 1295be687e1d3806e1489671ad4e1abe1561e83010e43eff367a35dfb603ab51
flashrom_url := https://github.com/flashrom/flashrom/archive/$(flashrom_version).tar.gz
flashrom_hash := 7599da318add71510bd2ecd88f2007e35db21ba8d7bd8b38e42a9ac13f869a63

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

ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
flashrom_cfg := \
Expand Down
11 changes: 11 additions & 0 deletions patches/flashrom-f3c21c6439f8bbd2911f120c55f301982ecd35bc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- flashrom-f3c21c6439f8bbd2911f120c55f301982ecd35bc/Makefile.orig 2023-04-13 10:06:26.384000000 -0400
+++ flashrom-f3c21c6439f8bbd2911f120c55f301982ecd35bc/Makefile 2023-04-13 10:06:37.032000000 -0400
@@ -958,7 +958,7 @@
OBJS = $(CHIP_OBJS) $(PROGRAMMER_OBJS) $(LIB_OBJS)


-all: $(PROGRAM)$(EXEC_SUFFIX) man8/$(PROGRAM).8
+all: $(PROGRAM)$(EXEC_SUFFIX)
ifeq ($(ARCH), x86)
@+$(MAKE) -C util/ich_descriptors_tool/ HOST_OS=$(HOST_OS) TARGET_OS=$(TARGET_OS)
endif

0 comments on commit 0d49979

Please sign in to comment.