diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-01-31 07:54:16 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-01-31 07:54:16 +0100 |
commit | ff13f724305bb179949e90ee5079e33097899499 (patch) | |
tree | ffb9420f063f3f2370cbf1ef31cd31b86236e7ea /ecp | |
parent | 0eaf514b1f97cb1587815104477e43c50a3eebe6 (diff) |
fixed build sys
Diffstat (limited to 'ecp')
-rwxr-xr-x | ecp/platform.sh | 16 |
1 files changed, 16 insertions, 0 deletions
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 "<platform>" + 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 |