hpt27xx: store the .o files directly in the tree

Store the .o files directly in the tree. We no longer need to play uuencode
games like we did in the CVS days. Adjust the build infrastructure to match.

Reviewed by:            markj@
Sposnored by:           Netflix, Inc
Differential Revision:	https://reviews.freebsd.org/D29634
This commit is contained in:
Warner Losh 2021-04-12 13:41:14 -06:00
parent 5b20c5e1f8
commit 550cb4ab85
6 changed files with 2 additions and 43320 deletions

View File

@ -93,10 +93,7 @@ dev/gpio/chvgpio.c optional chvgpio
dev/hpt27xx/hpt27xx_os_bsd.c optional hpt27xx
dev/hpt27xx/hpt27xx_osm_bsd.c optional hpt27xx
dev/hpt27xx/hpt27xx_config.c optional hpt27xx
hpt27xx_lib.o optional hpt27xx \
dependency "$S/dev/hpt27xx/$M-elf.hpt27xx_lib.o.uu" \
compile-with "uudecode < $S/dev/hpt27xx/$M-elf.hpt27xx_lib.o.uu" \
no-implicit-rule
dev/hpt27xx/$M-elf.hpt27xx_lib.o optional hpt27xx
dev/hptmv/entry.c optional hptmv
dev/hptmv/mv.c optional hptmv
dev/hptmv/gui_lib.c optional hptmv

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= hpt27xx
SRCS= bus_if.h device_if.h pci_if.h
SRCS+= opt_cam.h opt_scsi.h
SRCS+= os_bsd.h hpt27xx_os_bsd.c hpt27xx_osm_bsd.c hpt27xx_config.c
OBJS+= hpt27xx_lib.o
hpt27xx_lib.o:
uudecode -p < ${HPT27XX}/$(MACHINE_ARCH)-elf.hpt27xx_lib.o.uu > ${.TARGET}
OBJS+= ${HPT27XX}/$(MACHINE_ARCH)-elf.hpt27xx_lib.o
.include <bsd.kmod.mk>