freebsd-nq/usr.bin
Brooks Davis a4330302f2 libcompat: build 32-bit rtld and ldd as part of "everything"
Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included
directly so MD paths in Makefiles work. In the process centralize
setting them in LIBCOMPATWMAKEENV.

Alter .PATH and CFLAGS settings in work when the Makefile is included.

While here only support LIB32 on supported platforms rather than always
enabling it and requiring users of MK_LIB32 to filter based
TARGET/MACHINE_ARCH.

The net effect of this change is to make Makefile.libcompat only build
compatability libraries.

Changes relative to r354449:

Correct detection of the compiler type when bsd.compat.mk is used
outside Makefile.libcompat.  Previously it always matched the clang
case.

Set LDFLAGS including the linker emulation for mips where -m32 seems to
be insufficent.

Reviewed by:	imp, kib (origional version in r354449)
Obtained from:	CheriBSD (conceptually)
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D22251
2019-11-07 22:58:10 +00:00
..
addr2line
alias
apply
ar ar: use more correct size_t type for loop index 2019-09-01 16:51:25 +00:00
asa
at
atm
awk
banner
basename
bc
biff
bluetooth pkgbase: Add a FreeBSD-bluetooth package 2019-07-19 15:10:03 +00:00
bmake
brandelf fileargs_init() sets errno on failure. 2019-11-06 01:42:30 +00:00
bsdcat
bsdiff bspatch: add integer overflow checks 2019-09-26 13:27:25 +00:00
bzip2 Install all bzip2.1 MLINKs from the same place. 2019-08-28 21:01:51 +00:00
bzip2recover Install all bzip2.1 MLINKs from the same place. 2019-08-28 21:01:51 +00:00
c89
c99
caesar
calendar Correct spelling, apply appropriate respect. 2019-10-23 01:11:25 +00:00
cap_mkdb
chat
chkey
chpass
cksum
clang Ensure lld respects the WITH/WITHOUT_SHARED_TOOLCHAIN option 2019-10-16 17:11:18 +00:00
cmp
col
colrm
column
comm
compile_et
compress
cpio There is no SMALLER define anymore here 2019-07-12 05:19:06 +00:00
cpuset Fix an off-by-one bug in the CPU and domain ID parser. 2019-09-01 21:20:31 +00:00
csplit
ctags
ctlstat
cut
cxxfilt
dc Adjust history, info source from v1's manuals 2019-09-04 13:44:46 +00:00
diff
diff3
dirname
dpv pkgbase: Add a FreeBSD-dpv package 2019-07-19 15:10:53 +00:00
drill
dtc dtc: Allow multiple dts-v1 tag 2019-10-26 17:10:27 +00:00
du pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
ee
elf2aout
elfdump
enigma
env Add -0 option to ENV(1) 2019-11-07 17:14:59 +00:00
etdump
expand
factor
false
fetch
file
file2c
find
finger
fmt
fold
fortune
from
fstat Grammar fix. 2019-10-28 21:48:20 +00:00
fsync pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
ftp
gcore gcore: Add powerpc64 32-bit gcore support 2019-10-11 14:17:31 +00:00
gencat
getaddrinfo
getconf
getent
getopt
gprof gprof: disable building of a.out components 2019-08-21 10:54:52 +00:00
grdc Remove remnant from the pre LIBADD era 2019-09-13 14:51:00 +00:00
grep bsdgrep(1): various fixes of empty pattern/exit code/-c behavior 2019-09-25 17:14:43 +00:00
gzip
head fileargs_init() sets errno on failure. 2019-11-06 01:42:30 +00:00
hesinfo
hexdump
host
iconv
id
ident
indent - address missing whitespace for indent 2019-08-29 23:23:12 +00:00
ipcrm
ipcs
iscsictl
join
jot jot.1: Explain default argument values more precisely 2019-09-21 15:01:11 +00:00
kdump sysent: regenerate after r352705 2019-09-25 18:09:19 +00:00
keylogin
keylogout
killall Revert r352953: Convert pnmatch to single element array in regexec calls 2019-10-02 16:08:01 +00:00
ktrace Make it clear what the userland traces are in the ktrace(1) man page. 2019-08-26 10:18:19 +00:00
ktrdump
lam
last last(1): fix style after r351459 2019-08-25 01:05:01 +00:00
lastcomm
ldd
ldd32 libcompat: build 32-bit rtld and ldd as part of "everything" 2019-11-07 22:58:10 +00:00
leave
less
lessecho
lesskey
lex
limits
locale locale: initialize variables to make gcc happy 2019-09-11 16:00:03 +00:00
localedef
locate
lock
lockf
logger
login motd: Generate from template to /var/run 2019-07-20 20:56:31 +00:00
logins
logname
look
lorder
lsvfs
lzmainfo
m4 m4: import from OpenBSD 2019-09-09 15:37:40 +00:00
mail
man
mandoc
mesg
minigzip
ministat Improve the way we calculate variance to reduce the rounding errors 2019-10-18 07:55:01 +00:00
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg
mkstr
mktemp
mkuzip geom_uzip(4), mkuzip(8): Add Zstd image mode 2019-08-13 23:32:56 +00:00
morse
msgs
mt
nc
ncal
netstat Restore description of packets dropped due to full reassembly queue. 2019-10-03 18:24:41 +00:00
newgrp
newkey
nfsstat Fix printing of Server Re-Failed and Server Faults. 2019-07-28 21:44:01 +00:00
nice
nl
nm Capsicumize nm(1). 2019-09-30 17:27:59 +00:00
nohup
number
objcopy
ofed
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
paste
patch patch(1): give /dev/null patches special treatment 2019-11-04 03:07:01 +00:00
pathchk
perror
pom
posixshmcontrol
pr
primes
printenv
printf printf(1): Note that \c only works in %b strings 2019-07-29 20:43:07 +00:00
proccontrol Add stackgap control mode to proccontrol(1). 2019-09-03 18:58:48 +00:00
procstat Remove IS_INADDR_ANY(). 2019-10-19 19:38:53 +00:00
protect
quota Add a workaround for servers which respond RPC_PROGNOTREGISTERED 2019-09-21 00:17:40 +00:00
random
rctl
readelf Capsicumize readelf(1). 2019-08-01 18:57:08 +00:00
renice
resizewin
rev
revoke
rpcgen rpcgen: make compiler arglist allocation dynamic 2019-10-15 16:05:17 +00:00
rpcinfo
rs
rup
ruptime
rusers
rwall
rwho
script
sdiff
sdiotool
sed pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
seq
setchannel
shar
showmount
size Capsicumize size(1). 2019-08-01 18:57:37 +00:00
smbutil
sockstat
soelim
sort Adjust history, info source from v1's manuals 2019-09-04 13:44:46 +00:00
split Revert r352953: Convert pnmatch to single element array in regexec calls 2019-10-02 16:08:01 +00:00
ssh-copy-id
stat
stdbuf
strings
su
svn
systat
tabs
tail fileargs_init() sets errno on failure. 2019-11-06 01:42:30 +00:00
talk
tar pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
tcopy
tee
telnet Remove all the RELEASE_CRUNCH instances that partially disable IPSEC 2019-07-15 14:19:39 +00:00
tests
tftp tftp: fix two minor Coverity CIDs 2019-10-03 20:22:25 +00:00
time
timeout
tip Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
top Allow entering fractional delays in top(1) interactive mode. 2019-09-27 20:53:31 +00:00
touch
tput
tr
true
truncate
truss truss: centralize pointer-constructing casts. 2019-10-31 22:29:13 +00:00
tset
tsort
tty
ul
uname pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
unexpand
unifdef
uniq
units
unvis
unzip
usbhidaction
usbhidctl Include item position in report descriptor dump in usbhidctl(1). 2019-08-17 08:29:22 +00:00
users
uudecode
uuencode
vacation
vgrind
vi Remove RELEASE_CRUNCH here 2019-07-19 20:04:31 +00:00
vis
vmstat Fix column title alignment. 2019-10-29 20:28:02 +00:00
vtfontcvt vtfontcvt: simplify rshift_row 2019-08-23 16:03:23 +00:00
w Fix address annotation in xml output from w 2019-08-29 02:44:18 +00:00
wall
wc
what pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
whereis
which
who
whois Update RFC references in the whois(1) man page. 2019-08-08 21:15:02 +00:00
write
xargs
xinstall install.1: Add missing arguments to option descriptions 2019-08-12 10:57:56 +00:00
xo
xohtml Import libxo-1.3.1: 2019-11-07 18:06:44 +00:00
xolint
xopo
xstr
xz
xzdec
yacc
yes
ypcat
ypmatch
ypwhich
zstd
Makefile libcompat: build 32-bit rtld and ldd as part of "everything" 2019-11-07 22:58:10 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64