summaryrefslogtreecommitdiff
path: root/code/platform
blob: 545b475090a685db427e389c498c1bc50f92c10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#

BASEDIR=$(dirname $0)

if [ -z $1 ]; then
  echo usage $0 "<platform>"
  exit 1
fi

PLATFORM=$1

ln -sf $BASEDIR/Makefile.$PLATFORM $BASEDIR/Makefile.platform
ln -sf $BASEDIR/config_$PLATFORM.h $BASEDIR/config.h