mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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:
parent
fddb3f4d7d
commit
662053e8dc
|
@ -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
|
||||
|
|
BIN
sys/dev/hptrr/amd64-elf.hptrr_lib.o
Normal file
BIN
sys/dev/hptrr/amd64-elf.hptrr_lib.o
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
sys/dev/hptrr/i386-elf.hptrr_lib.o
Normal file
BIN
sys/dev/hptrr/i386-elf.hptrr_lib.o
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue