From 3a3c77c1e1e1b57099ee181fe45767d892f03b43 Mon Sep 17 00:00:00 2001
From: Werner Almesberger <werner@almesberger.net>
Date: Sat, 26 Nov 2011 15:20:16 -0300
Subject: [PATCH] m1/BUILD-CHEAT-SHEET: added how to get the RTEMS sources

---
 m1/BUILD-CHEAT-SHEET | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/m1/BUILD-CHEAT-SHEET b/m1/BUILD-CHEAT-SHEET
index f98ede5..1ae4c40 100644
--- a/m1/BUILD-CHEAT-SHEET
+++ b/m1/BUILD-CHEAT-SHEET
@@ -1,17 +1,29 @@
 (This is my cheat sheet. It works for me but yet may stil be incomplete
 and redundant at the same time.)
 
+Instructions:
+
+  http://milkymist.org/wiki/index.php?title=RTEMS_build_instructions
+
+Getting rtems:
+
+  cvs -d :pserver:anoncvs@www.rtems.com:/usr1/CVS login
+  cvs -d :pserver:anoncvs@www.rtems.com:/usr1/CVS -z 9 co -P rtems 	# 00:58
+  cd rtems
+  ln -s /home/qi/wernermisc/m1/patches/rtems/ patches
+  quilt push -a
+
 Compiling rtems:
 
   cd rtems
-  ./bootstrap -c && ./bootstrap -p && ./bootstrap
+  ./bootstrap -c && ./bootstrap -p && ./bootstrap			# 08:37
   mkdir -p build
   cd build
   ../configure --target=lm32-rtems4.11 --enable-rtemsbsp=milkymist \
     --enable-posix --disable-itron --enable-networking \
-    --disable-multiprocessing --disable-tests --prefix=/opt/rtems-4.11
-  make
-  make install
+    --disable-multiprocessing --disable-tests --prefix=/opt/rtems-4.11	# 00:09
+  make								# -j5	# 01:11
+  make install								# 00:05
 
 Compiling rtems-yaffs: