diff options
| author | Scott Long <scottl@FreeBSD.org> | 2005-09-07 23:33:26 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2005-09-07 23:33:26 +0000 |
| commit | d2bd3ab995038214fa00f73d4a88cd891d0afe34 (patch) | |
| tree | 727ffd4f8e1895bfb48b086e91d000cbf2ee8fb5 /sys/modules/hptmv | |
| parent | 8d5d6a36cd09793e4ee874132ba3b0a3301d3169 (diff) | |
Notes
Diffstat (limited to 'sys/modules/hptmv')
| -rw-r--r-- | sys/modules/hptmv/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/sys/modules/hptmv/Makefile b/sys/modules/hptmv/Makefile index 29c2e25a28c7..05ceac7bb1f6 100644 --- a/sys/modules/hptmv/Makefile +++ b/sys/modules/hptmv/Makefile @@ -1,6 +1,6 @@ # # Makefile for RR182x FreeBSD driver -# Copyright (c) 2003-2004 HighPoint Technologies, Inc. All rights reserved +# Copyright (c) 2004-2005 HighPoint Technologies, Inc. All rights reserved # # $FreeBSD$ @@ -10,12 +10,17 @@ HPTMV= ${.CURDIR}/../../dev/hptmv KMOD= hptmv SRCS= opt_scsi.h opt_cam.h SRCS+= bus_if.h device_if.h pci_if.h -SRCS+= mv.c entry.c -SRCS+= ioctl.c hptproc.c gui_lib.c +SRCS+= mv.c entry.c ioctl.c hptproc.c gui_lib.c OBJS+= hptmvraid.o -hptmvraid.o: ${HPTMV}/i386-elf.raid.o.uu - uudecode -p < ${HPTMV}/i386-elf.raid.o.uu > ${.TARGET} +.if $(MACHINE_ARCH) == "amd64" +HPTMV_RAID_O = amd64-elf.raid.o.uu +.else +HPTMV_RAID_O = i386-elf.raid.o.uu +.endif + +hptmvraid.o: ${HPTMV}/$(HPTMV_RAID_O) + uudecode -p < ${HPTMV}/$(HPTMV_RAID_O) > ${.TARGET} # # Debug Options: @@ -42,6 +47,6 @@ DEBUGOPT += -DDEBUG_LEVEL=1 DEBUGOPT += -DFOR_DEMO .endif -CFLAGS+= ${DEBUGOPT} - +CFLAGS = ${DEBUGOPT} + .include <bsd.kmod.mk> |
