mirror of
https://github.com/opnsense/src.git
synced 2026-06-07 07:42:26 -04:00
Previously, a NULL pointer value was used to request the root0 device at the top of the device tree. However, this meant that resource ranges from a rman with a NULL device pointer were annotated as being owned by root0 instead of being unowned. Switch to a different value for root0's sentinel to avoid the clash. Since this is an ABI change, bump the SHLIB_MAJOR for libdevinfo to 7. Reported by: jrtc27 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D48675
21 lines
522 B
Makefile
21 lines
522 B
Makefile
PACKAGE= devmatch
|
|
LIB= devinfo
|
|
SRCS= devinfo.c
|
|
INCS= devinfo.h
|
|
MAN= devinfo.3
|
|
|
|
MLINKS+=devinfo.3 devinfo_init.3
|
|
MLINKS+=devinfo.3 devinfo_free.3
|
|
MLINKS+=devinfo.3 devinfo_handle_to_device.3
|
|
MLINKS+=devinfo.3 devinfo_handle_to_resource.3
|
|
MLINKS+=devinfo.3 devinfo_handle_to_rman.3
|
|
MLINKS+=devinfo.3 devinfo_foreach_device_child.3
|
|
MLINKS+=devinfo.3 devinfo_foreach_device_resource.3
|
|
MLINKS+=devinfo.3 devinfo_foreach_rman_resource.3
|
|
MLINKS+=devinfo.3 devinfo_foreach_rman.3
|
|
|
|
SHLIB_MAJOR= 7
|
|
|
|
WARNS?= 3
|
|
|
|
.include <bsd.lib.mk>
|