diff options
| author | Xin LI <delphij@FreeBSD.org> | 2005-10-06 18:47:58 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2005-10-06 18:47:58 +0000 |
| commit | 53f5bec08c5419fa69543f30087b47479847f996 (patch) | |
| tree | 16017765b5c2101ee258be5bfd087240d884f56e /sys/modules | |
| parent | b2529c3c2b78b761b01d6411deb40e88433a679c (diff) | |
Notes
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/Makefile | 1 | ||||
| -rw-r--r-- | sys/modules/hptmv/Makefile | 19 |
2 files changed, 13 insertions, 7 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 42a2a4689dfb..e747dd476d43 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -434,6 +434,7 @@ _digi= digi _drm= drm _em= em _ext2fs= ext2fs +_hptmv= hptmv _i2c= i2c _ichwd= ichwd _ida= ida 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> |
