Commit 014396d6 authored by Aurelio Colosimo's avatar Aurelio Colosimo

fix HOWTO.EASY and compile_all stuff (easy compilation scripts)

parent 310624f8
To compile for spec, master and slave, just type:
./compile_all_spec
You will get ppsi_master.bin and ppsi_slave.bin
To compile for a gnu-linux architecture (e.g. x86), just type:
./compile_all_spec
You will get ppsi_master and ppsi_slave executable
#!/bin/sh
# This script simply compiles ppsi both for master and for slave, with
# diagnostic enabled.
make clean;make WRMODE=slave HAS_FULL_DIAG=y && ARCH=gnu-linux && mv ppsi ppsi_slave
make clean;make WRMODE=master HAS_FULL_DIAG=y && ARCH=gnu-linux && mv ppsi ppsi_master
......@@ -5,6 +5,6 @@
export CROSS_COMPILE=/opt/lm32/bin/lm32-elf-
echo $CROSS_COMPILE
make clean;make WRMODE=slave HAS_FULL_DIAG=y && ARCH=spec && mv ppsi.bin ppsi_slave.bin_
make clean;make WRMODE=master HAS_FULL_DIAG=y && ARCH=spec && mv ppsi.bin ppsi_master.bin
make clean;make WRMODE=slave HAS_FULL_DIAG=y ARCH=spec PROTO_EXT=whiterabbit && mv ppsi.bin ppsi_slave.bin_
make clean;make WRMODE=master HAS_FULL_DIAG=y ARCH=spec PROTO_EXT=whiterabbit && mv ppsi.bin ppsi_master.bin
mv ppsi_slave.bin_ ppsi_slave.bin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment