svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys/...
Bryan Drewery
bdrewery at FreeBSD.org
Thu Dec 7 01:32:37 UTC 2017
On 12/6/2017 4:53 PM, Hans Petter Selasky wrote:
> It would be nice if these utilities can be built standalone, outside the
> buildworld target aswell. I've suggested adding an "all-install" variant
> to make. Having to kick a buildworld to test-build contrib/ofed is quite
> overkill, and that is some of reasoning behind the current Makefile layout.
This is what buildworld+SUBDIR_OVERRIDE is for. The following patch
also mitigates the need to install libraries for build testing which
I'll commit tomorrow:
> commit 7cce144e821cbf2f4e70711928a8945137700b35 (HEAD -> master)
> Author: Bryan Drewery <bdrewery at FreeBSD.org>
> Date: Wed Dec 6 17:29:57 2017 -0800
>
> Look for libraries in OBJDIR when building outside of buildworld.
>
> This allows build testing more easily without establishing a sysroot
> or installing the files.
>
> Sponsored by: Dell EMC
>
> diff --git share/mk/src.libnames.mk share/mk/src.libnames.mk
> index 2d172197ac53..fdd1a4866620 100644
> --- share/mk/src.libnames.mk
> +++ share/mk/src.libnames.mk
> @@ -359,7 +359,7 @@ LIB${_l:tu}?= ${LIBDESTDIR}${LIBDIR_BASE}/libprivate${_l}.a
> .endfor
>
> .for _l in ${_LIBRARIES}
> -.if ${_INTERNALLIBS:M${_l}}
> +.if ${_INTERNALLIBS:M${_l}} || !defined(SYSROOT)
> LDADD_${_l}_L+= -L${LIB${_l:tu}DIR}
> .endif
> DPADD_${_l}?= ${LIB${_l:tu}}
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20171206/8250d79c/attachment.sig>
More information about the svn-src-all
mailing list