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:
parent
eacc27affe
commit
5b20c5e1f8
@ -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
|
||||
|
BIN
sys/dev/hptnr/amd64-elf.hptnr_lib.o
Normal file
BIN
sys/dev/hptnr/amd64-elf.hptnr_lib.o
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
sys/dev/hptnr/i386-elf.hptnr_lib.o
Normal file
BIN
sys/dev/hptnr/i386-elf.hptnr_lib.o
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user