Build system overhauled to use Kbuild (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 31 May 2013 03:51:43 +0000 (20:51 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 31 May 2013 03:57:52 +0000 (20:57 -0700)
commitb2ffb859258995435acb37b6b1a013cd0ae6f401
treec6389450e8c40771c27853006d2f47c3601f1940
parent49e9d76389a2d2434bd5d4725130d94fc99d198f
Build system overhauled to use Kbuild (XCC)

The kernel uses Kbuild, and the old userspace targets were reworked to
fit with the new system.  They are still fairly similar to their old
selves.

Users will need to set up an ARCH and config before doing anything,
including building the cross compiler.  Do something like this:

$ make ARCH=i686 config

I cleaned out a bit of old cruft (and some bugs) in the userspace
targets, though a lot of it can do with a rewrite.

Being a fairly substantial change, you're encouraged to rebuild
everything, including the cross-compiler, to make sure there aren't any
issues.
36 files changed:
.gitignore
GETTING_STARTED
GNUmakefile [deleted file]
Kconfig [new file with mode: 0644]
Makefile [new file with mode: 0644]
Makefile-KB [deleted file]
Makelocal.template
kern/Makefrag [deleted file]
kern/arch/i686/Kbuild [new file with mode: 0644]
kern/arch/i686/Makefrag [deleted file]
kern/arch/i686/boot/boot [deleted symlink]
kern/arch/riscv/Kbuild [new file with mode: 0644]
kern/arch/riscv/Makefrag [deleted file]
kern/arch/sparc/Kbuild [new file with mode: 0644]
kern/arch/sparc/Makefrag [deleted file]
kern/src/Kbuild [new file with mode: 0644]
kern/src/Makefrag [deleted file]
kern/src/net/Kbuild [new file with mode: 0644]
scripts/Makefile.build
scripts/Makefile.clean
scripts/Makefile.lib
scripts/basic/.gitignore [new file with mode: 0644]
scripts/kconfig/Makefile
scripts/mergedep.pl [deleted file]
tests/Makefile [new file with mode: 0644]
tests/Makefrag [deleted file]
tests/c3po/Makefrag
tests/openmp/Makefrag
tools/compilers/gcc-glibc/Makefile
user/benchutil/Makefile
user/c3po/Makefile
user/c3po/stack/Makefrag
user/c3po/threads/Makefrag
user/c3po/util/Makefrag
user/parlib/Makefile
user/pthread/Makefile