History log of /freebsd-current/sys/conf/Makefile.amd64
Revision Date Author Comments
# 29363fb4 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 031beb4e 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 8372afd0 03-Jan-2023 Mitchell Horne <mhorne@FreeBSD.org>

Clarify DTR_ENABLED make variable

Rename it to DTRACE_ENABLED.

Suggested by: jhb
MFC after: 3 days
Sponsored by: The FreeBSD Foundation


# 265cef40 28-Apr-2020 Bryan Drewery <bdrewery@FreeBSD.org>

Don't try ctfconvert on file without debug info.

This was currently an ignored error but will change to a hard error
eventually.

Differential Revision: https://reviews.freebsd.org/D24536


# ea96b3de 01-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Retire CLANG_NO_IAS34

CLANG_NO_IAS34 was introduced in r276696 to allow then-HEAD kernels to
be built with clang 3.4 in FreeBSD 10. As FreeBSD 11 and later includes
a version of Clang with a sufficiently capable integrated assembler we
do not need the workaround any longer.

Sponsored by: The FreeBSD Foundation


# e47edf50 17-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

Revert r336353 completely based on protest; compatibility shims incoming


# 59996cb2 16-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

Revert 336358 and step away fron machine for the day...

VERSREQ < 7.+ physically will not work with new config(8) due to major bump,
which is why I bumped it in the first place... Back to the original version


# 78a25cc7 16-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

Partially revert r336353: sys/conf/* %VERSREQ bumps

The changes made in r335998 don't strictly require a newer config(8),
though it is advised. The %VERSREQ bumps were premature.


# 2df45ae0 16-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

config(8): Bump major version after r335998

config-generated hints.c/env.c from r335998 and later are incompatible with
earlier kernels due to no longer setting envmode/hintmode. A minor bump for
this is insufficient, as matching major version with a later minor version
is still viewed as backwards-compatible.

This was an MI kernel change, soo all VERSREQ's are bumped.


# 9aca3e0f 04-Jan-2015 Warner Losh <imp@FreeBSD.org>

Clang's 3.5 integrated assembler now handles these files correctly (it
has support for the .codeXX directives). However, it is desirable, for
a time, to allow kernels to be built with clang 3.4. Historically, it
has been advantageous to allow stable X-1 to build kernels the old
way (so long as the impact of doing so is small), and this restores
that ability.

Also, centralize the addition of ${ASM_CFLAGS.${.IMPSRC}}, place it in
kern.mk rather than kern.pre.mk so that all modules can benefit, and
give the same treatment to CFLAGS in kern.mk as well.


# 4f104484 01-Jan-2015 Roman Divacky <rdivacky@FreeBSD.org>

LLVM integrated assembler can assemble these files just fine.


# ab2de2d7 04-Feb-2014 Warner Losh <imp@FreeBSD.org>

Bump the version of config to the latest (3 year old, so upgrade
worries are long past). Also remove redundant MACHINE= declarations
and passing MACHINE/MACHINE_ARCH to module builds. That's now done in
common code.


# 4d93b060 27-Aug-2013 Roman Divacky <rdivacky@FreeBSD.org>

Assemble linux32_locore.s and ia32_sigtramp.S with clang integrated assembler.
Support for .code32 and .code64 in llvm was implemented more than 2 years ago.

Tested by: Dan McGregor <dan.mcgregor at usask dot ca>


# 2565edc4 09-Jul-2013 Andriy Gapon <avg@FreeBSD.org>

amd64: use -mno-omit-leaf-frame-pointer in addition to -fno-omit-frame-pointer

... in kernel builds. This is to make behavior of clang consistent with
behavior of gcc.

MFC after: 2 weeks


# cb34ed44 20-May-2013 Marcel Moolenaar <marcel@FreeBSD.org>

Add basic support for FDT to i386 & amd64. This change includes:
1. Common headers for fdt.h and ofw_machdep.h under x86/include
with indirections under i386/include and amd64/include.
2. New modinfo for loader provided FDT blob.
3. Common x86_init_fdt() called from hammer_time() on amd64 and
init386() on i386.
4. Split-off FDT specific low-level console functions from FDT
bus methods for the uart(4) driver. The low-level console
logic has been moved to uart_cpu_fdt.c and is used for arm,
mips & powerpc only. The FDT bus methods are shared across
all architectures.
5. Add dev/fdt/fdt_x86.c to hold the fdt_fixup_table[] and the
fdt_pic_table[] arrays. Both are empty right now.

FDT addresses are I/O ports on x86. Since the core FDT code does
not handle different address spaces, adding support for both I/O
ports and memory addresses requires some thought and discussion.
It may be better to use a compile-time option that controls this.

Obtained from: Juniper Networks, Inc.


# 43bb1a21 12-Sep-2012 David E. O'Brien <obrien@FreeBSD.org>

Remove duplication and centralize testing of various config(8)ed features.


# c475a3ea 12-Sep-2012 David E. O'Brien <obrien@FreeBSD.org>

Not all Pmake derived makes quietly tolerate assignment from shell commands
with no output. Add "echo" at the end these shell commands whose output is
assigned to a variable's value to ensure there is some output.

Submitted by: John Van Horne <jvanhorne@juniper.net>


# 07b202a8 28-Feb-2012 Dimitry Andric <dim@FreeBSD.org>

Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang (disables -Werror)
- NO_WCAST_ALIGN.clang (disables -Wcast-align)
- NO_WFORMAT.clang (disables -Wformat and friends)
- CLANG_NO_IAS (disables integrated assembler)
- CLANG_OPT_SMALL (adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf! For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp

MFC after: 2 weeks


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# f459061b 02-May-2010 Warner Losh <imp@FreeBSD.org>

Move to the new way of specifying compat options. The backs out the
FOO = BAR form, in favor of listing the mapping in a separate file
for more compatibility with older versions of config.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 91d0f31d 22-May-2008 John Birrell <jb@FreeBSD.org>

Add a kernel option for amd64 to compile with the frame on the stack
so that the DTrace Function Bounadry Trace (fbt) provider can get
coverage of most functions in the kernel.


# d07f36b0 07-Dec-2007 Joseph Koshy <jkoshy@FreeBSD.org>

Kernel and hwpmc(4) support for callchain capture.

Sponsored by: FreeBSD Foundation and Google Inc.


# 332fd25c 16-May-2007 Wojciech A. Koszek <wkoszek@FreeBSD.org>

Revert config(8) version bump. It brings major pain for people working on
different versions of FreeBSD source tree.

Old config(8) can now be used unless you want to use INCLUDE_CONFIG_FILE
option.

Approved by: imp
Reviewed by: imp


# 9e2f7513 12-May-2007 Wojciech A. Koszek <wkoszek@FreeBSD.org>

Bump config(8) version and build requirement for config(8) to 600006. This
is caused by my latest changes to config(8). You're supposed to install new
config(8) in order to prevent yourself from seeing a warning about old
version of that tool.

You should configure the kernel with a new config(8) then.

Oked by: rwatson, cognet (mentor)


# 9fe342e7 28-Nov-2005 Warner Losh <imp@FreeBSD.org>

Version 600004 is better than 700000 given other changes that are in
the pipeline. We had to bump the version for 600004 because the old
parser got confused and generated bogus output.

Approved by: ru@


# a8e06f2a 27-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

Make config(8) understand ORed dependecies in "files*" and
improve tracking of known devices. Bump config(8) version.


# 05b5ca73 03-Nov-2005 Warner Losh <imp@FreeBSD.org>

We don't bump the config version for additions to config that aren't
used in the base system. This has been much discussed in the past
(typically people giving me a hard time for it). Since all that was
added to config was nocpu, and since we don't use it, we don't need to
bump the version.


# acd58322 03-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

Implement the "nocpu" directive.

Requested by: rwatson


# b34b3c19 27-Oct-2005 John Baldwin <jhb@FreeBSD.org>

Bump config(8) version for the DEFAULTS change.


# a7d30e5f 07-Sep-2005 David E. O'Brien <obrien@FreeBSD.org>

Use the more readable empty() syntax.


# 23804f1a 13-Apr-2005 Warner Losh <imp@FreeBSD.org>

Never hardcode /sys into these Makefiles. The proper way to spell it is $S.

Also, move the -I stuff to the centralized kern.pre.mk. However, it
might be better to add these flags to files.conf. This is a short
term fix to fix the broken builds on my machine (I don't have a valid
/sys link).


# f0c1dee2 12-Apr-2005 Vinod Kashyap <vkashyap@FreeBSD.org>

The latest release of the FreeBSD driver (twa) for
3ware's 9xxx series controllers. This corresponds to
the 9.2 release (for FreeBSD 5.2.1) on the 3ware website.

Highlights of this release are:

1. The driver has been re-architected to use a "Common Layer"
(all tw_cl* files), which is a consolidation of all OS-independent
parts of the driver. The FreeBSD OS specific portions of the
driver go into an "OS Layer" (all tw_osl* files).
This re-architecture is to achieve better maintainability, consistency
of behavior across OS's, and better portability to new OS's (drivers
for new OS's can be written by just adding an OS Layer that's specific
to the OS, by complying to a "Common Layer Programming Interface" API.

2. The driver takes advantage of multiple processors.

3. The driver has a new firmware image bundled, the new features of which
include Online Capacity Expansion and multi-lun support, among others.
More details about 3ware's 9.2 release can be found here:
http://www.3ware.com/download/Escalade9000Series/9.2/9.2_Release_Notes_Web.pdf

Since the Common Layer is used across OS's, the FreeBSD specific include
path for header files (/sys/dev/twa) is not part of the #include pre-processor
directive in any of the source files. For being able to integrate twa into
the kernel despite this, Makefile.<arch> has been changed to add the include
path to CFLAGS.

Reviewed by: scottl


# 5abe8537 01-Apr-2005 Warner Losh <imp@FreeBSD.org>

Update version number for latest config version bump


# f80d2828 10-Feb-2005 John-Mark Gurney <jmg@FreeBSD.org>

bump the Makefile config versions now that config is 600001...

Forgotten by: des


# f37a929c 30-Aug-2004 Peter Wemm <peter@FreeBSD.org>

Kill count device support from config. I've changed the last few
remaining consumers to have the count passed as an option. This is
i4b, pc98/wdc, and coda.

Bump configvers.h from 500013 to 600000.

Remove heuristics that tried to parse "device ed5" as 5 units of the ed
device. This broke things like the snd_emu10k1 device, which required
quotes to make it parse right. The no-longer-needed quotes have been
removed from NOTES, GENERIC etc. eg, I've removed the quotes from:
device snd_maestro
device "snd_maestro3"
device snd_mss

I believe everything will still compile and work after this.


# 5090c987 09-May-2004 Olivier Houchard <cognet@FreeBSD.org>

Change required config(8) version.


# 00f553ed 29-Sep-2003 Peter Wemm <peter@FreeBSD.org>

Stop this warning:
"Makefile", line 35: warning: "grep DDB opt_ddb.h" returned non-zero status


# ec2343a8 29-May-2003 Peter Wemm <peter@FreeBSD.org>

Add ddb machdep bits.

Approved by: re (amd64 bits)


# 92f0cd89 19-May-2003 Peter Wemm <peter@FreeBSD.org>

s/x86_64/amd64/ in comments in header.

Approved by: re (blanket amd64)


# b2744ab9 09-May-2003 Peter Wemm <peter@FreeBSD.org>

Remove special hacks for FSF cross tools now that it builds natively.


# b05deb9b 30-Apr-2003 Peter Wemm <peter@FreeBSD.org>

Sync up with the files in the hammer branch in the p4 tree to get basic
AMD64 support. There is still more to add.


# 18b492fc 15-Apr-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Bump the config version to force people to upgrade their config(8)
so the fix for emitting multiple instances of .o files will prevent
link errors on LINT.


# 5d1b6a85 28-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Standardize handling of locore.[sS] etc. files.

Submitted by: jake, bde, ru


# ba37958b 31-Jul-2002 Jake Burkholder <jake@FreeBSD.org>

Moved the rule for locore.o from kern.post.mk to Makefile.$ARCH.


# 83655698 13-Jul-2002 Bruce Evans <bde@FreeBSD.org>

Moved the setting of all profiling-related variables except the key one
(PROFLEVEL) to kern.pre.mk so that it is easier to manage. Bumped config
version to match.

Moved the check for cputype being configured to a less bogus place in
mkmakefile.c.


# d2be885e 30-Jun-2002 David E. O'Brien <obrien@FreeBSD.org>

This is the start of the FreeBSD/x86_64 kernel.