[ofw] [PATCH] allow compilation in & outside of OFED src tree
Smith, Stan
stan.smith at intel.com
Tue Apr 13 18:22:25 PDT 2010
Allow rdma_cm.c to compile (aka find getopt.c) in and outside of OFED src tree.
Allows rdma_cm.c to be used directly as an example instead of carrying around an example copy.
signed-off-by: stan smith <stan.smith at intel.com>
--- a/tests/perftest/rdma_bw/rdma_bw.c Tue Apr 13 18:16:12 2010
+++ b/tests/perftest/rdma_bw/rdma_bw.c Tue Apr 13 18:09:00 2010
@@ -36,7 +36,7 @@
#include <winsock2.h>
#include <time.h>
-#include "..\..\..\etc\user\getopt.c"
+#include "getopt.c"
#include "perftest.h"
#include <infiniband/verbs.h>
#include <rdma/rdma_cma.h>
--- a/tests/perftest/rdma_bw/SOURCES Tue Apr 13 18:16:45 2010
+++ b/tests/perftest/rdma_bw/SOURCES Tue Apr 13 18:10:08 2010
@@ -14,7 +14,7 @@
INCLUDES = ..;..\..\..\ulp\libibverbs\include;\
..\..\..\ulp\librdmacm\include;\
- ..\..\..\inc;..\..\..\inc\user;
+ ..\..\..\inc;..\..\..\inc\user;..\..\..\etc\user;
TARGETLIBS = \
$(SDK_LIB_PATH)\kernel32.lib \
More information about the ofw
mailing list