Commit 70a0b03e authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

Some merges from michel branch

parent 4e13f778
......@@ -7,6 +7,8 @@ LDFLAGS+= -L../../common/lib/ -L../../lib/ -lutils -ltrace -static
LIBNOVA=-lnova -L../../lib/
RELEASE_FILE=../../release/console.tar.gz
all: aalib predictlib\
setpoint.o console_easycomm console_joystick command_shell \
spg_list spg_log_parser \
......@@ -22,6 +24,11 @@ all: aalib predictlib\
status.cgi_install command.cgi_install shell.cgi_install
$(RELEASE_FILE): all
tar -C $(@D) -zhcvf $@ console
release: $(RELEASE_FILE)
await_controller: await_controller.o $(ARCHIVES)
console_easycomm: console_easycomm.o setpoint.o $(ARCHIVES)
......
Directories:
Directories
===========
controller Basic controller functions & blocks.
......@@ -12,8 +13,16 @@ Directories:
shell Code for command shell
Building
========
Programs:
A Debian 6.0 installation with gcc, bison, flex installed is sufficient for
building the controller. For running, root permissions are required as it
selects the realtime scheduler.
Programs
========
dt_ctrl Controller software for the complete DT
dt_ctrl_sim Controller software for the complete DT, including DT-simulator
......
#!/bin/bash
# Script to build a release package for the DT controller software
DIRNAME=$(mktemp -d /tmp/ctrl_releaseXXXXXX)
git clone -s . $DIRNAME
pushd $DIRNAME
pushd common/utils
make
popd
pushd common/trace
make
popd
pushd libnova-0.13.0
./configure
make
popd
pushd console
make
popd
popd
tar -C ${DIRNAME}/release -zhcvf "console_$(date +%Y%m%d%H%M).tar.gz" console
#!/bin/bash
# Script to build a release package for the DT controller software
DIRNAME=$(mktemp -d /tmp/ctrl_releaseXXXXXX)
git clone -s . $DIRNAME
pushd $DIRNAME
pushd common/utils
make
popd
pushd common/trace
make
popd
pushd controller
make
popd
popd
tar -C ${DIRNAME}/release -zhcvf "controller_$(date +%Y%m%d%H%M).tar.gz" controller
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