mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
1eed250ad8
on variables read out of raw kld files. Unlike other platforms the value will be in an Elf_Rela, not in the data section of the elf file. Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> PR: 46730 Tested on: alpha (obrien), i386, sparc64
15 lines
188 B
Makefile
15 lines
188 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= kldxref
|
|
SRCS= kldxref.c ef.c
|
|
WARNS?= 2
|
|
MAN= kldxref.8
|
|
|
|
.if exists(ef_${MACHINE_ARCH}.c)
|
|
SRCS+= ef_${MACHINE_ARCH}.c
|
|
.else
|
|
SRCS+= ef_nop.c
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|