Very quick and very dirty hack to get the Mellanox code building

inside gPXE.
This commit is contained in:
Michael Brown
2007-08-18 18:04:18 +01:00
parent 9d2c54735e
commit b42c5905cb
7 changed files with 76 additions and 45 deletions

View File

@@ -164,6 +164,11 @@ SRCDIRS += usr
NON_AUTO_SRCS += core/elf_loader.c
NON_AUTO_SRCS += drivers/net/prism2.c
SRCS += drivers/net/mlx_ipoib/mt25218.c
SRCS += drivers/net/mlx_ipoib/mt23108.c
CFLAGS_mt25218 = -Wno-error
CFLAGS_mt23108 = -Wno-error
# Rules for finalising files. TGT_MAKEROM_FLAGS is defined as part of
# the automatic build system and varies by target; it includes the
# "-p 0x1234,0x5678" string to set the PCI IDs.