summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fce2708..e3c1154 100644
--- a/Makefile
+++ b/Makefile
@@ -178,6 +178,9 @@ CONFIG_NICREALTEK ?= yes
# Disable National Semiconductor NICs until support is complete and tested.
CONFIG_NICNATSEMI ?= no
+# Always enable Intel NICs for now.
+CONFIG_NICINTEL ?= yes
+
# Always enable SPI on Intel NICs for now.
CONFIG_NICINTEL_SPI ?= yes
@@ -297,6 +300,12 @@ PROGRAMMER_OBJS += nicnatsemi.o
NEED_PCI := yes
endif
+ifeq ($(CONFIG_NICINTEL), yes)
+FEATURE_CFLAGS += -D'CONFIG_NICINTEL=1'
+PROGRAMMER_OBJS += nicintel.o
+NEED_PCI := yes
+endif
+
ifeq ($(CONFIG_NICINTEL_SPI), yes)
FEATURE_CFLAGS += -D'CONFIG_NICINTEL_SPI=1'
PROGRAMMER_OBJS += nicintel_spi.o
OpenPOWER on IntegriCloud