summaryrefslogtreecommitdiffstats
path: root/sys/modules/hpt27xx/Makefile
blob: 883229b10212472eee0f78e81fd573485fe60eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $FreeBSD$
HPT27XX=	${.CURDIR}/../../dev/hpt27xx
.PATH:	${HPT27XX}

KMOD=	hpt27xx
SRCS=	bus_if.h device_if.h pci_if.h
SRCS+=	opt_cam.h opt_scsi.h
SRCS+=	os_bsd.h os_bsd.c osm_bsd.c hpt27xx_config.c
OBJS+=	hpt27xx_lib.o

hpt27xx_lib.o:
	uudecode -p < ${HPT27XX}/$(MACHINE_ARCH)-elf.hpt27xx_lib.o.uu > ${.TARGET}

.include <bsd.kmod.mk>

CWARNFLAGS.osm_bsd.c=	${NO_WFORMAT_SECURITY}
CWARNFLAGS+=		${CWARNFLAGS.${.IMPSRC:T}}
OpenPOWER on IntegriCloud