aboutsummaryrefslogtreecommitdiff
path: root/targets
Commit message (Collapse)AuthorAgeFilesLines
* DIRDEPS_BUILD: Build the kernel in the same place as buildkernel would.Bryan Drewery2016-05-261-1/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300798
* WITH_META_MODE: Move the kernel support to kern.pre.mk.Bryan Drewery2016-05-261-3/+1
| | | | | | | | | | This allows using META_MODE directly from the kernel build directory. This also allows removing a hack from the DIRDEPS_BUILD kernel target. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300795
* targets/Makefile: fix a typo (derrived -> derived).Andriy Voskoboinyk2016-05-181-1/+1
| | | | Notes: svn path=/head/; revision=300138
* Simplify building libpam and fix libpam.a not containing the modules since ↵Bryan Drewery2016-04-141-0/+1
| | | | | | | | | | | | | | | | | | | r284345. The change in r284345 moved the creation of openpam_static_modules.o to lib/libpam/static_modules but never managed to get them into libpam.a. Move this logic to lib/libpam/static_libpam and have it create a static library for libpam.a The main lib/libpam/libpam will only create a shared library. No redundancy in compilation or installation exists in this solution. This avoids requiring a pass with -D_NO_LIBPAM_SO_YET. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297946
* hosttools: Trim unneeded directories.Bryan Drewery2016-03-311-8/+1
| | | | | | | | | | | These should only be build tools that are in various Makefile.depend as host dependencies. Anything toolchain related is handled by toolchain and bootstrap-tools currently. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297442
* show-valid-targets: Indent each target 2 spaces.Bryan Drewery2016-03-301-2/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297433
* show-valid-targets: Organize all targets by the all_machine_list.Bryan Drewery2016-03-301-9/+13
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297430
* Move hosttools to Makefile.depend.host so it shows under host targets in ↵Bryan Drewery2016-03-302-36/+38
| | | | | | | | | show-valid-targets. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297428
* show-valid-targets: Show host targets and also order all of the targets.Bryan Drewery2016-03-301-2/+11
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297427
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2016-03-211-0/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297154
* META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.Bryan Drewery2016-03-113-8/+4
| | | | | | | | | | Extend it to other cases of meta mode cookies so they get the proper rm cookie behavior when a .meta file detects it needs to rebuild and fails. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296700
* DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples.Bryan Drewery2016-03-111-0/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296695
* DIRDEPS_BUILD: Connect MK_TESTS.Bryan Drewery2016-03-093-0/+346
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296587
* DIRDEPS_BUILD: Update clang dependencies after r296417.Bryan Drewery2016-03-082-3/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296550
* DIRDEPS_BUILD: Connect ofed.Bryan Drewery2016-03-042-0/+38
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296403
* Update dependencies.Bryan Drewery2016-02-262-2/+5
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296127
* Follow-up r295991: Only allow 'make destroy*' to include bsd.obj.mk.Bryan Drewery2016-02-261-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296120
* Convert casperd(8) daemon to the libcasper.Mariusz Zaborski2016-02-253-10/+11
| | | | | | | | | | | | | | | | | | | | | | | After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We have the same cwd as the original process. 2. The same uid, gid and groups. 3. The same MAC labels. 4. The same descriptor table. 5. The same routing table. 6. The same umask. 7. The same cpuset(1). From now services are also in form of libraries. We also removed libcapsicum at all and converts existing program using Casper to new architecture. Discussed with: pjd, jonathan, ed, drysdale@google.com, emaste Partially reviewed by: drysdale@google.com, bdrewery Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D4277 Notes: svn path=/head/; revision=296047
* DIRDEPS_BUILD: Allow destroy-(arch|host|stage) from top-level.Bryan Drewery2016-02-241-0/+3
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295992
* DIRDEPS_BUILD: Allow 'make destroy*' to work from top-level.Bryan Drewery2016-02-241-0/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295991
* FAST_DEPEND: Skip 'make depend' for buildworld and kernel since it is ↵Bryan Drewery2016-02-241-1/+0
| | | | | | | | | auto-ran now. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295990
* DIRDEPS_BUILD: Add some missing build dependencies for kerberos5.Bryan Drewery2016-02-241-0/+11
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295979
* Obsolete mkulzma(8) and geom_uncompress(4), their functionalityMaxim Sobolev2016-02-241-1/+0
| | | | | | | | | is now provided by mkuzip(8) and geom_uzip(4) respectively. MFC after: 1 month Notes: svn path=/head/; revision=295945
* DIRDEPS_BUILD: Hookup CLANG_EXTRAS.Bryan Drewery2016-02-161-0/+28
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295681
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2016-02-161-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295650
* Restore kgzldr on i386 onlyEd Maste2016-02-081-0/+1
| | | | | | | | | | | | | | | I previously disconnected kgzdr based on a misunderstanding. I'd still like to transition to supporting only the loader(8)-based boot path for handling compressed kernels, but that can follow the standard deprecation procedure. This reverts r291113. Requested by: dteske Notes: svn path=/head/; revision=295398
* Add in DIRDEPS_BUILD support.Bryan Drewery2016-01-071-0/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=293287
* local.meta.sys.mk already defines TARGET_ARCHES_armBryan Drewery2015-12-081-2/+0
| | | | Notes: svn path=/head/; revision=291973
* Garbage collect removed directories.Bryan Drewery2015-12-071-2/+0
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291946
* rescue/rescue does not yet build in meta mode.Bryan Drewery2015-12-031-1/+0
| | | | Notes: svn path=/head/; revision=291726
* DIRDEPS_BUILD: Connect usr.sbin/camddBryan Drewery2015-12-031-0/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291717
* META MODE: Connect MK_NAND directories.Bryan Drewery2015-12-022-0/+13
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291640
* Fully connect cddl/usr.sbin/plockstat.Bryan Drewery2015-12-021-0/+1
| | | | | | | | | | | There seems to be no reason to keep this so private. Also add missing optional MK_CDDL files. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291627
* META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-12-017-39/+239
| | | | | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
* META MODE: Fix userland/cddl.Bryan Drewery2015-12-011-7/+4
| | | | | | | | | | MK_CTF controls whether ctfmerge is ran against the binaries, not whether CTF tools should be built. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291562
* META MODE: Rework [bootstrapped] tools PATH support.Bryan Drewery2015-12-011-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Support more of the toolchain from TOOLSDIR. - This also improves 'make bootstrap-tools' to pass, for example, AS=/usr/bin/as to Makefile.inc1, which will tell cross-tools to use external toolchain support and avoid building things we won't be using in the build. - Always set the PATH to contain the staged TOOLSDIR directories when not building the bootstrap targets. The previous version was only setting this at MAKE.LEVEL==0 and if the TOOLSDIR existed. Both of these prevented using staged tools that were built during the build though as DIRDEPS with .host dependencies, such as the fix for needing usr.bin/localedef.host in r291311. This is not a common tool so we must build and use it during the build, and need to be prepared to change PATH as soon as it appears. This should also fix the issue of host dependencies disappearing from Makefile.depend and then reappearing due to the start of the fresh build not having the directory yet, resulting in the tools that were built not actually being used. - Only use LEGACY_TOOLS while building in Makefile.inc1. After r291317 and r291546 there is no need to add LEGACY_TOOLS into the PATH for the pseudo/targets/toolchain build. - Because the pseudo/targets/toolchain will now build its own [clang-]tblgen, the special logic in clang.build.mk is no longer needed. - LEGACY_TOOLS is no longer used outside of targets/pseudo/bootstrap-tools so is no longer passed into the environment in its build. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291561
* META MODE: For bootstrap-tools, don't let Makefile.inc1 build any of theBryan Drewery2015-12-011-1/+3
| | | | | | | | | | | | | toolchain. This change prevents building of [clang-]tblgen, which is unneeded due to already being a host dependency where needed for targets/pseudo/toolchain. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291546
* META MODE: Fix bootstrap-tools after r291349.Bryan Drewery2015-11-301-2/+5
| | | | | | | | | | | | Now that OBJTOP is assumed to be proper, it needs to be overridden for the bootstrap-tools phase to ensure it is not kept as the top-level OBJTOP. Otherwise the libraries were not found during the bootstrap-tools phase. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291540
* META MODE: Fix 'make bootstrap-tools'.Bryan Drewery2015-11-252-28/+10
| | | | | | | | | | | | | | | | | | The main problem was bitrot after elftoolchain being swapped in for the GNU toolchain. This also reworks how the list of 'host allowed' libraries is determined to only allow INTERNALLIBs, which is needed for libelftc to come in. For usr.bin/readelf use the same hack, as libelf and libdward, to bring in the needed sys/ headers for host builds. This has not yet been a problem due to readelf not being built as a host tool in buildworld. This is possible in the meta build though when building the toolchain. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291321
* META MODE: Add more hosttools needed pre-universe.Bryan Drewery2015-11-251-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291319
* META MODE: Need to include the LEGACY_TOOLS directories into PATH.Bryan Drewery2015-11-251-1/+2
| | | | | | | | | | | This is just as Makefile.inc1 does it for these phases. Otherwise some of the build tools are not found and used properly, such as 'make-roken' in the kerberos5 build on older releases. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291317
* META MODE: Fix 'make the-lot' with recent locale changesBryan Drewery2015-11-252-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291311
* META MODE: Avoid creating TESTS directories for bootstrap.Bryan Drewery2015-11-251-1/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291309
* META MODE: Don't override DESTDIR to the default when building the toolchain.Bryan Drewery2015-11-251-1/+1
| | | | | | | | | | | | | | | For this case, the normal META MODE staging logic should be used. The BSARGS having DESTDIR= is due to Makefile.inc1 overriding DESTDIR to something when appropriate. For the toolchain stage META MODE is in charge of it, not Makefile.inc1. At least include/, if staging it to the host stagedir, was impacted from this. Staging of include.host is not yet done. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291308
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery2015-11-252-6/+8
| | | | | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291307
* Disconnect unused kgzldr from sys/boot/i386Ed Maste2015-11-201-1/+0
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=291113
* Remove unsupported ia64.Bryan Drewery2015-11-192-7/+0
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291086
* META MODE: Don't set schg flags in the stagedir for distrib-dirs.Bryan Drewery2015-11-122-4/+4
| | | | | | | | | This recently started setting /var/empty to schg after r290628. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290719
* Connect nmtreeBryan Drewery2015-11-091-0/+1
| | | | Notes: svn path=/head/; revision=290624
* Rename usr.sbin/mtree to usr.sbin/fmtree since it is not what /usr/sbin/mtreeBryan Drewery2015-11-091-1/+1
| | | | | | | | | actually is (which is usr.sbin/nmtree). This has tricked me numerous times. Notes: svn path=/head/; revision=290623