[openib-general] [PATCH] kDAPL: more fixes to kdapltest Makefile

Tom Duffy tduffy at sun.com
Thu May 5 13:42:07 PDT 2005


This patch renames the KERNEL_ROOT variable to KERNELDIR to be
consistent with other out-of-kernel Makefiles.  It also removes the
-msse flag as this is no longer needed now that float is out of the
kernel.

Signed-off-by: Tom Duffy <tduffy at sun.com>

Index: linux-kernel/test/dapltest/kdapl/Makefile
===================================================================
--- linux-kernel/test/dapltest/kdapl/Makefile	(revision 2265)
+++ linux-kernel/test/dapltest/kdapl/Makefile	(working copy)
@@ -37,7 +37,7 @@
 ifeq ($(origin KERNELRELEASE), undefined)
 
 KDAPLTEST_ROOT  = `pwd` # directory that contains this makefile 
-KERNEL_ROOT     ?= /lib/modules/`uname -r`/build # root of kernel sources
+KERNELDIR     ?= /lib/modules/`uname -r`/build # root of kernel sources
 
 # Tools
 ECHO            = /bin/echo
@@ -45,7 +45,7 @@ RM              = /bin/rm
 
 all :
 	@$(ECHO) "--- Compiling kdapltest module ---"
-	$(MAKE) -C $(KERNEL_ROOT) M=$(KDAPLTEST_ROOT) modules
+	$(MAKE) -C $(KERNELDIR) M=$(KDAPLTEST_ROOT) modules
 
 clean :
 	$(RM) -rf \
@@ -61,11 +61,6 @@ clean :
 #--------------------------------------------------------------------------
 else
 
-IS_i686 = $(shell uname -m)
-ifeq (${IS_i686},x86_64)
-EXTRA_CFLAGS += -msse
-endif
-
 EXTRA_CFLAGS += \
     -I$(src)/../include        	\
     -I$(src)/../mdep/linux 	\




More information about the general mailing list