ib_srpt: Add support in the Makefile for MLNX OFED and for OFED 3.x (merge r5471 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6066 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-02-10 14:03:58 +00:00
parent d3b312a5d4
commit 2006700dfa

View File

@@ -25,7 +25,7 @@ endif
set_var = $(shell { if [ -e "$(1)" ]; then grep -v '^$(2)=' "$(1)"; fi; echo "$(2)=$(3)"; } >/tmp/$(1)-$$$$.tmp && mv /tmp/$(1)-$$$$.tmp $(1))
SRC_FILES=$(shell $(shell pwd)/../scripts/list-source-files | grep '\.[ch]$$')
SRC_FILES=$(wildcard */*.[ch])
# The file Modules.symvers has been renamed in the 2.6.18 kernel to
# Module.symvers. Find out which name to use by looking in $(KDIR).