diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-11-18 21:37:46 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-11-18 21:37:46 +0000 |
commit | 20f680588aaaa700e9a2281a1ca3204581af409b (patch) | |
tree | 644588602962371bb16c989530d000d56d254153 | |
parent | a5cb58abc8c383d45032cb12e3f93691e4442a03 (diff) | |
download | src-20f680588aaaa700e9a2281a1ca3204581af409b.tar.gz src-20f680588aaaa700e9a2281a1ca3204581af409b.zip |
Remove unneeded libmd from bootstrap-tools (reverting r246784).
The bootstrap-tools are supposed to be host tools, which in most cases, use
host headers and libraries. As such, directly including the src tree's headers
for libmd here causes the need to link libmd in since it will be built with
the new symbols (which /usr/lib/libmd.so) won't have unless it is new enough.
During the target build in buildworld the target headers are staged into
WORLDTMP and used via --sysroot, allowing the target xinstall to be built with
the new/target libmd.
The .PATH here was also not doing anything since xinstall does not use libmd
source files.
Sponsored by: EMC / Isilon Storage Division
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=291026
-rw-r--r-- | Makefile.inc1 | 4 | ||||
-rw-r--r-- | usr.bin/xinstall/Makefile | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index d9f01be97e47..cc48d208e35d 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1458,9 +1458,6 @@ ${_bt}-usr.bin/mandoc: ${_bt}-lib/libopenbsd ${_bt}-lib/libsqlite3 _makewhatis=usr.bin/makewhatis .endif -# Rebuild up-to-date libmd for xinstall -${_bt}-usr.bin/xinstall: ${_bt}-lib/libmd - bootstrap-tools: .PHONY # Please document (add comment) why something is in 'bootstrap-tools'. @@ -1483,7 +1480,6 @@ bootstrap-tools: .PHONY ${_yacc} \ ${_m4} \ ${_lex} \ - lib/libmd \ usr.bin/xinstall \ ${_gensnmptree} \ usr.sbin/config \ diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile index 1d3927321f25..c1056b5ad7b6 100644 --- a/usr.bin/xinstall/Makefile +++ b/usr.bin/xinstall/Makefile @@ -7,10 +7,8 @@ SRCS= xinstall.c getid.c MAN= install.1 .PATH: ${.CURDIR}/../../contrib/mtree -.PATH: ${.CURDIR}/../../lib/libmd CFLAGS+= -I${.CURDIR}/../../contrib/mtree CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd -CFLAGS+= -I${.CURDIR}/../../lib/libmd LIBADD= md |