Changeset 1902


Ignore:
Timestamp:
06/10/12 01:13:14 (12 months ago)
Author:
reyalp
Message:

make batch builds clean and build tools once each for vxworks and dryos, instead once for each firmware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r1899 r1902  
    2626ZIPDIRS:=$(shell ls -R CHDK | grep CHDK/ | $(ESED) 's?:?/*?') 
    2727 
    28 SUBDIRS=tools lib platform core loader CHDK 
     28SUBDIRS=lib platform core loader CHDK 
     29 
     30# SKIP_TOOLS prevents re-building tools in root level make, to speed up batch builds 
     31ifndef SKIP_TOOLS 
     32SUBDIRS+=tools 
     33endif 
    2934 
    3035.PHONY: fir 
     
    184189 
    185190 
     191# for batch builds, build tools for vx and dryos once, instead of once for every firmware 
     192alltools: 
     193        $(MAKE) -C tools PLATFORM=a610 PLATFORMSUB=100e clean all 
     194        $(MAKE) -C tools PLATFORM=a720 PLATFORMSUB=100c clean all 
     195 
    186196# define targets to batch build all cameras & firmware versions 
    187197# list of cameras/firmware versions is in 'camera_list.csv' 
     
    194204# - skip auto build (optional) :- any value in this column will exclude the camera/firmware from the auto build 
    195205 
    196 batch-zip: version 
    197         sh tools/auto_build.sh $(MAKE) firzipsub camera_list.csv 
     206batch-zip: version alltools 
     207        SKIP_TOOLS=1 sh tools/auto_build.sh $(MAKE) firzipsub camera_list.csv 
    198208        @echo "**** Summary of memisosizes" 
    199209        cat $(topdir)bin/caminfo.txt 
    200210        rm -f $(topdir)bin/caminfo.txt   > $(DEVNULL) 
    201211 
    202 batch-zip-complete: version 
    203         sh tools/auto_build.sh $(MAKE) firzipsubcomplete camera_list.csv 
     212batch-zip-complete: version alltools 
     213        SKIP_TOOLS=1 sh tools/auto_build.sh $(MAKE) firzipsubcomplete camera_list.csv 
    204214        @echo "**** Summary of memisosizes" 
    205215        cat $(topdir)bin/caminfo.txt 
Note: See TracChangeset for help on using the changeset viewer.