hptrr: Move to using .o files

Use .o files directly. Replace the .o.uu files that we uudecode with .o files.
Adjust the kernel and module build to cope.

Suggestions by:		markj@, emaste@
Sposnored by:           Netflix, Inc
Differential Revision:	https://reviews.freebsd.org/D29636
This commit is contained in:
Warner Losh 2021-04-12 13:41:25 -06:00
parent fddb3f4d7d
commit 662053e8dc
6 changed files with 2 additions and 22459 deletions

View File

@ -107,10 +107,7 @@ 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
hptrr_lib.o optional hptrr \
dependency "$S/dev/hptrr/$M-elf.hptrr_lib.o.uu" \
compile-with "uudecode < $S/dev/hptrr/$M-elf.hptrr_lib.o.uu" \
no-implicit-rule
dev/hptrr/$M-elf.hptrr_lib.o optional hptrr
dev/hwpmc/hwpmc_amd.c optional hwpmc
dev/hwpmc/hwpmc_intel.c optional hwpmc
dev/hwpmc/hwpmc_core.c optional hwpmc

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 @@ HPTRR= ${SRCTOP}/sys/dev/hptrr
KMOD = hptrr
SRCS = opt_scsi.h opt_cam.h bus_if.h device_if.h pci_if.h os_bsd.h
SRCS+= hptrr_os_bsd.c hptrr_osm_bsd.c hptrr_config.c
OBJS = hptrr_lib.o
hptrr_lib.o:
uudecode -p < ${HPTRR}/$(MACHINE_CPUARCH)-elf.hptrr_lib.o.uu > hptrr_lib.o
OBJS = ${HPTRR}/${MACHINE_CPUARCH}-elf.hptrr_lib.o
.include <bsd.kmod.mk>