summaryrefslogtreecommitdiff
path: root/share/mk
AgeCommit message (Collapse)Author
2019-11-15libusb was renamed to libusbhid in 2001 but the old DPADD var name wasJonathan Gray
kept. Rename LIBUSB to LIBUSBHID as there is only one LIBUSB use and many more attempts to refer to LIBUSBHID.
2019-11-14add LIBCBOR and LIBFIDO2Jonathan Gray
2019-09-06disable base-gcc on armv7, sets from deraadt@; ok deraadt@ kettenis@ jca@Christian Weisgerber
2019-08-27disable base-gcc on i386, from daniel@, ok deraadtStuart Henderson
2019-08-10move to 6.6-betaTheo de Raadt
2019-07-01Switch the default compiler on octeon to clang.Visa Hankala
OK deraadt@
2019-06-17add REGRESS_EXPECTED_FAILURES variable,Marc Espie
for those tests that are expected to fail because they're not yet implemented. okay bluhm@
2019-06-15simplify cleanup handlingMarc Espie
okay bluhm@
2019-06-11make things slightly less insane:Marc Espie
- actually use the ERRORS framework for REGRESS_LOG - put it at end of file, as best working (years of practice on bsd.port.mk) - actually use .SILENT - fix REGRESS_IGNORE_FAIL. Don't put a - in front of lines, but just don't error out as false on FAILED tests. This finally allows ^C to actually interrupt a testsuite. - add one missing .PHONY (quite a few more for later) okay bluhm@
2019-05-14Remove the REGRESS_MAXTIME feature from regress framework. TheAlexander Bluhm
timeout based on CPU seconds is pretty useless, most hanging tests sleep and do not spin. The timeout could not be distinguished from failure. Only 3 tests used it. OK anton@ schwarze@ cheloha@ otto@
2019-04-21Build clang on powerpc.Mark Kettenis
ok deraadt@
2019-04-17Switch powerpc to big PIC. This is necessary to build libc++abi and libc++Mark Kettenis
since clang doesn't seem to support secure-plt for small pic. ok deraadt@, millert@
2019-04-02libLLVM.a is no longer installedJonathan Gray
2019-04-02new variable NOLIBSTATIC= prevents installation of a static library,Theo de Raadt
in cases where you don't want it installed, or it isn't built. ok jsg
2019-04-02Remove commented-out historical ranlib operation, which would beTheo de Raadt
duplicate work.
2019-04-02only static libraries undergo ranlinkTheo de Raadt
2019-04-01aarch64 also uses PIE by default, make ${NOPIE*} flags availableJeremie Courreges-Anglas
Might help speed up parts like base-clang. Also, better be consistent. ok kettenis@ deraadt@
2019-03-05add libLLVMJonathan Gray
2019-02-26crank to 6.5-betaTheo de Raadt
2019-02-24Remove -S from install commandskn
As of usr.bin/xinstall/install.c revision 1.68, -S is a no-op and install(1) will always create files safely, thus clean the option usage from the tree. Diff from Lauri Tirkkonen <lotheac at iki dot fi>, thanks.
2019-02-20when building syspatches with lld exclude more non-existent object filesRobert Nagy
ok ajacoutot@, tb@
2019-02-11During build, delete all old library relink files to save disk space.Theo de Raadt
It is not typical for "make build" to do pruning of the base system, but ... not sure where else we can do this ok kettenis
2019-02-07add LIBELFJonathan Gray
2019-01-28Switch i386 to use lld as the default linker.Christian Weisgerber
ok deraadt@
2018-12-30Define SOLIB when assembling for a shared-object libraryPhilip Guenther
ok tedu@
2018-12-03If a regress uses REGRESS_SKIP_TARGETS to skip part of its tests,Alexander Bluhm
print SKIPPED. This helps to detect such incomplete tests. OK anton@
2018-11-11Build clang on mips64.Visa Hankala
OK deraadt@
2018-11-08Do not pass -fno-pie to the compiler on mips64. It has no effectVisa Hankala
with base gcc, whereas with clang it causes an error. Suggested by and OK kettenis@
2018-10-22Switch amd64 to use lld as the default linker.Christian Weisgerber
ok kettenis@ deraadt@
2018-10-18Ensure that the install media are built with a consistent set ofChristian Weisgerber
compiler flags. Pass DIST_CFLAGS from the crunchgen-generated .mk file. Compile the install media with -fno-unwind-tables to avoid emitting .eh_frame sections. This saves substantial space on amd64. with/ok kettenis@
2018-10-05Add regress variable to run setup once for all tests.Alexander Bluhm
OK anton@ benno@
2018-09-26Add variables for setup and cleanup of regression tests.Alexander Bluhm
OK anton@ jca@ tb@ benno@
2018-08-10crank to 6.4-betaTheo de Raadt
2018-07-26Add infrastructure to install lld as the default linker. The old GNU linkerMark Kettenis
will be installed as /usr/bin/ld.bfd on supported systems. This allows users to fall back on the old linker by using the -fuse-ld=bfd option on systems where lld is the default linker. Switch armv7 to use lld as the default linker. On arm64 we already use lld as the default linker. Other platforms will keep using the GNU linker for now. ok patrick@, deraadt@, phessler@
2018-06-06Add RETGUARD to clang for amd64. This security mechanism uses per-functionmortimer
random cookies to protect access to function return instructions, with the effect that the integrity of the return address is protected, and function return instructions are harder to use in ROP gadgets. On function entry the return address is combined with a per-function random cookie and stored in the stack frame. The integrity of this value is verified before function return, and if this check fails, the program aborts. In this way RETGUARD is an improved stack protector, since the cookies are per-function. The verification routine is constructed such that the binary space immediately before each ret instruction is padded with int03 instructions, which makes these return instructions difficult to use in ROP gadgets. In the kernel, this has the effect of removing approximately 50% of total ROP gadgets, and 15% of unique ROP gadgets compared to the 6.3 release kernel. Function epilogues are essentially gadget free, leaving only the polymorphic gadgets that result from jumping into the instruction stream partway through other instructions. Work to remove these gadgets will continue through other mechanisms. Remaining work includes adding this mechanism to assembly routines, which must be done by hand. Many thanks to all those who helped test and provide feedback, especially deaadt, tb, espie and naddy. ok deraadt@
2018-02-28move to 6.3-betaTheo de Raadt
2018-01-19Build clang on sparc64.Mark Kettenis
ok deraadt@
2018-01-19Switch the default compiler on armv7 to clang.Mark Kettenis
ok patrick@
2018-01-15We have no deprecated regress variables in our tree. Remove theAlexander Bluhm
compatibility layer.
2017-11-14Set soname when building shared libraries.Mark Kettenis
ok guenther@
2017-11-05Consolidate lib.so.*.a, ld.so.a and the kernel relink kit intoRobert Peichaer
one location under /usr/share/relink. Be more specific in src/etc/rc reorder_libs() what filesystems need r/w remount and ensure that their mount state is restored. Idea and positive feedback from deraadt@ OK aja@ tb@
2017-10-26Build clang on armv7.Mark Kettenis
ok jsg@, patrick@, deraadt@
2017-10-17remove the remaining references to .depend files since nothing creates themChristian Weisgerber
any longer; ok espie@ deraadt@
2017-08-20crank to 6.2-betaTheo de Raadt
2017-08-12Let DFLAGS been added to by the per-directory MakefilePhilip Guenther
ok espie@
2017-08-09switch the order of substitutions for syspatch object file order to avoidRobert Nagy
deleting ../ in the path
2017-07-26switch the default compiler on amd64 and i386 to clang,Robert Nagy
but keep gcc4 in the build for these as well ok deraadt@
2017-07-25convert one more -Os -> -OzTheo de Raadt
2017-07-25change -Os to -Oz all around the treeRobert Nagy
clang optimizes better for size with -Oz so use that as a default to avoid overflowing the ramdisk floppies. gcc now accepts -Oz as an alias for -Os. ok kettenis@
2017-07-21document that usage of .PHONY, since it's not exactly obvious.Marc Espie
okay schwarze@