Module: xenomai-head
Branch: master
Commit: 1fed4587bb808a0336557ed8b8622cb07dee5675
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=1fed4587bb808a0336557ed8b8622cb07dee5675

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Fri Oct 21 21:10:55 2011 +0200

doc: fix README.INSTALL

avoid trying to use the same build directory for Linux and Xenomai
user-space support.

---

 README.INSTALL |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/README.INSTALL b/README.INSTALL
index f9727c2..d3c9477 100644
--- a/README.INSTALL
+++ b/README.INSTALL
@@ -328,12 +328,13 @@ kernel (we do support recent ones as well on this 
platform):
 $ $xenomai_root/scripts/prepare-kernel.sh --arch=ppc \
   
--adeos=$xenomai_root/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.14-ppc-1.5-*.patch
 \
   --linux=$linux_tree
+$ make -p $build_root/linux
 $ cd $linux_tree
-$ make ARCH=ppc CROSS_COMPILE=ppc_4xx- O=$build_root xconfig/gconfig/menuconfig
+$ make ARCH=ppc CROSS_COMPILE=ppc_4xx- O=$build_root/linux 
xconfig/gconfig/menuconfig
 # [select the kernel and Xenomai options, save the configuration]
-$ make ARCH=ppc CROSS_COMPILE=ppc_4xx- O=$build_root bzImage modules
+$ make ARCH=ppc CROSS_COMPILE=ppc_4xx- O=$build_root/linux bzImage modules
 # [manually install the kernel image, system map and modules to the proper 
location]
-$ cd $build_root
+$ make $build_root/xenomai && cd $build_root/xenomai
 $ $xenomai_root/configure --build=i686-pc-linux-gnu 
--host=ppc-unknown-linux-gnu \
   CC=ppc_4xx-gcc LD=ppc_4xx-ld
 $ make DESTDIR=$staging_dir install
@@ -379,12 +380,13 @@ $ $xenomai_root/scripts/prepare-kernel.sh --arch=arm \
   --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-2.6.20-arm-* \
   --linux=$linux_tree
 $ cd $linux_tree
-$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=$build_root \
+$ make -p $build_root/linux
+$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=$build_root/linux \
   csb637_defconfig
-$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-- O=$build_root \
+$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-- O=$build_root/linux \
   bzImage modules
 # [manually install the kernel image, system map and modules to the proper 
location]
-$ cd $build_root
+$ mkdir $build_root/xenomai && cd $build_root/xenomai
 $ $xenomai_root/configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" \
   --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi-
 $ make DESTDIR=$staging_dir install


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to