hptmv: use .o files directly

uudecode the .o.uu files and commit directly to the tree. Adjust the build
infrastructure to cope with the new location, both for the kernel and modules.

Sposnored by:           Netflix, Inc
Differential Revision:	https://reviews.freebsd.org/D29635
This commit is contained in:
Warner Losh 2021-04-12 13:41:20 -06:00
parent 550cb4ab85
commit fddb3f4d7d
6 changed files with 2 additions and 3382 deletions

View File

@ -99,10 +99,7 @@ dev/hptmv/mv.c optional hptmv
dev/hptmv/gui_lib.c optional hptmv
dev/hptmv/hptproc.c optional hptmv
dev/hptmv/ioctl.c optional hptmv
hptmvraid.o optional hptmv \
dependency "$S/dev/hptmv/$M-elf.raid.o.uu" \
compile-with "uudecode < $S/dev/hptmv/$M-elf.raid.o.uu" \
no-implicit-rule
dev/hptmv/$M-elf.hptmvraid.o optional hptmv
dev/hptnr/hptnr_os_bsd.c optional hptnr
dev/hptnr/hptnr_osm_bsd.c optional hptnr
dev/hptnr/hptnr_config.c optional hptnr

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -11,10 +11,7 @@ KMOD= hptmv
SRCS= opt_scsi.h opt_cam.h
SRCS+= bus_if.h device_if.h pci_if.h
SRCS+= mv.c entry.c ioctl.c hptproc.c gui_lib.c
OBJS+= hptmvraid.o
hptmvraid.o:
uudecode -p < ${HPTMV}/${MACHINE_CPUARCH}-elf.raid.o.uu > ${.TARGET}
OBJS+= ${HPTMV}/${MACHINE_CPUARCH}-elf.hptmvraid.o
#
# Debug Options: