source: branches/philmoz/auto_build.sh @ 1357

Revision 1357, 437 bytes checked in by philmoz, 20 months ago (diff)

Another method of simplifying the batch build for all camera/firmware versions. This version stores the camera / firmware info in the 'camera_list.csv' file which is then processed for doing batch builds (by auto_build.sh).

Line 
1#!
2
3# Read the 'camera_list.csv' file ($3) and run the
4# CHDK build action ($2) using the designated
5# make program ($1)
6# - also see main Makefile
7while IFS=, read cam fw state copy skip
8do
9  if [ ${cam} != "CAMERA" ] && [ "${skip}" = "" ]; then \
10    if [ "${state}" != "" ]; then state=_${state}; fi; \
11    $1 -s --no-print-directory PLATFORM=${cam} PLATFORMSUB=${fw} STATE=${state} COPY_TO=${copy} $2; \
12  fi;
13done < $3
Note: See TracBrowser for help on using the repository browser.