Correctly prefix the infiniband include directory for buildworld. This fixes
the OFED buildworld target, WITH_OFED=YES, when the include files are not already installed locally, but only in the temporary object directory. Found by: kib Sponsored by: Mellanox Technologies
This commit is contained in:
parent
69097cd8da
commit
be28698cf2
@ -4,7 +4,7 @@
|
||||
|
||||
BINDIR?= /usr/bin
|
||||
SRCS+= ibdiag_common.c ibdiag_sa.c
|
||||
CFLAGS+= -I${INCLUDEDIR}/infiniband
|
||||
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
||||
CFLAGS+= -DHAVE_CONFIG_H=1
|
||||
CFLAGS+= -I${.CURDIR}/../../
|
||||
CFLAGS+= -I${.CURDIR}/../../src
|
||||
|
@ -27,7 +27,7 @@ ibnd_show_progress.3
|
||||
LIBADD= osmcomp ibmad ibumad
|
||||
CFLAGS+= -DHAVE_CONFIG_H=1
|
||||
CFLAGS+= -I${.CURDIR}
|
||||
CFLAGS+= -I${INCLUDEDIR}/infiniband
|
||||
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
||||
VERSION_MAP= ${.CURDIR}/libibnetdisc.map
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -27,7 +27,7 @@ cl_vector.c \
|
||||
ib_statustext.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/.. -DHAVE_CONFIG_H=1
|
||||
CFLAGS+= -I${INCLUDEDIR}/infiniband
|
||||
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
||||
LIBADD= pthread
|
||||
VERSION_MAP= ${.CURDIR}/libosmcomp.map
|
||||
|
||||
|
@ -14,7 +14,7 @@ osm_helper.c
|
||||
|
||||
LIBADD= pthread
|
||||
CFLAGS+= -I${.CURDIR}/.. -DHAVE_CONFIG_H=1
|
||||
CFLAGS+= -I${INCLUDEDIR}/infiniband
|
||||
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
||||
VERSION_MAP= ${.CURDIR}/../opensm/libopensm.map
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -13,7 +13,7 @@ osm_vendor_ibumad_sa.c
|
||||
|
||||
LIBADD= ibumad pthread
|
||||
CFLAGS+= -I${.CURDIR}/.. -DHAVE_CONFIG_H=1
|
||||
CFLAGS+= -I${INCLUDEDIR}/infiniband
|
||||
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
||||
VERSION_MAP= ${.CURDIR}/libosmvendor.map
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -95,7 +95,7 @@ st.c
|
||||
|
||||
MAN= opensm.8
|
||||
CFLAGS+= -I${.CURDIR}/.. -DHAVE_CONFIG_H=1
|
||||
CFLAGS+= -I${INCLUDEDIR}/infiniband
|
||||
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
||||
LIBADD= opensm osmvendor osmcomp wrap pthread
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user