From ff13f724305bb179949e90ee5079e33097899499 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Mon, 31 Jan 2022 07:54:16 +0100 Subject: fixed build sys --- ecp/platform.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 ecp/platform.sh (limited to 'ecp/platform.sh') diff --git a/ecp/platform.sh b/ecp/platform.sh new file mode 100755 index 0000000..7b95623 --- /dev/null +++ b/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}/src/platform +rm -f ${BASEDIR}/src/platform.mk +ln -sf ../platform/${PLATFORM} ${BASEDIR}/src/platform +ln -sf ../platform/${PLATFORM}.mk ${BASEDIR}/src/platform.mk -- cgit v1.2.3