FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/config.sh @ 143:afceeeb2cba1
Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
| author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
|---|---|
| date | Tue, 12 Nov 2013 05:35:48 +0000 |
| parents | nuc-fw/config.sh@3b2e941043d8 |
| children |
comparison
equal
deleted
inserted
replaced
| 142:15d5977390c2 | 143:afceeeb2cba1 |
|---|---|
| 1 #!/bin/sh | |
| 2 # This shell script is meant to be invoked directly by users; no Makefile | |
| 3 # or other script invokes it. The purpose of this script to hand-hold | |
| 4 # the user through creating a minimal valid build.conf file (without the | |
| 5 # user having some existing one) to allow the build to proceed. | |
| 6 | |
| 7 echo 'Please select the target you wish to build the firmware for:' | |
| 8 echo | |
| 9 echo '1: Openmoko GTA01/02 GSM modem' | |
| 10 echo '2: Pirelli DP-L10 feature phone' | |
| 11 echo | |
| 12 echo -n 'Please make your selection: ' | |
| 13 read userinput | |
| 14 | |
| 15 case "$userinput" in | |
| 16 1) | |
| 17 TARGET=gtamodem | |
| 18 ;; | |
| 19 2) | |
| 20 TARGET=pirelli | |
| 21 ;; | |
| 22 *) | |
| 23 echo 'Invalid selection' | |
| 24 exit 1; | |
| 25 ;; | |
| 26 esac | |
| 27 | |
| 28 echo | |
| 29 echo "target $TARGET" > build.conf | |
| 30 echo "build.conf created; you can now run 'make'" | |
| 31 exit 0 |
