2137 Commits

Author SHA1 Message Date
dim
9f5c1c1611 Merge ^/head r275478 through r275622. 2014-12-08 19:56:34 +00:00
ngie
1e1cda063a The previous commit should have been a logical or not a logical "and"
Pointyhat to: me
2014-12-08 03:32:26 +00:00
ngie
20ef381e2c ${CC} --version doesn't need to be queried if both COMPILER_TYPE and
COMPILER_VERSION are known
2014-12-08 03:30:42 +00:00
ngie
25599c5ea6 Fix typos in comments and wrap to <80 columns
MFC after: 3 days
2014-12-06 03:15:46 +00:00
dim
5d679d6127 Merge ^/head r275387 through r275477. 2014-12-04 17:38:32 +00:00
rpaulo
5f6f4d17d5 Switch gpioctl(8) to LIBADD. 2014-12-03 03:05:15 +00:00
dim
ae94017be3 Merge ^/head r274961 through r275386. 2014-12-02 01:45:04 +00:00
andrew
fb471684a4 Set the correct architecture when targeting ARMv7
MFC after:	1 Week
Sponsored by:	ABT Systems Ltd
2014-12-01 21:07:36 +00:00
emaste
c79f6538fe Build infrastructure for elftoolchain tools
Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version
of the following tools:

 * addr2line
 * elfcopy (strip / mcs)
 * nm
 * size
 * strings

Reviewed by:	bapt (earlier version)
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1224
2014-12-01 17:49:42 +00:00
sjg
c27f1225d3 Add STALE_STAGED as default no 2014-11-30 18:51:10 +00:00
sjg
f7ea95e7a3 Renamed pkgs/ targets/ 2014-11-30 18:45:46 +00:00
dim
409c2db38e Merge ^/head r274961 through r275261. 2014-11-29 18:44:52 +00:00
bapt
7d08b91413 Update libucl to latest version
While here correctly link libucl to libm and register the dependency on libm
for static building
2014-11-29 00:45:09 +00:00
dim
5340ca17ab After some horrible wrestling with Subversion's worthless merge
implementation, merge ^/head r275078 through r275117.

Note that all the extraneous mergeinfo is there because Subversion
created it.  I'll hopefully be able to remove it again when merging back
to head.
2014-11-26 14:36:04 +00:00
bapt
64307db9da Remove MINUSLPAM the LIBADD framework handles static dependencies just fine 2014-11-26 08:14:30 +00:00
bapt
61934d405e Remove all remnant ugly LD<lbname> but atf one until the aft framework knows
about LIBADD
2014-11-25 22:39:59 +00:00
bapt
c9bc0f390a Register the explicit (pthread) and implicit (for static) dependencies for
kerberos
2014-11-25 22:17:31 +00:00
bapt
e6e4fe6290 Defines the libssh dependencies 2014-11-25 22:10:31 +00:00
dim
cb8fb3ea0e r274961 through r275075 2014-11-25 21:43:01 +00:00
bapt
84381fd977 Define missing libraries to be able to convert gnu, cddl and secure to LIBADD 2014-11-25 21:16:44 +00:00
bapt
db759d1bdf Sort libraries definitions
Reported by:	bjk
2014-11-25 19:13:03 +00:00
bapt
6f08abd4bf Remove duplicated krb5
Reported by:	markj
2014-11-25 19:07:31 +00:00
bapt
8d6e0e65e9 Defined the needed library to convert usr.sbin to LIBADD 2014-11-25 16:51:06 +00:00
bapt
f28badddf7 Defines all the libraries needed for usr.bin 2014-11-25 14:28:15 +00:00
bapt
b3accf4c8d Define libipf internal library 2014-11-25 11:22:28 +00:00
bapt
ae45ae3f5d Fix recursive problem with libedit dependency, if you depends on ncursesw and
not on itself
2014-11-25 11:14:42 +00:00
bapt
079f78008e Add a definition for libxo 2014-11-25 11:13:21 +00:00
bapt
1578ed600d Define compiler_rt and ssp_nonshared libraries 2014-11-25 11:07:03 +00:00
bapt
b4ca360a6a libvers and libsl are internal libraries 2014-11-25 09:54:05 +00:00
bapt
83f6d12d65 Fix make depends with libnetbsd 2014-11-25 07:47:44 +00:00
bapt
e4945ec8a7 Add definitions of kerberos libraries 2014-11-25 07:13:31 +00:00
bapt
c4b2ced73a libevent is an internallib 2014-11-25 00:51:49 +00:00
bapt
725b0cc6ad libatf-c++ exposes libatf-c abi hence we need to explicit link to atf-c if
atf-c++ is requested
2014-11-25 00:28:27 +00:00
bapt
90830dd774 Do not overwrite any LIBNETBSD or LIBNETBSDDIR if they are already defined 2014-11-25 00:12:25 +00:00
bapt
85691d217f Define special case for atf which libraries names are different from their
declaration
2014-11-25 00:01:53 +00:00
bapt
a37123107a s/cft/ctf 2014-11-24 23:58:04 +00:00
bapt
a1d4ad2ea5 Fix typo 2014-11-24 22:35:32 +00:00
bapt
8ed8af5371 Fix dependencies in case of building statically 2014-11-24 22:32:18 +00:00
bapt
7dd9bdfec2 Avoid code duplication by directly adding _INSTALLLIBS and _PRIVATELIBS into
_LIBRARIES

Reported by:	emaste
2014-11-24 22:29:16 +00:00
bapt
c3b71dffc5 Each time something links to sqlite3 it should link to pthread 2014-11-24 22:17:35 +00:00
bapt
622c9ffcdd Convert makefs to LIBADD
Add definition of libnetbsd in src.libnames.mk
2014-11-24 22:15:30 +00:00
bapt
b6c4c21b20 Convert mandoc to LIBADD
While here remove the ugly LDMANDOC
2014-11-24 22:12:27 +00:00
rpaulo
7b5aae7235 Import libgpio.
This is a thin wrapper around the kernel interface which should make
it easier to write GPIO applications.  gpioctl(8) will be converted to
use this library in a separate commit.

Differential Revision:	https://reviews.freebsd.org/D1183
Reviewed by:	adrian, loos
Discussed on:	arm@, embedded@
Relnotes:	yes
2014-11-24 21:49:40 +00:00
bapt
25f80d6440 Correctly specify -L for internal and private libs 2014-11-24 21:39:28 +00:00
bapt
08748cc9a2 Implement LIBADD
LIBADD will automatically set DPADD and LDADD when needed including their
dependencies, LIBADD automatically handles private and internal libs so that
the end user Makefile does not have to care about it.

This allows to reduce overlinking on the base system leaving the framework get
the dependencies properly.

It also allows to built components binaries statically.

To use it:

Replace:
DPADD=	${LIBARCHIVE} ${LIBSSL}
LDADD=	-larchive -lssl

by:
LIBADD=	archive ssl

Differential Revision:	https://reviews.freebsd.org/D1209
Reviewed by:	brooks imp
2014-11-24 21:31:08 +00:00
dim
ba7b406198 Ensure boot2 stays below the limit, by applying a patch from Roman
Divacky which shrinks the code, and by using the custom llvm option to
disable the Global Value Numbering optimization pass.
2014-11-24 20:01:05 +00:00
bapt
1788e4e636 Define LIBSQLITE3 and LIBMANDOC 2014-11-22 21:03:05 +00:00
bapt
5c2d026506 Enforce -lpthread and -lc to always be the 2 last components of the link list
Differential Revision:	https://reviews.freebsd.org/D1118
Suggested by:		kib
2014-11-22 12:48:09 +00:00
sjg
6eebbc6808 Use latest version 2014-11-21 19:56:27 +00:00
rodrigc
950efd121d Make MLINKS text match text in bsd.man.mk added by wosch@ in 1996. 2014-11-21 17:55:38 +00:00