mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-21 07:24:22 +00:00
iscsi-scst, srpt: Restore MOFED_MAJOR and MOFED_MINOR definitions
This patch reverts commit bcdb25e550 (r7363).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8397 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -67,6 +67,8 @@ OFED_VERS=$(OFED_RPM_VERS)$(OFED_DEB_VERS)
|
||||
OFED_CFLAGS:=-I$(OFED_KERNEL_DIR)/include \
|
||||
-I$(OFED_KERNEL_DIR)/include/uapi \
|
||||
-include "linux/compat-2.6.h"
|
||||
OFED_CFLAGS+=-DMOFED_MAJOR=$(shell echo "$(OFED_VERS)" | sed 's/\([0-9]\+\)[^0-9]\+\([0-9]\+\).*/\1/g')
|
||||
OFED_CFLAGS+=-DMOFED_MINOR=$(shell echo "$(OFED_VERS)" | sed 's/\([0-9]\+\)[^0-9]\+\([0-9]\+\).*/\2/g')
|
||||
else
|
||||
# OFED 1.5
|
||||
OFED_KERNEL_DIR:=/usr/src/ofa_kernel
|
||||
|
||||
Reference in New Issue
Block a user