summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2020-04-05minor cranking of libraries exposes a problem, details too long to explain.deraadt1-1/+3
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.espie1-2/+2
okay millert@, tb@
2017-07-05bye bye dependsespie1-4/+4
okay tb@ deraadt@
2017-04-14mark newish phony targets as phony.espie1-2/+2
okay tb@
2017-01-29Ensure the build user can write to the GLOBAL_AUTOCONF_CACHE file byrpe1-2/+3
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 writetb1-1/+4
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.tb1-2/+2
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 namenatano1-2/+2
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 privdroptb1-6/+6
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'.natano1-5/+14
- 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'sderaadt1-9/+9
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.deraadt1-2/+2
2015-06-02missing " spotted by Kyle Milzderaadt1-2/+2
2014-08-26Create etc set during 'make build' and embed it in base set to makerpe1-1/+2
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 processespie1-1/+2
"works for me" deraadt@
2014-04-22Remove KERBEROS5 from the Makefiles (except ssh for now, where it isreyk1-9/+1
already manually disabled). ok deraadt@
2013-07-23enter keberosV/doc to resurrect heimdal.info for real this timetodd1-1/+2
ok deraadt@
2013-06-17switch to new kerberosV directory layoutrobert1-2/+5
2012-08-29remove ancient cruft.espie1-3/+1
okay deraadt@
2011-09-17Document proper cross-tools command to run, specially when working on apirofti1-3/+4
new port. Okay miod@
2011-04-24Head off attempts to do 'make build' with DESTDIR set, as it doesn't workguenther1-1/+7
ok sthen@, deraadt@
2010-03-23install mtree alwaysespie1-1/+2
okay deraadt@
2005-12-02do not enter lkmderaadt1-2/+2
2005-09-16use shell-neutral language (in a comment);jmc1-2/+3
from ray lai; ok krw@
2005-01-09move cross-stuff into its own file.espie1-282/+12
okay mickey@, niklas@
2005-01-09Synch with bsd.own.mk: USE_GCC3 is always set now, so we must set it to noespie1-1/+3
explicitly.
2005-01-09i386 is gcc3 for cross too.espie1-1/+2
2004-12-25We don't need cross-{nm,size} anymore, our host tools are good enough.grange1-10/+1
mickey ok a long time ago.
2004-11-30need to pass MAKEOBJDIR to prereq and includesmickey1-1/+3
2004-10-26match cross-binutils-new selection w/ bsd.own.mk and add hppa64 where neededmickey1-8/+7
2004-10-21Move the cross glue from the root makefile to the toolchain's,grange1-8/+38
allowing bulding cross-tools with new binutils and gcc3. ok drahn@ brad@ espie@
2004-10-16cross-nm doesn't need TARGET_MACHINE_ARCH anymore.grange1-3/+2
ok mickey@
2004-08-06fix/add sgipefo1-2/+2
2004-05-03Remove OpenBSD/pegaos, this has been announced before but delayed untildrahn1-4/+3
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.miod1-2/+2
ok deraadt@, millert@, krw@ - mdoc ok jmc@
2004-03-31repair cross-toolsmickey1-12/+10
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyderaadt1-4/+2
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 sun3brad1-7/+8
- use "new" ld/gas/etc. for pegasos with cross-compile - reorder arch/machine names in alpha order ok drahn@
2004-01-28amd64 hook upsmickey1-3/+5
2004-01-14add pegasos as a powerpc system for cross-compile targetbrad1-2/+2
ok drahn@
2004-01-05abcomodate cross for the new nm+sizemickey1-11/+4
2003-12-14Don't go into kerberosV/lib explicitely for now. Nothing to do there.matthieu1-12/+1
Ok deraadt@, miod@.
2003-10-05need to escape the quotes in cross-{lib,bin}mickey1-3/+3
2003-10-05need to eval the CROSSENVmickey1-5/+5
2003-05-17Don't build libperl separately in the libs pass, just build it whenmillert1-5/+1
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.mho1-16/+1
2003-04-17Add i386 to list of archs which use binutils.drahn1-4/+4
2003-01-05enquote flags and opts in cross-env; reported by david krausemickey1-7/+7
2002-09-17Prevent the a.out cross-ld from building rtld too early in the build.miod1-3/+4
2002-08-16- add cross-distrib target to cross-compile the world (except gnu)wcobb1-121/+138
- 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@