Date: Thu, 20 Dec 2012 12:34:22 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r244485 - projects Message-ID: <201212201234.qBKCYMll045653@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Thu Dec 20 12:34:22 2012 New Revision: 244485 URL: http://svnweb.freebsd.org/changeset/base/244485 Log: Sync with head/. Added: - copied unchanged from r244484, head/COPYRIGHT - copied unchanged from r244484, head/LOCKS - copied unchanged from r244484, head/MAINTAINERS - copied unchanged from r244484, head/Makefile - copied unchanged from r244484, head/Makefile.inc1 - copied unchanged from r244484, head/ObsoleteFiles.inc - copied unchanged from r244484, head/README - copied unchanged from r244484, head/UPDATING - copied from r244484, head/bin/ - copied from r244484, head/cddl/ - copied from r244484, head/contrib/ - copied from r244484, head/crypto/ - copied from r244484, head/etc/ - copied from r244484, head/games/ - copied from r244484, head/gnu/ - copied from r244484, head/include/ - copied from r244484, head/kerberos5/ - copied from r244484, head/lib/ - copied from r244484, head/libexec/ - copied from r244484, head/release/ - copied from r244484, head/rescue/ - copied from r244484, head/sbin/ - copied from r244484, head/secure/ - copied from r244484, head/share/ - copied from r244484, head/sys/ - copied from r244484, head/tools/ - copied from r244484, head/usr.bin/ - copied from r244484, head/usr.sbin/ Directory Properties: projects/COPYRIGHT (props changed) projects/LOCKS (props changed) projects/MAINTAINERS (props changed) projects/Makefile (props changed) projects/Makefile.inc1 (props changed) projects/ObsoleteFiles.inc (props changed) projects/README (props changed) projects/UPDATING (props changed) projects/bin/ (props changed) projects/cddl/ (props changed) projects/contrib/ (props changed) projects/crypto/ (props changed) projects/etc/ (props changed) projects/games/ (props changed) projects/gnu/ (props changed) projects/include/ (props changed) projects/kerberos5/ (props changed) projects/lib/ (props changed) projects/libexec/ (props changed) projects/release/ (props changed) projects/rescue/ (props changed) projects/sbin/ (props changed) projects/secure/ (props changed) projects/share/ (props changed) projects/sys/ (props changed) projects/tools/ (props changed) projects/usr.bin/ (props changed) projects/usr.sbin/ (props changed) Modified: Directory Properties: projects/ (props changed) projects/cddl/contrib/opensolaris/ (props changed) projects/cddl/contrib/opensolaris/cmd/zfs/ (props changed) projects/cddl/contrib/opensolaris/lib/libzfs/ (props changed) projects/contrib/atf/ (props changed) projects/contrib/bind9/ (props changed) projects/contrib/binutils/ (props changed) projects/contrib/bmake/ (props changed) projects/contrib/byacc/ (props changed) projects/contrib/bzip2/ (props changed) projects/contrib/com_err/ (props changed) projects/contrib/compiler-rt/ (props changed) projects/contrib/dialog/ (props changed) projects/contrib/dtc/ (props changed) projects/contrib/ee/ (props changed) projects/contrib/expat/ (props changed) projects/contrib/file/ (props changed) projects/contrib/gcc/ (props changed) projects/contrib/gdb/ (props changed) projects/contrib/gdtoa/ (props changed) projects/contrib/groff/ (props changed) projects/contrib/less/ (props changed) projects/contrib/libarchive/ (props changed) projects/contrib/libarchive/cpio/ (props changed) projects/contrib/libarchive/libarchive/ (props changed) projects/contrib/libarchive/libarchive_fe/ (props changed) projects/contrib/libarchive/tar/ (props changed) projects/contrib/libc++/ (props changed) projects/contrib/libcxxrt/ (props changed) projects/contrib/libpcap/ (props changed) projects/contrib/libstdc++/ (props changed) projects/contrib/llvm/ (props changed) projects/contrib/llvm/tools/clang/ (props changed) projects/contrib/ncurses/ (props changed) projects/contrib/netcat/ (props changed) projects/contrib/ntp/ (props changed) projects/contrib/ofed/libibcm/ (props changed) projects/contrib/ofed/libibcm/config/ (props changed) projects/contrib/ofed/libibcm/include/ (props changed) projects/contrib/ofed/libibcm/include/infiniband/ (props changed) projects/contrib/ofed/libibcm/src/ (props changed) projects/contrib/ofed/libibverbs/ (props changed) projects/contrib/ofed/libibverbs/config/ (props changed) projects/contrib/ofed/libibverbs/debian/ (props changed) projects/contrib/ofed/libibverbs/examples/ (props changed) projects/contrib/ofed/libibverbs/fixes/ (props changed) projects/contrib/ofed/libibverbs/include/ (props changed) projects/contrib/ofed/libibverbs/include/infiniband/ (props changed) projects/contrib/ofed/libibverbs/man/ (props changed) projects/contrib/ofed/libibverbs/src/ (props changed) projects/contrib/ofed/libmlx4/ (props changed) projects/contrib/ofed/libmlx4/config/ (props changed) projects/contrib/ofed/libmlx4/debian/ (props changed) projects/contrib/ofed/libmlx4/fixes/ (props changed) projects/contrib/ofed/libmlx4/src/ (props changed) projects/contrib/ofed/libmthca/ (props changed) projects/contrib/ofed/libmthca/config/ (props changed) projects/contrib/ofed/libmthca/debian/ (props changed) projects/contrib/ofed/libmthca/src/ (props changed) projects/contrib/ofed/librdmacm/ (props changed) projects/contrib/ofed/librdmacm/config/ (props changed) projects/contrib/ofed/librdmacm/examples/ (props changed) projects/contrib/ofed/librdmacm/include/ (props changed) projects/contrib/ofed/librdmacm/include/rdma/ (props changed) projects/contrib/ofed/librdmacm/man/ (props changed) projects/contrib/ofed/librdmacm/src/ (props changed) projects/contrib/ofed/libsdp/ (props changed) projects/contrib/ofed/libsdp/config/ (props changed) projects/contrib/ofed/libsdp/src/ (props changed) projects/contrib/ofed/libsdp/src/linux/ (props changed) projects/contrib/ofed/management/ (props changed) projects/contrib/ofed/management/doc/ (props changed) projects/contrib/ofed/management/infiniband-diags/ (props changed) projects/contrib/ofed/management/infiniband-diags/include/ (props changed) projects/contrib/ofed/management/infiniband-diags/man/ (props changed) projects/contrib/ofed/management/infiniband-diags/scripts/ (props changed) projects/contrib/ofed/management/infiniband-diags/src/ (props changed) projects/contrib/ofed/management/libibcommon/ (props changed) projects/contrib/ofed/management/libibcommon/include/ (props changed) projects/contrib/ofed/management/libibcommon/include/infiniband/ (props changed) projects/contrib/ofed/management/libibcommon/src/ (props changed) projects/contrib/ofed/management/libibmad/ (props changed) projects/contrib/ofed/management/libibmad/include/ (props changed) projects/contrib/ofed/management/libibmad/include/infiniband/ (props changed) projects/contrib/ofed/management/libibmad/src/ (props changed) projects/contrib/ofed/management/libibumad/ (props changed) projects/contrib/ofed/management/libibumad/include/ (props changed) projects/contrib/ofed/management/libibumad/include/infiniband/ (props changed) projects/contrib/ofed/management/libibumad/man/ (props changed) projects/contrib/ofed/management/libibumad/src/ (props changed) projects/contrib/ofed/management/opensm/ (props changed) projects/contrib/ofed/management/opensm/complib/ (props changed) projects/contrib/ofed/management/opensm/config/ (props changed) projects/contrib/ofed/management/opensm/doc/ (props changed) projects/contrib/ofed/management/opensm/include/ (props changed) projects/contrib/ofed/management/opensm/include/complib/ (props changed) projects/contrib/ofed/management/opensm/include/iba/ (props changed) projects/contrib/ofed/management/opensm/include/opensm/ (props changed) projects/contrib/ofed/management/opensm/include/vendor/ (props changed) projects/contrib/ofed/management/opensm/libvendor/ (props changed) projects/contrib/ofed/management/opensm/man/ (props changed) projects/contrib/ofed/management/opensm/opensm/ (props changed) projects/contrib/ofed/management/opensm/osmeventplugin/ (props changed) projects/contrib/ofed/management/opensm/osmeventplugin/src/ (props changed) projects/contrib/ofed/management/opensm/osmtest/ (props changed) projects/contrib/ofed/management/opensm/osmtest/include/ (props changed) projects/contrib/ofed/management/opensm/scripts/ (props changed) projects/contrib/one-true-awk/ (props changed) projects/contrib/openbsm/ (props changed) projects/contrib/openpam/ (props changed) projects/contrib/openresolv/ (props changed) projects/contrib/pf/ (props changed) projects/contrib/sendmail/ (props changed) projects/contrib/tcpdump/ (props changed) projects/contrib/tcsh/ (props changed) projects/contrib/tnftp/ (props changed) projects/contrib/top/ (props changed) projects/contrib/tzcode/stdtime/ (props changed) projects/contrib/tzcode/zic/ (props changed) projects/contrib/tzdata/ (props changed) projects/contrib/wpa/ (props changed) projects/contrib/xz/ (props changed) projects/crypto/heimdal/ (props changed) projects/crypto/openssh/ (props changed) projects/crypto/openssl/ (props changed) projects/gnu/lib/ (props changed) projects/gnu/usr.bin/binutils/ (props changed) projects/gnu/usr.bin/cc/cc_tools/ (props changed) projects/gnu/usr.bin/gdb/ (props changed) projects/lib/libarchive/ (props changed) projects/lib/libarchive/test/ (props changed) projects/lib/libc/ (props changed) projects/lib/libc/stdtime/ (props changed) projects/lib/libutil/ (props changed) projects/lib/libz/ (props changed) projects/lib/libz/contrib/ (props changed) projects/lib/libz/contrib/asm686/ (props changed) projects/lib/libz/contrib/gcc_gvmat64/ (props changed) projects/lib/libz/doc/ (props changed) projects/sbin/dumpon/ (props changed) projects/sbin/ipfw/ (props changed) projects/share/man/man4/ (props changed) projects/share/zoneinfo/ (props changed) projects/sys/amd64/compile/ (props changed) projects/sys/amd64/conf/ (props changed) projects/sys/amd64/include/xen/ (props changed) projects/sys/arm/compile/ (props changed) projects/sys/arm/conf/ (props changed) projects/sys/boot/ (props changed) projects/sys/boot/i386/efi/ (props changed) projects/sys/boot/ia64/efi/ (props changed) projects/sys/boot/ia64/ski/ (props changed) projects/sys/boot/powerpc/boot1.chrp/ (props changed) projects/sys/boot/powerpc/ofw/ (props changed) projects/sys/cddl/contrib/opensolaris/ (props changed) projects/sys/conf/ (props changed) projects/sys/contrib/dev/acpica/ (props changed) projects/sys/contrib/dev/acpica/common/ (props changed) projects/sys/contrib/dev/acpica/compiler/ (props changed) projects/sys/contrib/dev/acpica/components/debugger/ (props changed) projects/sys/contrib/dev/acpica/components/disassembler/ (props changed) projects/sys/contrib/dev/acpica/components/dispatcher/ (props changed) projects/sys/contrib/dev/acpica/components/events/ (props changed) projects/sys/contrib/dev/acpica/components/executer/ (props changed) projects/sys/contrib/dev/acpica/components/hardware/ (props changed) projects/sys/contrib/dev/acpica/components/namespace/ (props changed) projects/sys/contrib/dev/acpica/components/parser/ (props changed) projects/sys/contrib/dev/acpica/components/resources/ (props changed) projects/sys/contrib/dev/acpica/components/tables/ (props changed) projects/sys/contrib/dev/acpica/components/utilities/ (props changed) projects/sys/contrib/dev/acpica/include/ (props changed) projects/sys/contrib/dev/acpica/os_specific/ (props changed) projects/sys/contrib/libfdt/ (props changed) projects/sys/contrib/octeon-sdk/ (props changed) projects/sys/contrib/x86emu/ (props changed) projects/sys/dev/usb/controller/ (props changed) projects/sys/geom/ (props changed) projects/sys/i386/compile/ (props changed) projects/sys/i386/conf/ (props changed) projects/sys/ia64/compile/ (props changed) projects/sys/ia64/conf/ (props changed) projects/sys/mips/compile/ (props changed) projects/sys/mips/conf/ (props changed) projects/sys/ofed/drivers/ (props changed) projects/sys/ofed/drivers/infiniband/ (props changed) projects/sys/ofed/drivers/infiniband/core/ (props changed) projects/sys/ofed/drivers/infiniband/debug/ (props changed) projects/sys/ofed/drivers/infiniband/hw/ (props changed) projects/sys/ofed/drivers/infiniband/hw/mlx4/ (props changed) projects/sys/ofed/drivers/infiniband/hw/mthca/ (props changed) projects/sys/ofed/drivers/infiniband/ulp/ (props changed) projects/sys/ofed/drivers/infiniband/ulp/ipoib/ (props changed) projects/sys/ofed/drivers/infiniband/ulp/sdp/ (props changed) projects/sys/ofed/drivers/infiniband/util/ (props changed) projects/sys/ofed/drivers/net/ (props changed) projects/sys/ofed/drivers/net/mlx4/ (props changed) projects/sys/ofed/include/ (props changed) projects/sys/ofed/include/asm/ (props changed) projects/sys/ofed/include/linux/ (props changed) projects/sys/ofed/include/linux/mlx4/ (props changed) projects/sys/ofed/include/net/ (props changed) projects/sys/ofed/include/rdma/ (props changed) projects/sys/pc98/compile/ (props changed) projects/sys/pc98/conf/ (props changed) projects/sys/powerpc/compile/ (props changed) projects/sys/powerpc/conf/ (props changed) projects/sys/sparc64/compile/ (props changed) projects/sys/sparc64/conf/ (props changed) projects/sys/xen/interface/ (props changed) projects/sys/xen/interface/arch-x86/ (props changed) projects/sys/xen/interface/foreign/ (props changed) projects/sys/xen/interface/hvm/ (props changed) projects/sys/xen/interface/io/ (props changed) projects/tools/regression/geom_uzip/ (props changed) projects/tools/tools/nanobsd/gateworks/Files/ (props changed) projects/tools/tools/nanobsd/gateworks/Files/root/ (props changed) projects/tools/tools/nanobsd/gateworks/cfg/ (props changed) projects/tools/tools/nanobsd/gateworks/cfg/ssh/ (props changed) projects/usr.bin/calendar/ (props changed) projects/usr.bin/cpio/ (props changed) projects/usr.bin/cpio/test/ (props changed) projects/usr.bin/csup/ (props changed) projects/usr.bin/procstat/ (props changed) projects/usr.bin/tar/ (props changed) projects/usr.sbin/jail/ (props changed) projects/usr.sbin/ndiscvt/ (props changed) projects/usr.sbin/rtadvctl/ (props changed) projects/usr.sbin/rtadvd/ (props changed) projects/usr.sbin/rtsold/ (props changed) projects/usr.sbin/zic/ (props changed) Copied: projects/COPYRIGHT (from r244484, head/COPYRIGHT) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/COPYRIGHT Thu Dec 20 12:34:22 2012 (r244485, copy of r244484, head/COPYRIGHT) @@ -0,0 +1,126 @@ +# $FreeBSD$ +# @(#)COPYRIGHT 8.2 (Berkeley) 3/21/94 + +The compilation of software known as FreeBSD is distributed under the +following terms: + +Copyright (c) 1992-2012 The FreeBSD Project. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +The 4.4BSD and 4.4BSD-Lite software is distributed under the following +terms: + +All of the documentation and software included in the 4.4BSD and 4.4BSD-Lite +Releases is copyrighted by The Regents of the University of California. + +Copyright 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 + The Regents of the University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: +This product includes software developed by the University of +California, Berkeley and its contributors. +4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +The Institute of Electrical and Electronics Engineers and the American +National Standards Committee X3, on Information Processing Systems have +given us permission to reprint portions of their documentation. + +In the following statement, the phrase ``this text'' refers to portions +of the system documentation. + +Portions of this text are reprinted and reproduced in electronic form in +the second BSD Networking Software Release, from IEEE Std 1003.1-1988, IEEE +Standard Portable Operating System Interface for Computer Environments +(POSIX), copyright C 1988 by the Institute of Electrical and Electronics +Engineers, Inc. In the event of any discrepancy between these versions +and the original IEEE Standard, the original IEEE Standard is the referee +document. + +In the following statement, the phrase ``This material'' refers to portions +of the system documentation. + +This material is reproduced with permission from American National +Standards Committee X3, on Information Processing Systems. Computer and +Business Equipment Manufacturers Association (CBEMA), 311 First St., NW, +Suite 500, Washington, DC 20001-2178. The developmental work of +Programming Language C was completed by the X3J11 Technical Committee. + +The views and conclusions contained in the software and documentation are +those of the authors and should not be interpreted as representing official +policies, either expressed or implied, of the Regents of the University +of California. + + +NOTE: The copyright of UC Berkeley's Berkeley Software Distribution ("BSD") +source has been updated. The copyright addendum may be found at +ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change and is +included below. + +July 22, 1999 + +To All Licensees, Distributors of Any Version of BSD: + +As you know, certain of the Berkeley Software Distribution ("BSD") source +code files require that further distributions of products containing all or +portions of the software, acknowledge within their advertising materials +that such products contain software developed by UC Berkeley and its +contributors. + +Specifically, the provision reads: + +" * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors." + +Effective immediately, licensees and distributors are no longer required to +include the acknowledgement within advertising materials. Accordingly, the +foregoing paragraph of those BSD Unix files containing it is hereby deleted +in its entirety. + +William Hoskins +Director, Office of Technology Licensing +University of California, Berkeley Copied: projects/LOCKS (from r244484, head/LOCKS) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/LOCKS Thu Dec 20 12:34:22 2012 (r244485, copy of r244484, head/LOCKS) @@ -0,0 +1,13 @@ +$FreeBSD$ + +This file documents formal review/approval requirements that have been +approved by core. + +subsystem login expires notes +-------------------------------------- + +Special cases: +releng/4.* Requires Security Officer approval. +releng/5.* Requires Security Officer approval. +releng/6.* Requires Security Officer approval. +releng/7.* Requires Security Officer approval. Copied: projects/MAINTAINERS (from r244484, head/MAINTAINERS) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/MAINTAINERS Thu Dec 20 12:34:22 2012 (r244485, copy of r244484, head/MAINTAINERS) @@ -0,0 +1,126 @@ +$FreeBSD$ + +Please note that the content of this file is strictly advisory. +No locks listed here are valid. The only strict review requirements +are granted by core. These are documented in head/LOCKS and enforced +by svnadmin/conf/approvers. + +The source tree is a community effort. However, some folks go to the +trouble of looking after particular areas of the tree. In return for +their active caretaking of the code it is polite to coordinate changes +with them. This is a list of people who have expressed an interest in +part of the code or listed their active caretaking role so that other +committers can easily find somebody who is familiar with it. The notes +should specify if there is a 3rd party source tree involved or other +things that should be kept in mind. + +However, this is not a 'big stick', it is an offer to help and a source +of guidance. It does not override the communal nature of the tree. +It is not a registry of 'turf' or private property. + +subsystem login notes +----------------------------- +kqueue jmg Pre-commit review requested. +libc/posix1e rwatson Pre-commit review requested. +POSIX.1e ACLs rwatson Pre-commit review requested. +UFS EAs rwatson Pre-commit review requested. +MAC Framework rwatson Pre-commit review requested. +MAC Modules rwatson Pre-commit review requested. +contrib/openbsm rwatson Pre-commit review requested. +sys/security/audit rwatson Pre-commit review requested. +ahc(4) gibbs Pre-commit review requested. +ahd(4) gibbs Pre-commit review requested. +NEWCARD imp Pre-commit review requested. +pci bus imp,jhb Pre-commit review requested. +cdboot jhb Pre-commit review requested. +pxeboot jhb Pre-commit review requested. +witness jhb Pre-commit review requested. +CAM gibbs, + ken Pre-commit review requested. send to scsi@freebsd.org +devstat(9) ken Pre-commit review requested. +camcontrol(8) ken Pre-commit review requested. +libcam ken Pre-commit review requested. +libdevstat ken Pre-commit review requested. +iostat(8) ken Pre-commit review requested. +cd(4) ken Pre-commit review requested. +pass(4) ken Pre-commit review requested. +ch(4) ken Pre-commit review requested. +em(4) jfv Pre-commit review requested. +bxe(4) davidch Pre-commit review requested. +tdfx(4) cokane Just keep me informed of changes, try not to break it. +sendmail gshapiro Pre-commit review requested. +etc/mail gshapiro Pre-commit review requested. + Keep in sync with -STABLE. +etc/sendmail gshapiro Pre-commit review requested. + Keep in sync with -STABLE. +libfetch des Advance notification requested. +fetch des Advance notification requested. +libpam des Pre-commit review requested. +openssh des Pre-commit review requested. +pseudofs des Pre-commit review requested. +procfs des Pre-commit review requested. +linprocfs des Pre-commit review requested. +lpr gad Pre-commit review requested, particularly for + lpd/recvjob.c and lpd/printjob.c. +newsyslog(8) gad Heads-up appreciated. I'm going thru the PR's for it. +cvs peter Heads-up appreciated, try not to break it. +nvi peter Try not to break it. +libz peter Try not to break it. +groff ru Recommends pre-commit review. +share/mk ru This is a vital component of the build system, so I + offer a pre-commit review for anything non-trivial. +ipfw ipfw Pre-commit review preferred. send to ipfw@freebsd.org +drm rnoland Just keep me informed of changes, try not to break it. +unifdef(1) fanf Pre-commit review requested. +ntp roberto Pre-commit review requested. +inetd dwmalone Recommends pre-commit review. +contrib/smbfs bp Open for in-tree committs. In case of functional + changes pre-commit review requested. +contrib/pf mlaier Pre-commit review requested. +binutils obrien Insists on BU blocked from unapproved commits +file obrien Insists to keep file blocked from other's unapproved + commits +contrib/bzip2 obrien Pre-commit review required. +lukemftpd obrien Pre-commit review required. +geom_concat pjd Pre-commit review preferred. +geom_eli pjd Pre-commit review preferred. +geom_gate pjd Pre-commit review preferred. +geom_label pjd Pre-commit review preferred. +geom_mirror pjd Pre-commit review preferred. +geom_nop pjd Pre-commit review preferred. +geom_raid3 pjd Pre-commit review preferred. +geom_shsec pjd Pre-commit review preferred. +geom_stripe pjd Pre-commit review preferred. +geom_zero pjd Pre-commit review preferred. +sbin/geom pjd Pre-commit review preferred. +zfs pjd Pre-commit review preferred. +nfs alfred Will be happy to review code, but not mandatory. +rpc.lockd alfred Will be happy to review code, but not mandatory. +truss alfred Will be happy to review code, but not mandatory. +rpc alfred Pre-commit review requested. +pkg_install portmgr Pre-commit review or approval from portmgr@ requested. +linux emul emulation Please discuss changes here. +bs{diff,patch} cperciva Pre-commit review requested. +portsnap cperciva Pre-commit review requested. +freebsd-update cperciva Pre-commit review requested. +openssl benl Pre-commit review requested. +sys/netgraph/bluetooth emax Pre-commit review preferred. +lib/libbluetooth emax Pre-commit review preferred. +lib/libsdp emax Pre-commit review preferred. +usr.bin/bluetooth emax Pre-commit review preferred. +usr.sbin/bluetooth emax Pre-commit review preferred. +gnu/usr.bin/send-pr bugmaster Pre-commit review requested. +*env(3) secteam Due to the problematic security history of this + code, please have patches reviewed by secteam. +share/zoneinfo edwin Heads-up appreciated, since our data is coming + from a third party source. +usr.sbin/zic edwin Heads-up appreciated, since this code is + maintained by a third party source. +lib/libc/stdtime edwin Heads-up appreciated, since parts of this code + is maintained by a third party source. +sbin/routed bms Pre-commit review; notify vendor at rhyolite.com +isci(4) jimharris Pre-commit review requested. +3dfx cokane Pre-commit review preferred. +cmx daniel@roe.ch Pre-commit review preferred. +filemon obrien Pre-commit review preferred. +sysdoc trhodes Pre-commit review preferred. Copied: projects/Makefile (from r244484, head/Makefile) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/Makefile Thu Dec 20 12:34:22 2012 (r244485, copy of r244484, head/Makefile) @@ -0,0 +1,448 @@ +# +# $FreeBSD$ +# +# The user-driven targets are: +# +# universe - *Really* build *everything* (buildworld and +# all kernels on all architectures). +# tinderbox - Same as universe, but presents a list of failed build +# targets and exits with an error if there were any. +# buildworld - Rebuild *everything*, including glue to help do +# upgrades. +# installworld - Install everything built by "buildworld". +# world - buildworld + installworld, no kernel. +# buildkernel - Rebuild the kernel and the kernel-modules. +# installkernel - Install the kernel and the kernel-modules. +# installkernel.debug +# reinstallkernel - Reinstall the kernel and the kernel-modules. +# reinstallkernel.debug +# kernel - buildkernel + installkernel. +# kernel-toolchain - Builds the subset of world necessary to build a kernel +# kernel-toolchains - Build kernel-toolchain for all universe targets. +# doxygen - Build API documentation of the kernel, needs doxygen. +# update - Convenient way to update your source tree(s). +# check-old - List obsolete directories/files/libraries. +# check-old-dirs - List obsolete directories. +# check-old-files - List obsolete files. +# check-old-libs - List obsolete libraries. +# delete-old - Delete obsolete directories/files. +# delete-old-dirs - Delete obsolete directories. +# delete-old-files - Delete obsolete files. +# delete-old-libs - Delete obsolete libraries. +# targets - Print a list of supported TARGET/TARGET_ARCH pairs +# for world and kernel targets. +# toolchains - Build a toolchain for all world and kernel targets. +# +# This makefile is simple by design. The FreeBSD make automatically reads +# the /usr/share/mk/sys.mk unless the -m argument is specified on the +# command line. By keeping this makefile simple, it doesn't matter too +# much how different the installed mk files are from those in the source +# tree. This makefile executes a child make process, forcing it to use +# the mk files from the source tree which are supposed to DTRT. +# +# Most of the user-driven targets (as listed above) are implemented in +# Makefile.inc1. The exceptions are universe, tinderbox and targets. +# +# If you want to build your system from source be sure that /usr/obj has +# at least 1GB of diskspace available. A complete 'universe' build requires +# about 15GB of space. +# +# For individuals wanting to build from the sources currently on their +# system, the simple instructions are: +# +# 1. `cd /usr/src' (or to the directory containing your source tree). +# 2. Define `HISTORICAL_MAKE_WORLD' variable (see README). +# 3. `make world' +# +# For individuals wanting to upgrade their sources (even if only a +# delta of a few days): +# +# 1. `cd /usr/src' (or to the directory containing your source tree). +# 2. `make buildworld' +# 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). +# 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). +# [steps 3. & 4. can be combined by using the "kernel" target] +# 5. `reboot' (in single user mode: boot -s from the loader prompt). +# 6. `mergemaster -p' +# 7. `make installworld' +# 8. `make delete-old' +# 9. `mergemaster' (you may wish to use -i, along with -U or -F). +# 10. `reboot' +# 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) +# +# See src/UPDATING `COMMON ITEMS' for more complete information. +# +# If TARGET=machine (e.g. ia64, sparc64, ...) is specified you can +# cross build world for other machine types using the buildworld target, +# and once the world is built you can cross build a kernel using the +# buildkernel target. +# +# Define the user-driven targets. These are listed here in alphabetical +# order, but that's not important. +# +# Targets that begin with underscore are internal targets intended for +# developer convenience only. They are intentionally not documented and +# completely subject to change without notice. +# +# For more information, see the build(7) manual page. +# +TGTS= all all-man buildenv buildenvvars buildkernel buildworld \ + check-old check-old-dirs check-old-files check-old-libs \ + checkdpadd clean cleandepend cleandir \ + delete-old delete-old-dirs delete-old-files delete-old-libs \ + depend distribute distributekernel distributekernel.debug \ + distributeworld distrib-dirs distribution doxygen \ + everything hier hierarchy install installcheck installkernel \ + installkernel.debug packagekernel packageworld \ + reinstallkernel reinstallkernel.debug \ + installworld kernel-toolchain libraries lint maninstall \ + obj objlink regress rerelease showconfig tags toolchain update \ + _worldtmp _legacy _bootstrap-tools _cleanobj _obj \ + _build-tools _cross-tools _includes _libraries _depend \ + build32 builddtb distribute32 install32 xdev xdev-build xdev-install \ + +TGTS+= ${SUBDIR_TARGETS} + +BITGTS= files includes +BITGTS:=${BITGTS} ${BITGTS:S/^/build/} ${BITGTS:S/^/install/} +TGTS+= ${BITGTS} + +.ORDER: buildworld installworld +.ORDER: buildworld distributeworld +.ORDER: buildworld buildkernel +.ORDER: buildkernel installkernel +.ORDER: buildkernel installkernel.debug +.ORDER: buildkernel reinstallkernel +.ORDER: buildkernel reinstallkernel.debug + +PATH= /sbin:/bin:/usr/sbin:/usr/bin +MAKEOBJDIRPREFIX?= /usr/obj +_MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} ${MAKE} \ + ${.MAKEFLAGS:MMAKEOBJDIRPREFIX=*} __MAKE_CONF=${__MAKE_CONF} \ + -f /dev/null -V MAKEOBJDIRPREFIX dummy +.if !empty(_MAKEOBJDIRPREFIX) +.error MAKEOBJDIRPREFIX can only be set in environment, not as a global\ + (in make.conf(5)) or command-line variable. +.endif +MAKEPATH= ${MAKEOBJDIRPREFIX}${.CURDIR}/make.${MACHINE} +BINMAKE= \ + `if [ -x ${MAKEPATH}/make ]; then echo ${MAKEPATH}/make; else echo ${MAKE}; fi` \ + -m ${.CURDIR}/share/mk +_MAKE= PATH=${PATH} ${BINMAKE} -f Makefile.inc1 TARGET=${_TARGET} TARGET_ARCH=${_TARGET_ARCH} + +# Guess machine architecture from machine type, and vice versa. +.if !defined(TARGET_ARCH) && defined(TARGET) +_TARGET_ARCH= ${TARGET:S/pc98/i386/} +.elif !defined(TARGET) && defined(TARGET_ARCH) && \ + ${TARGET_ARCH} != ${MACHINE_ARCH} +_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/} +.endif +# Legacy names, for another transition period mips:mips(n32|64)?eb -> mips:mips\1 +.if defined(TARGET) && defined(TARGET_ARCH) && \ + ${TARGET} == "mips" && ${TARGET_ARCH:Mmips*eb} +_TARGET_ARCH= ${TARGET_ARCH:C/eb$//} +.warning "TARGET_ARCH of ${TARGET_ARCH} is deprecated in favor of ${_TARGET_ARCH}" +.endif +.if defined(TARGET) && ${TARGET} == "mips" && defined(TARGET_BIG_ENDIAN) +.warning "TARGET_BIG_ENDIAN is no longer necessary for MIPS. Big-endian is not the default." +.endif +# arm with TARGET_BIG_ENDIAN -> armeb +.if defined(TARGET_ARCH) && ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN) +.warning "TARGET_ARCH of arm with TARGET_BIG_ENDIAN is deprecated. use armeb" +_TARGET_ARCH=armeb +.endif +.if defined(TARGET) && !defined(_TARGET) +_TARGET=${TARGET} +.endif +.if defined(TARGET_ARCH) && !defined(_TARGET_ARCH) +_TARGET_ARCH=${TARGET_ARCH} +.endif +# Otherwise, default to current machine type and architecture. +_TARGET?= ${MACHINE} +_TARGET_ARCH?= ${MACHINE_ARCH} + +# +# Make sure we have an up-to-date make(1). Only world and buildworld +# should do this as those are the initial targets used for upgrades. +# The user can define ALWAYS_CHECK_MAKE to have this check performed +# for all targets. +# +.if defined(ALWAYS_CHECK_MAKE) +${TGTS}: upgrade_checks +.else +buildworld: upgrade_checks +.endif + +# +# This 'cleanworld' target is not included in TGTS, because it is not a +# recursive target. All of the work for it is done right here. It is +# expected that BW_CANONICALOBJDIR == the CANONICALOBJDIR as would be +# created by bsd.obj.mk, except that we don't want to .include that file +# in this makefile. +# +# In the following, the first 'rm' in a series will usually remove all +# files and directories. If it does not, then there are probably some +# files with file flags set, so this unsets them and tries the 'rm' a +# second time. There are situations where this target will be cleaning +# some directories via more than one method, but that duplication is +# needed to correctly handle all the possible situations. Removing all +# files without file flags set in the first 'rm' instance saves time, +# because 'chflags' will need to operate on fewer files afterwards. +# +BW_CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR} +cleanworld: +.if ${.CURDIR} == ${.OBJDIR} || ${.CURDIR}/obj == ${.OBJDIR} +.if exists(${BW_CANONICALOBJDIR}/) + -rm -rf ${BW_CANONICALOBJDIR}/* + -chflags -R 0 ${BW_CANONICALOBJDIR} + rm -rf ${BW_CANONICALOBJDIR}/* +.endif + # To be safe in this case, fall back to a 'make cleandir' + ${_+_}@cd ${.CURDIR}; ${_MAKE} cleandir +.else + -rm -rf ${.OBJDIR}/* + -chflags -R 0 ${.OBJDIR} + rm -rf ${.OBJDIR}/* +.endif + +# +# Handle the user-driven targets, using the source relative mk files. +# + +${TGTS}: + ${_+_}@cd ${.CURDIR}; ${_MAKE} ${.TARGET} + +# Set a reasonable default +.MAIN: all + +STARTTIME!= LC_ALL=C date +CHECK_TIME!= find ${.CURDIR}/sys/sys/param.h -mtime -0s ; echo +.if !empty(CHECK_TIME) +.error check your date/time: ${STARTTIME} +.endif + +.if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR) +# +# world +# +# Attempt to rebuild and reinstall everything. This target is not to be +# used for upgrading an existing FreeBSD system, because the kernel is +# not included. One can argue that this target doesn't build everything +# then. +# +world: upgrade_checks + @echo "--------------------------------------------------------------" + @echo ">>> make world started on ${STARTTIME}" + @echo "--------------------------------------------------------------" +.if target(pre-world) + @echo + @echo "--------------------------------------------------------------" + @echo ">>> Making 'pre-world' target" + @echo "--------------------------------------------------------------" + ${_+_}@cd ${.CURDIR}; ${_MAKE} pre-world +.endif + ${_+_}@cd ${.CURDIR}; ${_MAKE} buildworld + ${_+_}@cd ${.CURDIR}; ${_MAKE} -B installworld +.if target(post-world) + @echo + @echo "--------------------------------------------------------------" + @echo ">>> Making 'post-world' target" + @echo "--------------------------------------------------------------" + ${_+_}@cd ${.CURDIR}; ${_MAKE} post-world +.endif + @echo + @echo "--------------------------------------------------------------" + @echo ">>> make world completed on `LC_ALL=C date`" + @echo " (started ${STARTTIME})" + @echo "--------------------------------------------------------------" +.else +world: + @echo "WARNING: make world will overwrite your existing FreeBSD" + @echo "installation without also building and installing a new" + @echo "kernel. This can be dangerous. Please read the handbook," + @echo "'Rebuilding world', for how to upgrade your system." + @echo "Define DESTDIR to where you want to install FreeBSD," + @echo "including /, to override this warning and proceed as usual." + @echo "" + @echo "Bailing out now..." + @false +.endif + +# +# kernel +# +# Short hand for `make buildkernel installkernel' +# +kernel: buildkernel installkernel + +# +# Perform a few tests to determine if the installed tools are adequate +# for building the world. +# +upgrade_checks: +.if !defined(.PARSEDIR) + @if ! (cd ${.CURDIR}/tools/build/make_check && \ + PATH=${PATH} ${BINMAKE} obj >/dev/null 2>&1 && \ + PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \ + then \ + (cd ${.CURDIR} && ${MAKE} make); \ + fi +.endif + +# +# Upgrade make(1) to the current version using the installed +# headers, libraries and tools. Also, allow the location of +# the system bsdmake-like utility to be overridden. +# +MMAKEENV= MAKEOBJDIRPREFIX=${MAKEPATH} \ + DESTDIR= \ + INSTALL="sh ${.CURDIR}/tools/install.sh" +MMAKE= ${MMAKEENV} ${MAKE} \ + -D_UPGRADING \ + -DNOMAN -DNO_MAN -DNOSHARED -DNO_SHARED \ + -DNO_CPU_CFLAGS -DNO_WERROR + +make: .PHONY + @echo + @echo "--------------------------------------------------------------" + @echo ">>> Building an up-to-date make(1)" + @echo "--------------------------------------------------------------" + ${_+_}@cd ${.CURDIR}/usr.bin/make; \ + ${MMAKE} obj && \ + ${MMAKE} depend && \ + ${MMAKE} all && \ + ${MMAKE} install DESTDIR=${MAKEPATH} BINDIR= + +tinderbox: + @cd ${.CURDIR} && ${MAKE} DOING_TINDERBOX=YES universe + +toolchains: + @cd ${.CURDIR} && ${MAKE} UNIVERSE_TARGET=toolchain universe + +kernel-toolchains: + @cd ${.CURDIR} && ${MAKE} UNIVERSE_TARGET=kernel-toolchain universe + +# +# universe +# +# Attempt to rebuild *everything* for all supported architectures, +# with a reasonable chance of success, regardless of how old your +# existing system is. +# +.if make(universe) || make(universe_kernels) || make(tinderbox) || make(targets) +TARGETS?=amd64 arm i386 ia64 mips pc98 powerpc sparc64 +TARGET_ARCHES_arm?= arm armeb armv6 armv6eb +TARGET_ARCHES_mips?= mipsel mips mips64el mips64 mipsn32 +TARGET_ARCHES_powerpc?= powerpc powerpc64 +TARGET_ARCHES_pc98?= i386 +.for target in ${TARGETS} +TARGET_ARCHES_${target}?= ${target} +.endfor + +.if defined(UNIVERSE_TARGET) +MAKE_JUST_WORLDS= YES +.else +UNIVERSE_TARGET?= buildworld +.endif +KERNSRCDIR?= ${.CURDIR}/sys + +targets: + @echo "Supported TARGET/TARGET_ARCH pairs for world and kernel targets" +.for target in ${TARGETS} +.for target_arch in ${TARGET_ARCHES_${target}} + @echo " ${target}/${target_arch}" +.endfor +.endfor + +.if defined(DOING_TINDERBOX) +FAILFILE=${.CURDIR}/_.tinderbox.failed +MAKEFAIL=tee -a ${FAILFILE} +.else +MAKEFAIL=cat +.endif + +universe: universe_prologue +universe_prologue: + @echo "--------------------------------------------------------------" + @echo ">>> make universe started on ${STARTTIME}" + @echo "--------------------------------------------------------------" +.if defined(DOING_TINDERBOX) + @rm -f ${FAILFILE} +.endif +.for target in ${TARGETS} +universe: universe_${target} +.ORDER: universe_prologue universe_${target} universe_epilogue +universe_${target}: universe_${target}_prologue +universe_${target}_prologue: + @echo ">> ${target} started on `LC_ALL=C date`" +.if !defined(MAKE_JUST_KERNELS) +.for target_arch in ${TARGET_ARCHES_${target}} +universe_${target}: universe_${target}_${target_arch} +universe_${target}_${target_arch}: universe_${target}_prologue + @echo ">> ${target}.${target_arch} ${UNIVERSE_TARGET} started on `LC_ALL=C date`" + @(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \ + ${MAKE} ${JFLAG} ${UNIVERSE_TARGET} \ + TARGET=${target} \ + TARGET_ARCH=${target_arch} \ + > _.${target}.${target_arch}.${UNIVERSE_TARGET} 2>&1 || \ + (echo "${target}.${target_arch} ${UNIVERSE_TARGET} failed," \ + "check _.${target}.${target_arch}.${UNIVERSE_TARGET} for details" | \ + ${MAKEFAIL})) + @echo ">> ${target}.${target_arch} ${UNIVERSE_TARGET} completed on `LC_ALL=C date`" +.endfor +.endif +.if !defined(MAKE_JUST_WORLDS) +.if exists(${KERNSRCDIR}/${target}/conf/NOTES) + @(cd ${KERNSRCDIR}/${target}/conf && env __MAKE_CONF=/dev/null \ + ${MAKE} LINT > ${.CURDIR}/_.${target}.makeLINT 2>&1 || \ + (echo "${target} 'make LINT' failed," \ + "check _.${target}.makeLINT for details"| ${MAKEFAIL})) +.endif + @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} TARGET=${target} \ + universe_kernels +.endif + @echo ">> ${target} completed on `LC_ALL=C date`" +.endfor +universe_kernels: universe_kernconfs +.if !defined(TARGET) +TARGET!= uname -m +.endif +KERNCONFS!= cd ${KERNSRCDIR}/${TARGET}/conf && \ + find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \ + ! -name DEFAULTS ! -name NOTES +universe_kernconfs: +.for kernel in ${KERNCONFS} +TARGET_ARCH_${kernel}!= cd ${KERNSRCDIR}/${TARGET}/conf && \ + config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null | \ + grep -v WARNING: | cut -f 2 +.if empty(TARGET_ARCH_${kernel}) +.error "Target architecture for ${TARGET}/conf/${kernel} unknown. config(8) likely too old." +.endif +universe_kernconfs: universe_kernconf_${TARGET}_${kernel} +universe_kernconf_${TARGET}_${kernel}: + @(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \ + ${MAKE} ${JFLAG} buildkernel \ + TARGET=${TARGET} \ + TARGET_ARCH=${TARGET_ARCH_${kernel}} \ + KERNCONF=${kernel} \ + > _.${TARGET}.${kernel} 2>&1 || \ + (echo "${TARGET} ${kernel} kernel failed," \ + "check _.${TARGET}.${kernel} for details"| ${MAKEFAIL})) +.endfor +universe: universe_epilogue +universe_epilogue: + @echo "--------------------------------------------------------------" + @echo ">>> make universe completed on `LC_ALL=C date`" + @echo " (started ${STARTTIME})" + @echo "--------------------------------------------------------------" +.if defined(DOING_TINDERBOX) + @if [ -e ${FAILFILE} ] ; then \ + echo "Tinderbox failed:" ;\ + cat ${FAILFILE} ;\ + exit 1 ;\ + fi +.endif +.endif + +buildLINT: + ${MAKE} -C ${.CURDIR}/sys/${_TARGET}/conf LINT Copied: projects/Makefile.inc1 (from r244484, head/Makefile.inc1) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/Makefile.inc1 Thu Dec 20 12:34:22 2012 (r244485, copy of r244484, head/Makefile.inc1) @@ -0,0 +1,1727 @@ +# +# $FreeBSD$ +# +# Make command line options: +# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir +# -DNO_CLEAN do not clean at all +# -DNO_SHARE do not go into share subdir +# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ} +# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel +# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel +# -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel +# -DNO_KERNELOBJ do not run ${MAKE} obj in ${MAKE} buildkernel +# -DNO_PORTSUPDATE do not update ports in ${MAKE} update +# -DNO_DOCUPDATE do not update doc in ${MAKE} update +# -DNO_WWWUPDATE do not update www in ${MAKE} update +# -DNO_CTF do not run the DTrace CTF conversion tools on built objects +# LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list +# LOCAL_LIB_DIRS="list of dirs" to add additional dirs to libraries target +# LOCAL_MTREE="list of mtree files" to process to allow local directories +# to be created before files are installed +# LOCAL_TOOL_DIRS="list of dirs" to add additional dirs to the build-tools +# list +# TARGET="machine" to crossbuild world for a different machine type +# TARGET_ARCH= may be required when a TARGET supports multiple endians +# BUILDENV_SHELL= shell to launch for the buildenv target (def:/bin/sh) + +# +# The intended user-driven targets are: +# buildworld - rebuild *everything*, including glue to help do upgrades +# installworld- install everything built by "buildworld" +# doxygen - build API documentation of the kernel +# update - convenient way to update your source tree (eg: cvsup/cvs) +# +# Standard targets (not defined here) are documented in the makefiles in +# /usr/share/mk. These include: +# obj depend all install clean cleandepend cleanobj + +# You are supposed to define both of these when calling Makefile.inc1 +# directly. However, some old scripts don't. Cope for the moment, but +# issue a new warning for a transition period. +.if defined(TARGET) && !defined(TARGET_ARCH) +.warning "You must pass both TARGET and TARGET_ARCH to Makefile.inc1. Setting TARGET_ARCH=${TARGET}." +TARGET_ARCH=${TARGET} +.endif +.if !defined(TARGET) || !defined(TARGET_ARCH) +.error "Both TARGET and TARGET_ARCH must be defined." +.endif + +.include <bsd.own.mk> +.include <bsd.arch.inc.mk> +.include <bsd.compiler.mk> + +# We must do share/info early so that installation of info `dir' +# entries works correctly. Do it first since it is less likely to +# grow dependencies on include and lib than vice versa. +# +# We must do lib/ and libexec/ before bin/, because if installworld +# installs a new /bin/sh, the 'make' command will *immediately* +# use that new version. And the new (dynamically-linked) /bin/sh +# will expect to find appropriate libraries in /lib and /libexec. +# +SUBDIR= share/info lib libexec +SUBDIR+=bin +.if ${MK_GAMES} != "no" +SUBDIR+=games +.endif +.if ${MK_CDDL} != "no" +SUBDIR+=cddl +.endif +SUBDIR+=gnu include +.if ${MK_KERBEROS} != "no" +SUBDIR+=kerberos5 +.endif +.if ${MK_RESCUE} != "no" +SUBDIR+=rescue +.endif +SUBDIR+=sbin +.if ${MK_CRYPT} != "no" +SUBDIR+=secure +.endif +.if !defined(NO_SHARE) +SUBDIR+=share +.endif +SUBDIR+=sys usr.bin usr.sbin +.if ${MK_OFED} != "no" +SUBDIR+=contrib/ofed +.endif +# +# We must do etc/ last for install/distribute to work. +# +SUBDIR+=etc + +# These are last, since it is nice to at least get the base system +# rebuilt before you do them. +.for _DIR in ${LOCAL_LIB_DIRS} ${LOCAL_DIRS} +.if exists(${.CURDIR}/${_DIR}/Makefile) +SUBDIR+= ${_DIR} +.endif +.endfor + +.if defined(SUBDIR_OVERRIDE) +SUBDIR= ${SUBDIR_OVERRIDE} +.endif + +.if defined(NOCLEAN) +NO_CLEAN= ${NOCLEAN} +.endif +.if defined(NO_CLEANDIR) +CLEANDIR= clean cleandepend +.else +CLEANDIR= cleandir +.endif + +LOCAL_TOOL_DIRS?= + +BUILDENV_SHELL?=/bin/sh + +CVS?= cvs +CVSFLAGS?= -A -P -d -I! +SVN?= svn +SVNFLAGS?= -r HEAD +SUP?= /usr/bin/csup +SUPFLAGS?= -g -L 2 +.if defined(SUPHOST) +SUPFLAGS+= -h ${SUPHOST} +.endif + +MAKEOBJDIRPREFIX?= /usr/obj +.if !defined(OSRELDATE) +.if exists(/usr/include/osreldate.h) +OSRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ + /usr/include/osreldate.h +.else +OSRELDATE= 0 +.endif +.endif + +.if !defined(VERSION) +VERSION!= uname -srp +VERSION+= ${OSRELDATE} +.endif + +KNOWN_ARCHES?= amd64 arm armeb/arm armv6/arm armv6eb/arm i386 i386/pc98 ia64 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64 +.if ${TARGET} == ${TARGET_ARCH} +_t= ${TARGET} +.else +_t= ${TARGET_ARCH}/${TARGET} +.endif +.for _t in ${_t} +.if empty(KNOWN_ARCHES:M${_t}) +.error Unknown target ${TARGET_ARCH}:${TARGET}. +.endif +.endfor + +.if ${TARGET} == ${MACHINE} +TARGET_CPUTYPE?=${CPUTYPE} +.else +TARGET_CPUTYPE?= +.endif + +.if !empty(TARGET_CPUTYPE) +_TARGET_CPUTYPE=${TARGET_CPUTYPE} +.else +_TARGET_CPUTYPE=dummy +.endif +_CPUTYPE!= MAKEFLAGS= CPUTYPE=${_TARGET_CPUTYPE} ${MAKE} \ + -f /dev/null -m ${.CURDIR}/share/mk -V CPUTYPE +.if ${_CPUTYPE} != ${_TARGET_CPUTYPE} +.error CPUTYPE global should be set with ?=. +.endif +.if make(buildworld) +BUILD_ARCH!= uname -p +.if ${MACHINE_ARCH} != ${BUILD_ARCH} +.error To cross-build, set TARGET_ARCH. +.endif +.endif +.if ${MACHINE} == ${TARGET} && ${MACHINE_ARCH} == ${TARGET_ARCH} && !defined(CROSS_BUILD_TESTING) +OBJTREE= ${MAKEOBJDIRPREFIX} +.else +OBJTREE= ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH} +.endif +WORLDTMP= ${OBJTREE}${.CURDIR}/tmp +# /usr/games added for fortune which depend on strfile +BPATH= ${WORLDTMP}/legacy/usr/sbin:${WORLDTMP}/legacy/usr/bin:${WORLDTMP}/legacy/usr/games +XPATH= ${WORLDTMP}/usr/sbin:${WORLDTMP}/usr/bin:${WORLDTMP}/usr/games +STRICTTMPPATH= ${BPATH}:${XPATH} +TMPPATH= ${STRICTTMPPATH}:${PATH} + +# +# Avoid running mktemp(1) unless actually needed. +# It may not be functional, e.g., due to new ABI +# when in the middle of installing over this system. +# +.if make(distributeworld) || make(installworld) +INSTALLTMP!= /usr/bin/mktemp -d -u -t install +.endif + +# +# Building a world goes through the following stages +# +# 1. legacy stage [BMAKE] +# This stage is responsible for creating compatibility +# shims that are needed by the bootstrap-tools, +# build-tools and cross-tools stages. +# 1. bootstrap-tools stage [BMAKE] +# This stage is responsible for creating programs that +# are needed for backward compatibility reasons. They +# are not built as cross-tools. +# 2. build-tools stage [TMAKE] +# This stage is responsible for creating the object +# tree and building any tools that are needed during +# the build process. +# 3. cross-tools stage [XMAKE] +# This stage is responsible for creating any tools that +# are needed for cross-builds. A cross-compiler is one +# of them. +# 4. world stage [WMAKE] +# This stage actually builds the world. +# 5. install stage (optional) [IMAKE] +# This stage installs a previously built world. +# + +BOOTSTRAPPING?= 0 + +# Common environment for world related stages +CROSSENV= MAKEOBJDIRPREFIX=${OBJTREE} \ + MACHINE_ARCH=${TARGET_ARCH} \ + MACHINE=${TARGET} \ + CPUTYPE=${TARGET_CPUTYPE} +.if ${MK_GROFF} != "no" +CROSSENV+= GROFF_BIN_PATH=${WORLDTMP}/legacy/usr/bin \ + GROFF_FONT_PATH=${WORLDTMP}/legacy/usr/share/groff_font \ + GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac +.endif + +# bootstrap-tools stage +BMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ + PATH=${BPATH}:${PATH} \ + WORLDTMP=${WORLDTMP} \ + VERSION="${VERSION}" \ + MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \ + COMPILER_TYPE=${COMPILER_TYPE} +BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \ + ${BMAKEENV} ${MAKE} -f Makefile.inc1 \ + DESTDIR= \ + BOOTSTRAPPING=${OSRELDATE} \ + SSP_CFLAGS= \ + -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN \ + -DNO_PIC -DNO_PROFILE -DNO_SHARED \ + -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF -DEARLY_BUILD + +# build-tools stage +TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \ + ${BMAKEENV} ${MAKE} -f Makefile.inc1 \ + TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ + DESTDIR= \ + BOOTSTRAPPING=${OSRELDATE} \ + SSP_CFLAGS= \ + -DNO_LINT \ + -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF -DEARLY_BUILD + +# cross-tools stage +XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE} \ + TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ + -DWITHOUT_GDB + +# world stage +WMAKEENV= ${CROSSENV} \ + _SHLIBDIRPREFIX=${WORLDTMP} \ + _LDSCRIPTROOT= \ + VERSION="${VERSION}" \ + INSTALL="sh ${.CURDIR}/tools/install.sh" \ *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212201234.qBKCYMll045653>