summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoerg Fischer <turboj@gmx.de>2010-05-21 21:54:07 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-05-21 21:54:07 +0000
commit5665ef35a192ed62ab8966416d2d0e9b724acf24 (patch)
treeff5f5fd679b52c4bb6b0ea89e205c6bf622f3873 /Makefile
parent6d1dea1ff0a06be37045306108b1489f47701589 (diff)
downloadflashrom-5665ef35a192ed62ab8966416d2d0e9b724acf24.tar.gz
flashrom-5665ef35a192ed62ab8966416d2d0e9b724acf24.tar.bz2
flashrom-5665ef35a192ed62ab8966416d2d0e9b724acf24.zip
Support for Realtek RTL8139 network card flashing
Corresponding to flashrom svn r1002. Signed-off-by: Joerg Fischer <turboj@gmx.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6a9beb50b..dff5e9112 100644
--- a/Makefile
+++ b/Makefile
@@ -110,6 +110,9 @@ CONFIG_DUMMY ?= yes
# Always enable Dr. Kaiser for now.
CONFIG_DRKAISER ?= yes
+# Always enable Realtek NICs for now.
+CONFIG_NICREALTEK ?= yes
+
# Always enable Bus Pirate SPI for now.
CONFIG_BUSPIRATESPI ?= yes
@@ -181,6 +184,12 @@ PROGRAMMER_OBJS += drkaiser.o
NEED_PCI := yes
endif
+ifeq ($(CONFIG_NICREALTEK), yes)
+FEATURE_CFLAGS += -D'NICREALTEK_SUPPORT=1'
+PROGRAMMER_OBJS += nicrealtek.o
+NEED_PCI := yes
+endif
+
ifeq ($(CONFIG_BUSPIRATESPI), yes)
FEATURE_CFLAGS += -D'BUSPIRATE_SPI_SUPPORT=1'
PROGRAMMER_OBJS += buspirate_spi.o