Difference between revisions of "Quickstart"

From TUDOS-Wiki
Jump to navigationJump to search
Line 4: Line 4:
  
 
  $ cd /somedir/tudos
 
  $ cd /somedir/tudos
  $ svn cat http://svn.tudos.org/repos/oc/tudos/trunk/repomgr | perl - init http://svn.tudos.org/repos/oc/tudos fiasco l4re
+
  $ svn cat http://svn.tudos.org/repos/oc/tudos/trunk/repomgr | perl - init http://svn.tudos.org/repos/oc/tudos fiasco l4re l4linux_requirements
 
 
If you intend to run L4Linux, you need to get some more. So use this:
 
  
$ cd /somedir/tudos
+
If you do not want to run L4Linux you may leave out ''l4linux_requirements'' in the above commands to get less.
$ svn cat http://svn.tudos.org/repos/oc/tudos/trunk/repomgr | perl - init http://svn.tudos.org/repos/oc/tudos fiasco l4re l4linux_requirements
 
  
 
* L4Re: Create a build directory, configure and build
 
* L4Re: Create a build directory, configure and build
Line 31: Line 28:
 
  $ svn co http://svn.tudos.org/repos/oc/l4linux/trunk l4linux
 
  $ svn co http://svn.tudos.org/repos/oc/l4linux/trunk l4linux
 
  $ cd l4linux
 
  $ cd l4linux
  $ make O=/path/to/obj/l4linux x86-ux_defconfig
+
  $ make O=/path/to/obj/l4linux defconfig
 
  # In the menu, in "L4Linux configuration", set "L4 tree build directory" to /path/to/obj/tudos
 
  # In the menu, in "L4Linux configuration", set "L4 tree build directory" to /path/to/obj/tudos
 
  $ make O=/path/to/obj/l4linux menuconfig
 
  $ make O=/path/to/obj/l4linux menuconfig
 
  $ make O=/path/to/obj/l4linux
 
  $ make O=/path/to/obj/l4linux

Revision as of 23:58, 2 February 2011

Quick guide to get the system compiled, without much explanation.

  • Get the sources
$ cd /somedir/tudos
$ svn cat http://svn.tudos.org/repos/oc/tudos/trunk/repomgr | perl - init http://svn.tudos.org/repos/oc/tudos fiasco l4re l4linux_requirements

If you do not want to run L4Linux you may leave out l4linux_requirements in the above commands to get less.

  • L4Re: Create a build directory, configure and build
$ mkdir -p /path/to/obj/tudos
$ cd /somedir/tudos/src/l4
$ make O=/path/to/obj/tudos oldconfig
$ make O=/path/to/obj/tudos -j2
  • Fiasco: Create build directory, configure and build
$ cd /somedir/tudos/src/kernel/fiasco
$ make BUILDDIR=/path/to/obj/fiasco
$ cd /path/to/obj/fiasco
$ make
  • L4Linux
    • Get the source, configure and build
$ cd /somedir/tudos
$ svn co http://svn.tudos.org/repos/oc/l4linux/trunk l4linux
$ cd l4linux
$ make O=/path/to/obj/l4linux defconfig
# In the menu, in "L4Linux configuration", set "L4 tree build directory" to /path/to/obj/tudos
$ make O=/path/to/obj/l4linux menuconfig
$ make O=/path/to/obj/l4linux