summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2020-04-05minor cranking of libraries exposes a problem, details too long to explain.Theo de Raadt
Run ldconfig -R after installing base libraries, and once again after installing gnu libraries. ok kettenis
2019-12-21a few depend:-related thingies that were still in.Marc Espie
okay millert@, tb@
2017-07-05bye bye dependsMarc Espie
okay tb@ deraadt@
2017-04-14mark newish phony targets as phony.Marc Espie
okay tb@
2017-01-29Ensure the build user can write to the GLOBAL_AUTOCONF_CACHE file byRobert Peichaer
creating or truncating it with the proper ownership and permissions. OK tb@
2016-11-19Enable builds with a dedicated user that cannot elevate privileges or writeTheo Buehler
to /usr/src or /usr/xenocara. Change /usr/{,x}obj to owner build:wobj with mode 770 and install the systemwide makefiles before starting a build. The root of the noperm fs containing DESTDIR should also be owned by build:wobj. Developers will need to add their users to group wobj to be able to write to /usr/{,x}obj/. "push forward" deraadt; testing, input & ok rpe
2016-10-18Swap 'make cleandir' and 'make includes' for real.Theo Buehler
Should have been part of commitid uHRFWpwUBjIz0UuR. Original message: Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS, and add prereq targets, so some header files are generated by BUILDUSER during 'make prereq' instead of by root during 'make includes'. Switch the order of 'make cleandir' and 'make includes' during 'make build' so we don't generate many files twice. Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now clean from files generated by root during 'make build'. Those will be cleaned up in a second step. help, testing & ok deraadt, input from natano, further testing rpe
2016-10-06Print the root check error message to stderr. While there add the nameMartin Natano
of the target to the message to be more descriptive. ok deraadt tb
2016-10-06Simplify the 'make includes' step in 'make build': move the privdropTheo Buehler
bit up into 'make includes', so the latter benefits from that idiom as well. Sprinkle a few 'exec' while there. ok natano
2016-10-05De-escalate to an unprivileged users during 'make build' and 'make release'.Martin Natano
- If you start make build as root, everything will be run as root. Nothing new here. New is, that you can set BUILDUSER=somebody and the unprived parts will be run as somebody. - If you start make build with sudo, the unprived parts will be run as the real user (meaning YOU). You can still set BUILDUSER=somebody and the uprived parts will run as somebody. - If you start make build as a normal user it will error out. "I'm sorry Dave." Note that DESTDIR must be on partition with the noperm flag set for make release to work correctly as an unprivileged user. idea and ok deraadt input and ok tb ratchov millert rpe, halex and probably others where part of the conversation to make this happen, thanks!
2016-10-04stop supporting SUDO builds. Something better is coming, so let'sTheo de Raadt
align everyone who is using SUDO builds towards the new strategy. ok natano
2015-08-23must make obj in etc as well; the etc.*/Makefile stubs depend upon it.Theo de Raadt
2015-06-02missing " spotted by Kyle MilzTheo de Raadt
2014-08-26Create etc set during 'make build' and embed it in base set to makeRobert Peichaer
it available during a regular install or upgrade so that it doesn't need to be independently fetched. Idea, directions and OK deraadt@ Feedback and Ok halex@ and aja@
2014-07-09do locatedb as part of the build processMarc Espie
"works for me" deraadt@
2014-04-22Remove KERBEROS5 from the Makefiles (except ssh for now, where it isReyk Floeter
already manually disabled). ok deraadt@
2013-07-23enter keberosV/doc to resurrect heimdal.info for real this timeTodd T. Fries
ok deraadt@
2013-06-17switch to new kerberosV directory layoutRobert Nagy
2012-08-29remove ancient cruft.Marc Espie
okay deraadt@
2011-09-17Document proper cross-tools command to run, specially when working on aPaul Irofti
new port. Okay miod@
2011-04-24Head off attempts to do 'make build' with DESTDIR set, as it doesn't workPhilip Guenthe
ok sthen@, deraadt@
2010-03-23install mtree alwaysMarc Espie
okay deraadt@
2005-12-02do not enter lkmTheo de Raadt
2005-09-16use shell-neutral language (in a comment);Jason McIntyre
from ray lai; ok krw@
2005-01-09move cross-stuff into its own file.Marc Espie
okay mickey@, niklas@
2005-01-09Synch with bsd.own.mk: USE_GCC3 is always set now, so we must set it to noMarc Espie
explicitly.
2005-01-09i386 is gcc3 for cross too.Marc Espie
2004-12-25We don't need cross-{nm,size} anymore, our host tools are good enough.Alexander Yurchenko
mickey ok a long time ago.
2004-11-30need to pass MAKEOBJDIR to prereq and includesMichael Shalayeff
2004-10-26match cross-binutils-new selection w/ bsd.own.mk and add hppa64 where neededMichael Shalayeff
2004-10-21Move the cross glue from the root makefile to the toolchain's,Alexander Yurchenko
allowing bulding cross-tools with new binutils and gcc3. ok drahn@ brad@ espie@
2004-10-16cross-nm doesn't need TARGET_MACHINE_ARCH anymore.Alexander Yurchenko
ok mickey@
2004-08-06fix/add sgiPer Fogelstrom
2004-05-03Remove OpenBSD/pegaos, this has been announced before but delayed untilDale Rahn
the tree was stable. No point in code supporting a company which screws its employees being in the OpenBSD tree.
2004-04-21Add luna88k related directories and information to the build infrastructure.Miod Vallat
ok deraadt@, millert@, krw@ - mdoc ok jmc@
2004-03-31repair cross-toolsMichael Shalayeff
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-01- remove sun3Brad Smith
- use "new" ld/gas/etc. for pegasos with cross-compile - reorder arch/machine names in alpha order ok drahn@
2004-01-28amd64 hook upsMichael Shalayeff
2004-01-14add pegasos as a powerpc system for cross-compile targetBrad Smith
ok drahn@
2004-01-05abcomodate cross for the new nm+sizeMichael Shalayeff
2003-12-14Don't go into kerberosV/lib explicitely for now. Nothing to do there.Matthieu Herrb
Ok deraadt@, miod@.
2003-10-05need to escape the quotes in cross-{lib,bin}Michael Shalayeff
2003-10-05need to eval the CROSSENVMichael Shalayeff
2003-05-17Don't build libperl separately in the libs pass, just build it whenTodd C. Miller
we build perl itself. We need perl to run Configure *after* the other libraries are installed, since Configure looks at what symbols exist in libc and the other libs. If anfd when other things in the tree link against libperl we may need to revisit this issue.
2003-05-14Remove krb4 support.Magnus Holmberg
2003-04-17Add i386 to list of archs which use binutils.Dale Rahn
2003-01-05enquote flags and opts in cross-env; reported by david krauseMichael Shalayeff
2002-09-17Prevent the a.out cross-ld from building rtld too early in the build.Miod Vallat
2002-08-16- add cross-distrib target to cross-compile the world (except gnu)Wilbern Cobb
- add cross-obj, cross-depend, cross-clean and cross-cleandir targets - add dependencies between the cross-tools targets - simplify cross-binutils - build a cross c++ compiler - use distribution-etc-root-var in etc for preparing ${CROSSDIR} ok art@, miod@