summaryrefslogtreecommitdiffstats
path: root/doc/gen_conf.sh
blob: 659e526119af117c05ebdf20e0b913be78e87bdf (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

PLATFORM=$1
PLATFORMLOWER=`echo ${PLATFORM} | tr A-Z a-z`

echo "// Don't edit it manually!" > def.cfg
echo ":chip: ${PLATFORM}" >> def.cfg
echo ":${PLATFORMLOWER}:" >> def.cfg