From 1425f72c38fe23a9d3fcda583a7da1e7315acfc3 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 17 Jan 2018 18:42:47 +0100 Subject: build system improved --- code/ecp/platform.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 code/ecp/platform.sh (limited to 'code/ecp/platform.sh') diff --git a/code/ecp/platform.sh b/code/ecp/platform.sh new file mode 100755 index 0000000..b265bd7 --- /dev/null +++ b/code/ecp/platform.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# + +BASEDIR=$(dirname $0) + +if [ -z $1 ]; then + echo usage $0 "" + exit 1 +fi + +PLATFORM=$1 + +rm -f $BASEDIR/platform +ln -sf ./$PLATFORM $BASEDIR/platform +ln -sf ./config_$PLATFORM.h $BASEDIR/config.h +ln -sf ./Makefile.$PLATFORM $BASEDIR/Makefile.platform -- cgit v1.2.3