[K42-discussion] Complete build/mambo regress with GIT Makefile.new

Patrick G. Bridges bridges at cs.unm.edu
Thu Apr 12 01:18:57 EST 2007


I've just pushed a number of bugfixes and some new rules to the GIT  
tree that let the new makefiles (Makefile.new at the toplevel, and  
Make.sub-s included from that) completely build all of the K42  
servers, binaries, and kernel with the new Makefile on Linux. A  
cleanly checked-out tree build with only Makefile.new sufficient to  
run regress on mambo. Note that Makefile.new almost certainly *won't*  
work on AIX or other places.

Here are the commands I use to build and run regress:

# Bootstrap include files and build tools
git-clone http://www.cs.unm.edu/~k42/git/kitchsrc.git &&
  cd kitchsrc &&
  git-checkout k42-port &&
  make -f Makefile.new bootstrap

# Build linux object files that K42 needs
  cd .. &&
  git-clone http://www.cs.unm.edu/~k42/git/linux-030.git &&
  cd linux-030 &&
  git-checkout k42-port &&
  make ARCH=ppc64 CROSS_COMPILE=powerpc64-linux- \
   CROSS32_COMPILE=powerpc-linux- k42_defconfig &&
  make -f Makefile.k42 MKANCHOR=~/k42 \
   CROSS_COMPILE=powerpc64-linux- CROSS32_COMPILE=powerpc-linux- k42libs

# Build and install kernel, servers, binaries, tests, users, etc.
  cd ../kitchsrc &&
  make -f Makefile.new all

# Run regression test
k42console -m mambo -f ~/k42/powerpc/fullDeb/os/k42-vmlinux --    
MAMBO_BOOT_VMLINUX=1 MAMBO_MAPLE=1 MAMBO_TCL_STAMP=-120305     
MAMBO_TYPE=gpul K42_INITSCR=/home/regress/sysinit MAMBO_EXIT=yes



More information about the K42-discussion mailing list