Commit Graph

10 Commits

Author SHA1 Message Date
thorpej d7536e1e95 Add -ffreestanding to kernel builds. It's not always safe to
use GCC's built-ins.
2001-12-23 22:45:07 +00:00
chs 8eafa995c7 don't strip any symbols from profiling kernels,
that makes it harder to figure out what's going on.
2001-12-10 05:24:17 +00:00
atatat 6dce2e2bec Make the kernel depend on `vers.o' instead of `newvers'. This
eliminates the need to unconditionally rebuild vers.o and subsequently
to relink the kernel every time you type make, even if you just
finished one.
2001-12-09 16:04:03 +00:00
atatat 756e7c6c1f Add the rest of the infrastructure needed to support the rest of the
ports.  This includes cleaning out DBG, cleaning up the `clean'
target, and tweaking the warnings flags (cesfic, amigappc, and the arm
ports are a little less warning resistant).

Oh, and let's `install' the kernel into ${DESTDIR} if someone says
`make install'.  We have to think about cross-compilers here.
2001-12-08 15:01:41 +00:00
atatat 9fb85484bc Misplaced colon. 2001-11-28 03:58:25 +00:00
atatat df7d7405f8 Alter the way that LINKTEXT and LINKDATA (and LINKENTRY) are set so
that empty values for TEXTADDR and DATAADDR (and ENTRYPOINT) will not
screw things up.  Add support for SYSTEM_LD_TAIL_EXTRA which some
ports (not yet converted) are using.  Add support for GENASSYM_EXTRAS
which has just been added to (some of) the arm ports.
2001-11-27 23:28:42 +00:00
atatat 155e541aa2 Instead of checking for previous usage, just append to some make
variables.  Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.
2001-11-23 05:18:59 +00:00
atatat bbd661c23d The four tools mkdep, strip, objcopy, and objdump are not part of the
defined toolchain if we're not using the new toolchain.  We need them,
so we add our own definitions here.
2001-11-16 16:15:08 +00:00
atatat 5386330b34 Add a MKDEP?=mkdep line so that depend targets will work again. 2001-11-16 13:14:10 +00:00
atatat d5de3c2fb2 Abstract out a large chunk of the kernel build machinery so that new
build features (such as ross's DEBUGLIST) can easily be applied to all
ports.  This should reduce the complexity of each port's kernel
Makefile considerably.  Line counts:

     227 arch/i386/conf/Makefile.i386.orig
      98 arch/i386/conf/Makefile.i386
     227 arch/alpha/conf/Makefile.alpha.orig
      99 arch/alpha/conf/Makefile.alpha
     219 arch/sparc/conf/Makefile.sparc.orig
     102 arch/sparc/conf/Makefile.sparc
     215 arch/vax/conf/Makefile.vax.orig
     102 arch/vax/conf/Makefile.vax
     253 conf/Makefile.kern.inc

Roll i386, alpha, sparc, and vax over to the new build machinery.
2001-11-16 00:23:02 +00:00