File tree Expand file tree Collapse file tree 2 files changed +13
-1105
lines changed
patches/flashrom-b1f858f65b2abd276542650d8cb9e382da258967 Expand file tree Collapse file tree 2 files changed +13
-1105
lines changed Original file line number Diff line number Diff line change 11modules-$(CONFIG_FLASHROM) += flashrom
22
3- flashrom_depends := pciutils $(musl_dep)
3+ flashrom_depends := pciutils libusb $(musl_dep)
44
5- flashrom_version := b1f858f65b2abd276542650d8cb9e382da258967
5+ flashrom_version := 6b2061bc0699202f81aeb782f301f1bba9f8a826
66flashrom_dir := flashrom-$(flashrom_version)
77flashrom_tar := $(flashrom_dir).tar.gz
8- flashrom_url := https://github.com/flashrom /flashrom/archive/$(flashrom_version).tar.gz
9- flashrom_hash := 4873ad50f500629c244fc3fbee64b56403a82307d7f555dfa235336a200c336c
8+ flashrom_url := https://github.com/Dasharo /flashrom/archive/$(flashrom_version).tar.gz
9+ flashrom_hash := 1295be687e1d3806e1489671ad4e1abe1561e83010e43eff367a35dfb603ab51
1010
1111# Default options for flashrom
1212flashrom_cfg := \
1313 WARNERROR=no \
1414 CONFIG_NOTHING=yes \
1515 CONFIG_INTERNAL=yes \
16+ CONFIG_INTERNAL_X86=yes \
1617 CONFIG_DUMMY=yes \
1718 CONFIG_AST1100=yes \
1819
1920ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
2021flashrom_cfg := \
2122 WARNERROR=no \
2223 CONFIG_NOTHING=yes \
23- CONFIG_LINUX_MTD=yes \
24- CONFIG_DUMMY=yes \
25- CONFIG_AST1100=yes
24+ CONFIG_LINUX_MTD=yes
2625endif
2726
2827flashrom_target := \
2928 $(MAKE_JOBS) \
29+ PREFIX="$(INSTALL)" \
30+ INSTALL="$(INSTALL)" \
31+ DESTDIR="$(INSTALL)" \
32+ LIBS_BASE="$(INSTALL)" \
33+ CFLAGS="-Os -I$(INSTALL)/include/libusb-1.0 -I$(INSTALL)/include/pci" \
34+ LDFLAGS="-L$(INSTALL)/lib" \
35+ $(flashrom_cfg) \
3036 $(CROSS_TOOLS) \
31- $(flashrom_cfg)
3237
3338flashrom_output := \
3439 flashrom
You can’t perform that action at this time.
0 commit comments