History log of /freebsd-10-stable/sys/conf/Makefile.pc98
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 242870 10-Nov-2012 nyan

MFi386: r232263

Fix build mpboot.s with clang.


# 169612 16-May-2007 wkoszek

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


# 169515 13-May-2007 wkoszek

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)


# 154975 29-Jan-2006 nyan

Set MACHINE to i386(pc98). This fixes cross-building.


# 152891 28-Nov-2005 imp

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@


# 152862 27-Nov-2005 ru

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


# 152026 04-Nov-2005 imp

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.


# 152018 03-Nov-2005 ru

Implement the "nocpu" directive.

Requested by: rwatson


# 151763 27-Oct-2005 jhb

Bump config(8) version for the DEFAULTS change.


# 145016 13-Apr-2005 imp

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).


# 144966 12-Apr-2005 vkashyap

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


# 144560 03-Apr-2005 imp

Now that we have proper links, no need to fake up ones as part of
depend. Now that we no longer need this hack, remove it.

Forgotten by: imp
Reminded by: nyan


# 144510 01-Apr-2005 imp

Update version number for latest config version bump


# 141666 10-Feb-2005 jmg

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

Forgotten by: des


# 134542 30-Aug-2004 peter

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.


# 129075 09-May-2004 cognet

Change required config(8) version.


# 113536 15-Apr-2003 phk

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.


# 111684 28-Feb-2003 ru

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

Submitted by: jake, bde, ru


# 101064 31-Jul-2002 jake

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


# 99923 13-Jul-2002 bde

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.


# 91002 20-Feb-2002 peter

Commit some infrastructure for turning on -Werror for kernel compiles.
It doesn't actually do it yet though. This adds a flag to config so
that we can exclude certain vendor files from this even when the rest
of the kernel has it on. make -DNO_WERROR would also bypass all of it.


# 87860 14-Dec-2001 peter

Proper fix for old config setting maxusers to 8.


# 86276 11-Nov-2001 imp

Move kern.post.mk to last line, now that it appears safe


# 86048 04-Nov-2001 imp

Move machine link creation from genassym to kernel-depend, per nyan@


# 85914 02-Nov-2001 imp

Arrgh. A clean pc98 build failed due to bogons on my part :-(.

Fix it by putting back the link of machine to sys/i386/include rather
than ../../include (aka sys/pc98/include). I had a stale machine link
on my first test.

Not sure what the "right" fix is, but this unbreaks things.


# 85909 02-Nov-2001 imp

Factor the common parts of the Makefile.foo files. This introduces two
new files: kern.pre.mk, which contains most of the definitions, and
kern.post.mk, which contains most of the rules.

I've tested this on i386 and pc98. I have had feedback on the sparc64
port, but no reports from anybody on alpha, ia64 or powerpc. I
appologize in advance if I've broken you.

Reviewed by: jake, jhb, arch@


# 85797 01-Nov-2001 brian

Only overwrite ${DESTDIR}${KODIR}.old/${KERNEL_KO} if we haven't
booted from it when doing an installkernel.

Only change kern.bootfile from ${DESTDIR}${KODIR}/${KERNEL_KO}
to ${DESTDIR}${KODIR}.old/${KERNEL_KO}, and only when we're renaming
a booted ${DESTDIR}${KODIR}/${KERNEL_KO} kernel.


# 85570 26-Oct-2001 des

Support the "install.debug" and "reinstall.debug" targets for kernel modules.
Small tweaks to kldxref may be necessary to avoid the surprising (but harm-
less) behaviour of 'kldload foo' loading foo.ko.debug instead of foo.ko if
it is present in the kernel directory.

Approved by: a week of silence on -arch
MFC after: 2 weeks


# 85532 26-Oct-2001 ru

Finish the asbestos suited move of $mach/conf/*.$mach to conf/*.$mach.
Fix some more typos.


# 85198 19-Oct-2001 mp

Make override of nm consistent across all platforms and sort the overrides.

Reminded by: obrien


# 85073 17-Oct-2001 brian

Change kern.bootfile when mv'ing the kernel

Not tested by: brian


# 82393 27-Aug-2001 peter

Enable hardwiring of things like tunables from embedded enironments
that do not start from loader(8).


# 81660 14-Aug-2001 peter

In order to bring about the end of the universe, delete the lines:
# DO NOT DELETE THIS LINE -- make depend uses it


# 81079 02-Aug-2001 peter

Further Makefile.* sync (from Makefile.ia64). The lint target has been
commented out in the entire life of the 2.x+ branch and given the amount
of gcc-specific code we have and the warning checks that gcc does I'm not
sure that it is going to get us much for some time.


# 81078 02-Aug-2001 peter

Move MKMODULESENV+= *after* MKMODULESENV=


# 81037 02-Aug-2001 sheldonh

When building a debugging kernel with modules, build modules with
debugging support as well.

This relies on support added in rev 1.105 to kmod.mk.

Requested by: peter


# 80528 29-Jul-2001 kato

Make symlink $S/$M/include -> compile/FOO/machine at kernel-depend
instead of geneassym.o.


# 80419 26-Jul-2001 peter

param.c no longer gets special treatment. Use the source tree version.


# 79078 02-Jul-2001 imp

Bump config version.


# 79017 30-Jun-2001 imp

The path in the last commit should have been
src/sys/MACHINE/compile/FOO


# 79014 30-Jun-2001 imp

Move kernel compile directory from sys/compile/FOO to
sys/compile/${MACHINE}/FOO.

Reviewed by: arch, obrien, peter and
the USENIX terminal room secret kernel cabal


# 78161 13-Jun-2001 peter

With this commit, I hereby pronounce gensetdefs past its use-by date.

Replace the a.out emulation of 'struct linker_set' with something
a little more flexible. <sys/linker_set.h> now provides macros for
accessing elements and completely hides the implementation.

The linker_set.h macros have been on the back burner in various
forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()),
John Polstra (ELF clue) and myself (cleaned up API and the conversion
of the rest of the kernel to use it).

The macros declare a strongly typed set. They return elements with the
type that you declare the set with, rather than a generic void *.

For ELF, we use the magic ld symbols (__start_<setname> and
__stop_<setname>). Thanks to Richard Henderson <rth@redhat.com> for the
trick about how to force ld to provide them for kld's.

For a.out, we use the old linker_set struct.

NOTE: the item lists are no longer null terminated. This is why
the code impact is high in certain areas.

The runtime linker has a new method to find the linker set
boundaries depending on which backend format is in use.

linker sets are still module/kld unfriendly and should never be used
for anything that may be modular one day.

Reviewed by: eivind


# 78131 12-Jun-2001 peter

Move the -I../../../include or -I/usr/include to the last entry on the
cc arguments. Otherwise ipfilter's bogus #include lines will compile
reference /usr/include/netinet/ip_frag.h etc.


# 77854 07-Jun-2001 jlemon

Relocate IPFilter from sys/netinet to sys/contrib/ipfilter.


# 77430 29-May-2001 msmith

New files and layout for the ACPI CA 20010518 update.


# 76114 28-Apr-2001 obrien

Add back in the bits to remove any existing "schg" flags as we have
kernel's out in wild that still have these flags set.


# 75984 25-Apr-2001 obrien

Don't install KO's with the "schg" flag.
We are way too inconsistent with our setting of the "schg" flag, and in
our default install, it doesn't really offer any additional security.

Reviewed by: arch@


# 75933 25-Apr-2001 imp

Ignore chflags errors. This makes installing to nfs mounted target
directories work.


# 75082 02-Apr-2001 imp

Add support for MODULES_OVERRIDE. This is a list of modules to build
instead of all of them. You can put this in /etc/make.conf or in
makeoptions.

Reviewed by: arch@

# docs to follow.


# 74742 24-Mar-2001 obrien

Restore the careful preservation of .depend (rev 1.78 of Makefile.i386)
that I removed in my last commit dealing with `make depend' bogons.
This commit has some races, but hopefully they are too short to matter.
Unfortuneatly, neither .newdep nor .olddep is removed by `make clean'.

Submitted by: bde


# 74146 12-Mar-2001 kris

Use CPUTYPE to add appropriate compiler flags to COPTFLAGS for kernel
builds. This may be disabled using the NO_CPU_COPTFLAGS variable.

Reviewed by: arch


# 73133 27-Feb-2001 peter

Add a 'clobber' target.. Like 'clean' but it takes out even the config
generated stuff, leaving only 'version' in the build dir.


# 73018 25-Feb-2001 peter

genassym.sh does not work with a.out because the sizes are rounded up
by the compiler. ie: char foo[0] comes out as 4 bytes on a.out, and
we depended on it coming out as 0 for the script version. :-(

Make double sure that genassym.o is built and nm'ed in elf mode.

(ia64 skipped since it is stuck on the linux toolchain and doesn't
understand the -elf switches)


# 72560 17-Feb-2001 marcel

Revert gensetdefs.pl reversal.


# 72396 12-Feb-2001 obrien

Fix `make depend' => `make kernel-depend'. Using the dependancy file
when rebuilding it is just Wrong.


# 71751 28-Jan-2001 marcel

Revert previous commit. I messed up my testing.


# 71729 28-Jan-2001 marcel

Improve kernel bootstrapping:
o Use objdump instead of gensetdefs(1) to build the linker sets.
o Allow overriding of nm and objdump in resp. genassym.sh and
gensetdefs.pl for non-native toolchains.

Reviewed by: arch
Perl improvements: Jos Backus <josb@cncdsl.com>, benno


# 71267 19-Jan-2001 jhb

Change the reinstall.debug target to depend on
{kernel,modules}-reinstall.debug rather than {kernel,modules}-reinstall.
Otherwise, the '.debug' portion of the target is lost, and you end up
reinstalling the non debug version instead of the debug version.


# 71252 19-Jan-2001 peter

Corresponding version bump for config with the DEV_FOO replacement for
the NFOO count option.


# 70332 24-Dec-2000 obrien

Back out the modules `make obj' speedup.
I cannot find a way to do this with the more esoteric source dir schemes
I thought of.


# 70266 22-Dec-2000 kato

Merged from Makefile.i386 revision 1.217.


# 70265 22-Dec-2000 kato

Merged from Makefile.i386 revision 1.216.


# 70083 16-Dec-2000 kato

Merged from Makefile.i386 revision 1.215.


# 69817 10-Dec-2000 nyan

Added 'MACHINE=pc98' to MKMODULESENV variable. It is needed to make modules
for PC-98 on IBM-PC box.


# 69135 25-Nov-2000 peter

Make the xxxFILES= list generation generic. This makes it easier to add
things like MFILES= or CONFFILES= without having to modify config code.


# 68864 17-Nov-2000 obrien

Fix the `make -jX' (X>1) breakage.

Based on patch submitted by: Makoto MATSUSHITA <matusita@jp.freebsd.org>
Reviewed by: marcel, bde


# 68360 05-Nov-2000 nyan

Merged from the following changes.

sys/conf/Makefile.i386 1.211
sys/conf/files.i386 1.329
sys/isa/fd.c 1.186, 1.188 and 1.189
sys/isa/sio.c 1.305 and 1.317
sys/i386/conf/GENERIC 1.270, 1.281, 1.282 and 1.284
sys/i386/i386/machdep.c 1.419
sys/i386/i386/userconfig.c 1.184


# 67861 29-Oct-2000 phk

Add a hook for doing #include magic (for src/tools/tools/kerninclude).


# 67109 14-Oct-2000 phk

Make it possible to specify profiling in the kernel config file.

Do so for LINT.


# 66600 03-Oct-2000 obrien

Do not prepend `DESTDIR' to `KMODDIR' as sys/conf/kmod.mk already does
that for us.


# 65839 14-Sep-2000 obrien

Install the kernel KLM as "kernel" by default.


# 65561 07-Sep-2000 obrien

Create an "expert" mode where the device hints are not checked during
installation. This is need for the release build.


# 65554 06-Sep-2000 obrien

Remove superfluous `/'s before KODIR.

Acceptability explained by: rgrimes


# 65512 06-Sep-2000 obrien

DESTDIR'ify the device.hints checking code.


# 65511 06-Sep-2000 obrien

I forgot the leading `DESTDIR' before the kernel directory.


# 65501 05-Sep-2000 obrien

The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.


# 65091 25-Aug-2000 peter

If a ${KERNEL}.hints file exists, and no hints are specified explicitly,
then include the hints with a marker indicating that it is a fallback.
The kernel side of this is to come shortly.


# 65089 25-Aug-2000 peter

Add some anti-foot-shooting protection to the kernel install target.
Do not install a kernel unless a device.hints exists. Yes, you can
create an empty hints file if you refuse to use them.


# 64184 03-Aug-2000 obrien

* Create entire directory path for modules.
* Don't ignore error returns.


# 63907 27-Jul-2000 green

-mkdir the ${DESTDIR}/modules directory upon modules-install in case it
doesn't exist. This could bite you by allowing you merrily install your
modules one on top of the other as the regular file ${DESTDIR}/modules
and think it completed properly...


# 61971 22-Jun-2000 peter

Make the generated set headers depend on Makefile as well (that is where
the list of .o files comes from - if we change the list of files that
are built, we need to rescan the files)

Obtained from: bde (indirectly)


# 61745 17-Jun-2000 obrien

Add back "NO_MODULES" as using ``make -DMODULES_WITH_WORLD'' in the
kernel build dir doesn't really say what your intentions are.


# 61744 17-Jun-2000 obrien

If "MODULES_WITH_WORLD" is defined, sys/modules will be built with the
world as was our old way, rather than when building a kernel.

Some people do not like the new way, and the release building still assumes
modules are built with the world.


# 61731 16-Jun-2000 kato

Merged from sys/conf/Makefile.i386 revisions 1.192 and 1.193.


# 61640 13-Jun-2000 peter

Borrow phk's axe and apply the next stage of config(8)'s evolution.

Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.

config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320

userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.

It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.

All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.

There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/

Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.

Please exercise EXTREME CAUTION when transitioning!

Moral support by: phk, msmith, dfr, asmodai, imp, and others


# 61593 12-Jun-2000 peter

Use objcopy to strip the gcc2_compiled. symbol from kernels.
ld(1) doesn't seem to have the ability to delete an arbitary symbol.


# 61523 10-Jun-2000 peter

A checkpoint of a part of a work-in-progress. Some more cleanups for
config(8). This commit allows control of the creation of the
#include "foo.h" files. We now only create them explicitly when needed.
BTW; these are mostly bad because they usually imply static limits on
numbers of units for devices. eg: struct mysoftc sc[NFOO];
These static limits have Got To Go.


# 61328 06-Jun-2000 kato

Merged from sys/conf/Makefile.i386 revision 1.187.


# 61174 02-Jun-2000 bde

Use "nm | awk ..." instead of genassym(1) to generate symbol value headers.
Symbol values are now represented using array sizes (4 arrays per symbol
so that 16-bit machines can represent 64-bit values) instead of being raw
binary values.

Reviewed by: marcel


# 60322 10-May-2000 nyan

Sync with sys/conf/Makefile.i386 revision 1.184, 1.185 and 1.186.


# 59737 29-Apr-2000 peter

LOAD_ADDRESS is not used here. See conf/ldscript.* for the link base
address.


# 59168 12-Apr-2000 kato

Merged from sys/conf/Makefile.i386 rev 1.182.


# 59039 05-Apr-2000 kato

Synced with sys/conf/Makefile.i386 revision 1.181.


# 58803 29-Mar-2000 peter

Include param.o in the list of files that we scan for linker sets.
Without this, we cannot put sysctl nodes in there.


# 56444 23-Jan-2000 peter

Bump configvers.h as a precaution. Although existing config files will
work unmodified still, new config files won't work on the old ones.


# 55677 09-Jan-2000 peter

Point to the right kernel ld script.
Remove stray PC98 make variable.


# 55663 09-Jan-2000 kato

Synced with sys/i386/conf/Makefile.i386 rev 1.176.


# 55636 09-Jan-2000 peter

Bump configversion. The controller/device changes are upwards but not
downwards compatable. If you try and config a s/controller/device/ kernel
with an old config(8), the results will be less than satisfactory.


# 55604 08-Jan-2000 bde

Compile genassym.c with ordinary ${CFLAGS}. The (small) needs for
${GEN_CFLAGS} and -U_KERNEL became negative when all all the
genassym.c's were converted to be cross-built.

Makefile.*:
- Cleanups associated with the old genassym.
- Fixed deprecated spelling of ${.IMPSRC} as "$<".


# 55545 07-Jan-2000 marcel

Use genassym(1). The definitions of NKPDE and NKPT have been removed
because they are already defined in pmap.h, resulting in duplicate
definitions.

Reviewed by: bde


# 55322 03-Jan-2000 kato

Synced with sys/i386/conf/Makefile.i386 rev 1.170.


# 55149 27-Dec-1999 kato

Synced with sys/i386/conf/Makefile.i386 rev 1.169.


# 54878 20-Dec-1999 kato

Sync with sys/i386/conf/Makefile.i386 rev 1.167.


# 54549 13-Dec-1999 kato

Merge from sys/i386/conf/Makefile.i386 rev 1.166.


# 53689 25-Nov-1999 nyan

Sync with sys/i386/conf/Makefile.i386 revision 1.165.


# 53371 18-Nov-1999 nyan

Sync with sys/i386/conf/Makefile.i386 revision up to 1.163.


# 52651 30-Oct-1999 marcel

Allow the source root `S' to be overridden by defining it only when
it isn't already defined. It enables config(8) to create the kernel
build directory where it wants.


# 52203 13-Oct-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.160.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 48679 08-Jul-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.158.


# 48507 03-Jul-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.157.


# 48319 28-Jun-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.156.


# 46864 10-May-1999 kato

Sync with sys/i386/conf/GENERIC and Makefile.i386 revisions 1.169 and
1.152, respectively.


# 46750 09-May-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.149.


# 46045 25-Apr-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.148.


# 45856 20-Apr-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.147.


# 45783 18-Apr-1999 kato

Sync with follwing files:

Path Revision
i386/conf/GENERIC 1.162
i386/conf/Makefile.i386 1.146
i386/conf/files.i386 1.236
i386/conf/options.i386 1.111
i386/i386/machdep.c 1.329
i386/i386/userconfig.c 1.134
i386/isa/fd.c 1.135
i386/isa/if_ed.c 1.151
i386/isa/isa_dam.c 1.1
i386/isa/npx.c 1.67
isa/sio.c 1.224
dev/syscons/syscons.c 1.300
i386/isa/wd.c 1.194
isa/vga_isa.c 1.5
isa/atkbd_isa.c 1.3
isa/syscons_isa.c 1.2

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>


# 45579 11-Apr-1999 grog

Back out default debug kernel. The flags revert to historical behaviour.

Requested-by: ache
bde
dg

Modify targets for debug kernels: when -g was specified, make will
now build a debug kernel called kernel.debug, and create a stripped
version called kernel at the same time. The two targets install and
install.debug are otherwise unchanged.

Requested-by: dillon

Update man page accordingly.


# 45424 07-Apr-1999 grog

1. Modify config to issue different code for debugging.
2. Config complains if you use -g:

Debugging is enabled by default, there is no ned to specify the -g option

3. Config warns you if you don't use -s:

Building kernel with full debugging symbols. Do
"config -s BSD" for historic partial symbolic support.
To install the debugging kernel, do make install.debug

(BSD was the name of the config file I used; I print out the same
name).

4. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 and config to
work if a kernel name other than 'kernel' is specified. This is
not absolutely necessary, but useful, and it was relatively easy.
I now have a kernel called /crapshit :-)

5. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 "clean" target
to remove both the debug and normal kernel.

6. Modify all to install the stripped kernel by default and the debug
kernel if you enter "make install.debug".

7. Update version number of Makefiles and config.


# 44721 13-Mar-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.141.


# 44424 02-Mar-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.140.


# 43994 14-Feb-1999 des

Ignore errors from chflags. This makes it possible to make installworld
with DESTDIR set to an NFS-mounted file system.


# 43274 27-Jan-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.138.


# 43192 25-Jan-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.137.


# 42892 20-Jan-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.136.


# 42797 18-Jan-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.135.


# 42450 09-Jan-1999 jdp

Switch to using ".So" as the extension for PIC object files rather
than ".so". The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.


# 42397 08-Jan-1999 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.133.


# 42057 25-Dec-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.132.


# 41974 21-Dec-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.131.


# 41597 08-Dec-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.130.


# 41198 16-Nov-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.129.


# 40954 06-Nov-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.128.


# 40693 28-Oct-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.127.


# 40221 11-Oct-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.126.


# 39972 05-Oct-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.125.


# 39567 22-Sep-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.124.


# 39335 16-Sep-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.123.


# 39204 15-Sep-1998 kato

Sync with sys/i386/confMakefile.i386 revision 1.122.


# 38833 05-Sep-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.121.


# 38727 01-Sep-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.120.


# 38607 28-Aug-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.118.


# 37582 12-Jul-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.117.


# 37152 25-Jun-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.115.


# 37040 17-Jun-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.114.


# 36367 25-May-1998 kato

Fixed missing semicolon and added space before semicolon.

Noticed by: Toshikazu Kaho <kaho@elam.kais.kyoto-u.ac.jp>


# 36305 23-May-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.113.


# 35514 29-Apr-1998 imp

Use ${.TARGET} rather than $@. i386 tested, pc98 untested because config
on my box doesn't grok machine type pc98.
PR: 3272
Submitted by: jhs


# 35261 18-Apr-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.109.


# 35234 16-Apr-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.108.


# 32938 31-Jan-1998 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.107.


# 31890 20-Dec-1997 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.106.


# 30990 06-Nov-1997 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.105.


# 30933 04-Nov-1997 kato

Sync with sys/i386/conf/Makefile.i386 revision 1.104.


# 30665 23-Oct-1997 kato

Synchronize with sys/i386/conf/Makefile.i386 revision 1.103.


# 30330 12-Oct-1997 kato

Synchronize with sys/i386/conf/Makefile.i386 revision 1.268.


# 27690 25-Jul-1997 kato

Synchronize with sys/i386/conf/Makefile.i386 revision 1.101.


# 27101 30-Jun-1997 kato

Synchronize with sys/i386/conf/Makefile.i386 and files.i386 revisions
1.100 and 1.166, respectively.


# 26374 02-Jun-1997 kato

Synchronize with sys/i386/conf/Makefile.i386 revision 1.99.


# 26316 31-May-1997 kato

Synchronize with sys/i386/conf/Makefile.i386 revision 1.98.


# 26058 23-May-1997 kato

Synchronize with sys/i386/conf/Makefile.i386 revision 1.97.


# 25571 08-May-1997 kato

Synchronize with sys/i386/conf/Makefile.pc98 revision 1.96.


# 25256 28-Apr-1997 kato

Synchronize with sys/i386/conf/Makefile.i386 revision 1.95.


# 25088 22-Apr-1997 kato

Synchronize with sys/i386/conf/Makefile.i386, sys/i386/i386/machdep.c
and sys/i386/isa/npx.c revisions 1.94, 1.238 and 1.41, respectively.


# 24112 22-Mar-1997 kato

Improved CPU identification and initialization routines. This
supports All Cyrix CPUs, IBM Blue Lightning CPU and NexGen (now AMD)
Nx586 CPU, and initialize special registers of Cyrix CPU and msr of
IBM Blue Lightning CPU.

If revision of Cyrix 6x86 CPU < 2.7, CPU cache is enabled in
write-through mode. This can be disabled by kernel configuration
options.

Reviewed by: Bruce Evans <bde@freebsd.org> and
Jordan K. Hubbard <jkh@freebsd.org>


# 22975 22-Feb-1997 peter

Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not
ready for it yet.


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 20494 15-Dec-1996 kato

Synchronize with Makefile.i386 revison 1.91.


# 19551 08-Nov-1996 asami

Re-sync with -current. Should be in 2.2.

Submitted by: The FreeBSD(98) Development Team


# 19122 23-Oct-1996 asami

Another round of merge.

(1) Bug fix (pass boot drive):

pc98/boot/biosboot/boot2.S

(2) Delete code for unsupported high-resolution modes and move old
Epson notebook code to epsonio.h:

pc98/boot/biosboot/io.c
pc98/i386/vm_machdep.c
pc98/pc98/fd.c
pc98/pc98/pc98.c
pc98/pc98/pc98.h
pc98/pc98/epsonio.h (new)

(3) Change aic driver so that PCMCIA cards (I/O port same as PC/AT)
and PC-9801-100 cards can be selected with a flag in kernel config
file:

pc98/pc98/aic6360.c
pc98/pc98/aic_98.h (new)

(4) Fix wcd entry (it was broken). Delete mcd, it doesn't work on
98. Change aic entry according to above:

pc98/conf/GENERIC98

(5) Move pc98_machdep.c to top of files in pc98/pc98:

pc98/conf/files.pc98

(6) Delete empty lines:

pc98/i386/locore.s

(7) Fix (it didn't work if I586 was specified):

pc98/pc98/clock.c

(8) Staticize:

pc98/pc98/pc98_machdep.c

(9) Enable workaround for Cyrix bug for 5x86 also:

pc98/i386/machdep.c
pc98/i386/trap.c

All the above deletes this file too:

pc98/i386/pmap.c

(phew!)
Submitted by: The FreeBSD(98) Development Team


# 18846 09-Oct-1996 asami

Another round of updates. Highlights:

(1) Merged i386/i386/sb.h, deleted pc98/pc98/sb.h.

(2) pc98/conf/GENERIC8 looks more like i386/conf/GENERIC now.

(3) Fixed display bug in pc98/boot/biosboot/io.c.

(4) Prepare to merge memory allocation routines:

pc98/i386/locore.s
pc98/i386/machdep.c
pc98/pc98/pc98_machdep.c
pc98/pc98/pc98_machdep.h

(5) Support new board "C-NET(98)":

pc98/pc98/if_ed98.h
pc98/pc98/if_ed.c

(6) Make sure FPU is recognized for non-Intel CPUs:

pc98/pc98/npx.c

(7) Do not expect bss to be zero-allocated:

pc98/pc98/pc98.c

Submitted by: The FreeBSD(98) Development Team


# 18095 07-Sep-1996 asami

Yet another merge. Remove support.s by deleting memcopy. Remove
autoconf.c by merging icu.h. Fix a couple of typos.

Submitted by: The FreeBSD(98) Development Team.


# 18010 03-Sep-1996 asami

Second phase of merge, get rid of more machine-independent-dependencies.
Get rid of pc98/pc98/pc98_device.h.

Submitted by: The FreeBSD(98) Development Team


# 17947 30-Aug-1996 asami

Re-sync with the state of PC98 world. This will be the last commit before
we start merging things in earnest...

Submitted by: The FreeBSD(98) Development Team


# 17256 23-Jul-1996 asami

Update to current state of PC98 world.

Submitted by: The FreeBSD(98) development team


# 16359 14-Jun-1996 asami

The PC98-specific files.

Ok'd by: core
Submitted by: FreeBSD(98) development team