#
0d849865 |
| 30-Jul-2018 |
Ed Maste <emaste@FreeBSD.org> |
Makefile.libcompat: correctly append to make variable
Reported by: hselasky Pointy hat to: emaste
|
#
ad91146c |
| 30-Jul-2018 |
Ed Maste <emaste@FreeBSD.org> |
Makefile.libcompat: use one variable assignment per line
This makes it easier to carry or merge patches that remove gnu/ components.
|
#
55a5b46a |
| 29-Jun-2018 |
Alex Richardson <arichardson@FreeBSD.org> |
Don't change directory owner to root when building with -DNO_ROOT
Currently the mtree calls in Makefile.inc1 all change the directory owner to match the spec file. However, we should not be doing th
Don't change directory owner to root when building with -DNO_ROOT
Currently the mtree calls in Makefile.inc1 all change the directory owner to match the spec file. However, we should not be doing this during distributeworld if -DNO_ROOT is passed. Additionally, when creating the WORLDTMP directory hierachy there is no need to change the owner to root so we now always pass the -W flag when populating WORLDTMP.
This is also required for building FreeBSD on Linux/Mac since the required groups/users will not exist there which is how I discovered this issue.
Reviewed By: emaste, bdrewery, imp Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D14185
show more ...
|
#
151578dc |
| 28-Jun-2018 |
John Baldwin <jhb@FreeBSD.org> |
Remove the various build flag hacks for GCC cross-compile.
The xtoolchain GCC packages have not required these flags since ports commits r465416 and r466701. The in-tree GCC 4.2.1 has also been pat
Remove the various build flag hacks for GCC cross-compile.
The xtoolchain GCC packages have not required these flags since ports commits r465416 and r466701. The in-tree GCC 4.2.1 has also been patched in r335716 and r335717 to correctly honor --sysroot when looking for includes and libraries.
Reviewed by: bdrewery Sponsored by: DARPA / AFRL Differential Revision: https://reviews.freebsd.org/D16055
show more ...
|
Revision tags: release/11.2.0 |
|
#
6e6be2bb |
| 20-Jun-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Reduce exec and fstat overhead for non-build targets.
This is mostly targetting 'make showconfig' and 'make test-system-*' for the benefit of makeman and universe-one-clang work.
Sponsored by: Dell
Reduce exec and fstat overhead for non-build targets.
This is mostly targetting 'make showconfig' and 'make test-system-*' for the benefit of makeman and universe-one-clang work.
Sponsored by: Dell EMC
show more ...
|
#
c4273800 |
| 15-Jun-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
lib32: Fix lib/libpmc/pmu-events files ending up in source directory.
This could happen with either WITHOUT_AUTO_OBJ=yes or MAKELEVEL>0 for the initial 'make buildworld' command.
This now ensures t
lib32: Fix lib/libpmc/pmu-events files ending up in source directory.
This could happen with either WITHOUT_AUTO_OBJ=yes or MAKELEVEL>0 for the initial 'make buildworld' command.
This now ensures that build-tools targets have 'make obj' ran if needed.
This is especially problematic for pmu-events since it is not directly connected in the build. Normally the 'make includes' call right before this implicitly creates the objdir with a 'make obj' already but misses pmu-events because it is disconnected from lib/libpmc. Fixing that would make this new 'make obj' pointless but it is being added to avoid this problem in the future should another tool be connected like this.
Reported by: rgrimes, kib, kevans Sponsored by: Dell EMC
show more ...
|
#
127b666c |
| 15-Jun-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
libcompat: Only build libmagic build tool if MK_FILE is yes.
Sponsored by: Dell EMC
|
#
6f1f2b19 |
| 15-Jun-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Only build jevents if MK_PMC is yes and only for amd64 in libcompat.
Sponsored by: Dell EMC
|
#
7d1c2b74 |
| 01-Jun-2018 |
Matt Macy <mmacy@FreeBSD.org> |
libpmc/pmu: enable for i386 as well
|
#
1c0cac23 |
| 24-Jan-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
X_COMPILER_* may not be defined.
Sponsored by: Dell EMC
|
#
a1554bba |
| 16-Jan-2018 |
John Baldwin <jhb@FreeBSD.org> |
Check for GCC first rather than clang in the MIPS lib32 rules.
This works around a bug with X_COMPILER_TYPE and permits mips64 to build again with in-tree gcc as well as clang and external gcc.
Spo
Check for GCC first rather than clang in the MIPS lib32 rules.
This works around a bug with X_COMPILER_TYPE and permits mips64 to build again with in-tree gcc as well as clang and external gcc.
Sponsored by: DARPA / AFRL
show more ...
|
#
c79126f2 |
| 12-Jan-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r327624 through r327885.
|
#
8d286bb9 |
| 11-Jan-2018 |
John Baldwin <jhb@FreeBSD.org> |
Allow MIPS lib32 to build with clang.
Don't try to set -march as clang doesn't permit use of the O32 ABI with newer CPU microarchitectures like 'mips3'. In addition, clang doesn't permit the O32 AB
Allow MIPS lib32 to build with clang.
Don't try to set -march as clang doesn't permit use of the O32 ABI with newer CPU microarchitectures like 'mips3'. In addition, clang doesn't permit the O32 ABI with the default N64 target, so use an explicit O32 -target for clang.
Sponsored by: DARPA / AFRL
show more ...
|
#
c2c014f2 |
| 07-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r323559 through r325504.
|
#
254d2760 |
| 05-Nov-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r325422
|
#
996e4759 |
| 05-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Fix nested MAKEOBJDIRPREFIX breaking various release/buildworld/toolchain targets.
This problem was caused by r325329 and r325350.
For the release(7) targets, some will run mm-mtree.sh which itself
Fix nested MAKEOBJDIRPREFIX breaking various release/buildworld/toolchain targets.
This problem was caused by r325329 and r325350.
For the release(7) targets, some will run mm-mtree.sh which itself runs make with a MAKEOBJDIRPREFIX. The execution of that script leaks OBJROOT, MAKEOBJDIR, and MAKELEVEL=1 in the environment. This causes the mm-mtree makes to not do some basic setup of OBJROOT and only use this special MAKEOBJDIRPREFIX case which fails to empty out MAKEOBJDIRPREFIX for further nested makes, such as a tree walk. If that tree walk sets OBJROOT/OBJTOP such as r325329 is doing, then the wrong OBJDIRs end up being used due to the unemptied MAKEOBJDIRPREFIX being preferred over the proper MAKEOBJDIR.
Pointyhat to: bdrewery Sponsored by: Dell EMC Isilon
show more ...
|
#
1031b94f |
| 05-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Set OBJROOT/OBJTOP as make arguments. Missed in r325329.
Sponsored by: Dell EMC Isilon
|
#
f6e116ee |
| 04-Nov-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r325383
|
#
4dc89c4d |
| 02-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Reduce MAKEOBJDIRPREFIX path spam by specifying a direct objdir to use.
Sponsored by: Dell EMC Isilon
|
#
dfa09989 |
| 01-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR.
This changes the build OBJDIR from the older style of /usr/obj/<srcdir> for native builds, and /usr/obj/<target>.<targ
Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR.
This changes the build OBJDIR from the older style of /usr/obj/<srcdir> for native builds, and /usr/obj/<target>.<target_arch>/<srcdir> for cross builds to a new simpler format of /usr/obj/<srcdir>/<target>.<target_arch>. This new format is used regardless of cross or native build. It allows easier management of multiple source tree object directories.
The UNIFIED_OBJDIR option will be removed and its feature made permanent for the 12.0 release.
Relnotes: yes (don't note UNIFIED_OBJDIR option since it will be removed) Prior work: D3711 D874 Reviewed by: gjb, sjg Discussed at: https://lists.freebsd.org/pipermail/freebsd-arch/2016-May/017805.html Discussed with: emaste Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D12840
show more ...
|
#
3c5ab8c1 |
| 30-Oct-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r325119
|
#
2aba4f29 |
| 29-Oct-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
lib32/libsoft: Store object files in a more consistent structure.
Having objects in world32 and a sysroot in lib32 was confusing and inconsistent with the normal build. Now objects are stored in ob
lib32/libsoft: Store object files in a more consistent structure.
Having objects in world32 and a sysroot in lib32 was confusing and inconsistent with the normal build. Now objects are stored in obj-lib32 (or obj-libsoft) and the sysroot (analagous to WORLDTMP) is stored in obj-lib32/tmp.
Sponsored by: Dell EMC Isilon
show more ...
|
#
67d2f51a |
| 29-Oct-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Move some LIBCOMPAT tmpdir logic setup to its own build target.
Its own build target was already handling mtree extractions just as _worldtmp did, so the other cleaning of the tmpdir makes sense her
Move some LIBCOMPAT tmpdir logic setup to its own build target.
Its own build target was already handling mtree extractions just as _worldtmp did, so the other cleaning of the tmpdir makes sense here as well.
Sponsored by: Dell EMC Isilon
show more ...
|
#
50896984 |
| 10-Oct-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r324482
|
#
0b972ac9 |
| 06-Oct-2017 |
Warner Losh <imp@FreeBSD.org> |
Support armv7 builds for userland
Make armv7 as a new MACHINE_ARCH.
Copy all the places we do armv6 and add armv7 as basically an alias. clang appears to generate code for armv7 by default. armv7 h
Support armv7 builds for userland
Make armv7 as a new MACHINE_ARCH.
Copy all the places we do armv6 and add armv7 as basically an alias. clang appears to generate code for armv7 by default. armv7 hard float isn't supported by the the in-tree gcc, so it hasn't been updated to have a new default.
Support armv7 as a new valid MACHINE_ARCH (and by extension TARGET_ARCH).
Add armv7 to the universe build.
Differential Revision: https://reviews.freebsd.org/D12010
show more ...
|