[openib-general] [PATCH] iser: Make iser Makefile like other OpenIB ULP makefiles

Hal Rosenstock halr at voltaire.com
Mon Aug 29 10:25:08 PDT 2005


Make iser Makefile like other OpenIB ULP makefiles

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: Makefile
===================================================================
--- Makefile	(revision 3232)
+++ Makefile	(working copy)
@@ -1,16 +1,14 @@
-ISER_OBJ = iser_mod.o
-ISER_OBJ += iser_conn.o
-ISER_OBJ += iser_initiator.o
-ISER_OBJ += iser_memory.o
-ISER_OBJ += iser_task.o
-ISER_OBJ += iser_utils.o
-ISER_OBJ += iser_dto.o
-ISER_OBJ += iser_lkdapl.o
+EXTRA_CFLAGS += -Idrivers/infiniband/include -Idrivers/infiniband/ulp/kdapl \
+		-I$(src)/include -DLINUX_KDAT
 
-EXTRA_CFLAGS += -Idrivers/infiniband/include
-EXTRA_CFLAGS += -Idrivers/infiniband/ulp/kdapl
-EXTRA_CFLAGS += -I$(src)/include
-EXTRA_CFLAGS += -DLINUX_KDAT
+obj-$(CONFIG_INFINIBAND_ISER)	+= ib_iser.o
 
-obj-$(CONFIG_INFINIBAND_ISER) += $(ISER_OBJ)
+ib_iser-y			:= iser_mod.o \
+				   iser_conn.o \
+				   iser_initiator.o \
+				   iser_memory.o \
+				   iser_task.o \
+				   iser_utils.o \
+				   iser_dto.o \
+				   iser_lkdapl.o
 






More information about the general mailing list