Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/hptnr/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
HPTNR= ${SRCTOP}/sys/dev/hptnr | HPTNR= ${SRCTOP}/sys/dev/hptnr | ||||
.PATH: ${HPTNR} | .PATH: ${HPTNR} | ||||
KMOD= hptnr | KMOD= hptnr | ||||
SRCS= bus_if.h device_if.h pci_if.h | SRCS= bus_if.h device_if.h pci_if.h | ||||
SRCS+= opt_cam.h opt_scsi.h | SRCS+= opt_cam.h opt_scsi.h | ||||
SRCS+= os_bsd.h hptnr_os_bsd.c hptnr_osm_bsd.c hptnr_config.c | SRCS+= os_bsd.h hptnr_os_bsd.c hptnr_osm_bsd.c hptnr_config.c | ||||
OBJS+= hptnr_lib.o | OBJS+= ${HPTNR}/${MACHINE_ARCH}-elf.hptnr_lib.o | ||||
hptnr_lib.o: | |||||
uudecode -p < ${HPTNR}/${MACHINE_ARCH}-elf.hptnr_lib.o.uu > ${.TARGET} | |||||
emaste: Can we just do `OBJS+=${MACHINE_ARCH}-elf.hptnr_lib.o`? | |||||
Done Inline Actions${.SRCDIR} vs ${.OBJDIR} issues? I've not checked on this detail, though. imp: ${.SRCDIR} vs ${.OBJDIR} issues? I've not checked on this detail, though.
| |||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> |
Can we just do OBJS+=${MACHINE_ARCH}-elf.hptnr_lib.o?