Eric Sandeen wrote:
This is all fairly OT I suppose, but this seems to get it off the ground,
modulo all the build warnings.
If you're still having trouble, I'll give you a hand off-list if you like.
I like to keep my kbuild chops semi-sharp ;)


ifeq ($(ARCH),x86_64)
        FTLIBNAME=ftlib/ftlib.obj.64
ARCH_FLAGS=-D_AMD64B -D_64BPLATFORM else
 ifeq ($(ARCH),i386)
        FTLIBNAME=ftlib/ftlib.obj.32
        ARCH_FLAGS=-D_X8632B -D_32BPLATFORM
 else
        $(error "This closed-source driver only supports x86 & x86-64.  You 
lose.")
 endif
endif

INCLUDE_DIR = -Iinclude/scsi -Idrivers/scsi -I$(src) -I$(src) -I$(src)/include 
-I$(src)/linux

EXTRA_CFLAGS += -Wno-multichar -D_LINUXDRIVER $(ARCH_FLAGS) $(INCLUDE_DIR) 
-D_OBSOLETE_PROC_

obj-m :=t3sas.o t3sas-objs := linux/osd_main.o linux/osd_cmpi.o linux/osd_cmpm.o linux/osd_ioctl.o linux/osd_timer.o $(FTLIBNAME)

Yes, that was pretty close to what I ended up doing.

The tarball has been posted with the updates:

ftp://ftp.redfish-solutions.com/tx4650-philipp.tar.gz

Thanks Eric!

-Philip


_______________________________________________
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list

Reply via email to