mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
Enable serprog on Windows
Sockets are not ported (yet). Tested on Windows 7 with my Atmega32U2 serprog implementation. http://paste.flashrom.org/view.php?id=1566 Corresponding to flashrom svn r1665. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Signed-off-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
8
Makefile
8
Makefile
@ -143,12 +143,6 @@ FLASHROM_CFLAGS += -Dffs=__builtin_ffs
|
||||
# libusb-win32/libftdi stuff is usually installed in /usr/local.
|
||||
CPPFLAGS += -I/usr/local/include
|
||||
LDFLAGS += -L/usr/local/lib
|
||||
# Serprog is not supported under Windows/MinGW (missing sockets support).
|
||||
ifeq ($(CONFIG_SERPROG), yes)
|
||||
UNSUPPORTED_FEATURES += CONFIG_SERPROG=yes
|
||||
else
|
||||
override CONFIG_SERPROG = no
|
||||
endif
|
||||
# For now we disable all PCI-based programmers on Windows/MinGW (no libpci).
|
||||
ifeq ($(CONFIG_INTERNAL), yes)
|
||||
UNSUPPORTED_FEATURES += CONFIG_INTERNAL=yes
|
||||
@ -334,7 +328,7 @@ SVNDEF := -D'FLASHROM_VERSION="$(VERSION)"'
|
||||
# Always enable internal/onboard support for now.
|
||||
CONFIG_INTERNAL ?= yes
|
||||
|
||||
# Always enable serprog for now. Needs to be disabled on Windows.
|
||||
# Always enable serprog for now.
|
||||
CONFIG_SERPROG ?= yes
|
||||
|
||||
# RayeR SPIPGM hardware support
|
||||
|
Reference in New Issue
Block a user