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>
|