mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 02:31:27 +00:00
srpt/Makefile: SLES + Mellanox OFED build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5681 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -61,9 +61,11 @@ OFED_KERNEL_DIR:=/usr/src/compat-rdma
|
||||
OFED_CFLAGS:=-I$(OFED_KERNEL_DIR)/include
|
||||
else
|
||||
ifeq ($(OFED_FLAVOR),MOFED)
|
||||
# Mellanox OFED with or without kernel-ib RPM
|
||||
# Mellanox OFED with or without kernel-ib RPM. Since several MOFED backport
|
||||
# header files use the LINUX_BACKPORT() macro without including
|
||||
# <linux/compat-2.6.h>, include that header file explicitly.
|
||||
OFED_KERNEL_DIR:=/usr/src/ofa_kernel/default
|
||||
OFED_CFLAGS:=-I$(OFED_KERNEL_DIR)/include
|
||||
OFED_CFLAGS:=-I$(OFED_KERNEL_DIR)/include -include linux/compat-2.6.h
|
||||
else
|
||||
# OFED 1.5
|
||||
OFED_KERNEL_DIR:=/usr/src/ofa_kernel
|
||||
|
||||
Reference in New Issue
Block a user