hptnr: Store the .o files directly in the repo

We no longer need to use uuencode to uuencode files in our tree.  Store the .o
file directly instead. Adjust the build to cope with the new arrangement.

Suggestions by:		emaste, bz, donner
Reviewed by:		markm
Sposnored by:		Netflix, Inc
Differential Revision:	https://reviews.freebsd.org/D29632
This commit is contained in:
Warner Losh 2021-04-12 13:40:43 -06:00
parent eacc27affe
commit 5b20c5e1f8
6 changed files with 2 additions and 18908 deletions

View File

@ -109,10 +109,7 @@ 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
hptnr_lib.o optional hptnr \
dependency "$S/dev/hptnr/$M-elf.hptnr_lib.o.uu" \
compile-with "uudecode < $S/dev/hptnr/$M-elf.hptnr_lib.o.uu" \
no-implicit-rule
dev/hptnr/$M-elf.hptnr_lib.o optional hptnr
dev/hptrr/hptrr_os_bsd.c optional hptrr
dev/hptrr/hptrr_osm_bsd.c optional hptrr
dev/hptrr/hptrr_config.c optional hptrr

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

@ -6,9 +6,6 @@ KMOD= hptnr
SRCS= bus_if.h device_if.h pci_if.h
SRCS+= opt_cam.h opt_scsi.h
SRCS+= os_bsd.h hptnr_os_bsd.c hptnr_osm_bsd.c hptnr_config.c
OBJS+= hptnr_lib.o
hptnr_lib.o:
uudecode -p < ${HPTNR}/${MACHINE_ARCH}-elf.hptnr_lib.o.uu > ${.TARGET}
OBJS+= ${HPTNR}/${MACHINE_ARCH}-elf.hptnr_lib.o
.include <bsd.kmod.mk>