Changeset 1336


Ignore:
Timestamp:
09/12/11 12:30:59 (22 months ago)
Author:
philmoz
Message:

Update to new autobuild makefile rules.
Add target camindex.csv to generate a file of all current camera/firmware versions that will be built (for CHDK-Shell).

Location:
branches/philmoz
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/philmoz/Makefile

    r1333 r1336  
    99 
    1010SUBDIRS=tools lib platform core loader CHDK 
     11 
     12# Define empty recipes for all the included makefiles (including this one) 
     13# This stops gmake from attempting to see if the makefiles need to be rebuilt 
     14Makefile: ; 
     15makefile.inc: ; 
     16version.inc: ; 
     17buildconf.inc: ; 
     18localbuildconf.inc: ; 
     19$(topdir)/platform/fi2.inc: ; 
     20$(topdir)/platform/$(PLATFORM)/sub/$(PLATFORMSUB)/makefile.inc: ; 
    1121 
    1222all: all-recursive 
     
    107117endif 
    108118# if COPY_TO is defined then copy this camera/firmware version to the copied firmware version 
     119# Define COPY_TO in $(topdir)/platform/$(PLATFORM)/sub/$(PLATFORMSUB)/makefile.inc of the source 
     120# firmware version that needs to be copied to another firmware version 
    109121ifdef COPY_TO 
    110122        cp $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)$(STATE).zip $(topdir)bin/$(VER)-$(PLATFORM)-$(COPY_TO)-$(BUILD_NUMBER)$(STATE).zip 
     
    162174endif 
    163175# if COPY_TO is defined then copy this camera/firmware version to the copied firmware version 
     176# Define COPY_TO in $(topdir)/platform/$(PLATFORM)/sub/$(PLATFORMSUB)/makefile.inc of the source 
     177# firmware version that needs to be copied to another firmware version 
    164178ifdef COPY_TO 
    165179        cp $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)bin/$(PLATFORM)-$(COPY_TO)-$(BUILD_NUMBER)-full$(STATE).zip 
     
    185199batch-clean: 
    186200        $(MAKE) -f makefile.cam VER=$(VER) ACTION=clean batch 
     201 
     202 
     203.PHONY: camindex 
     204camindex: 
     205        @echo "$(PLATFORM),$(PLATFORMSUB),$(STATE),$(COPY_TO)" 
     206 
     207camindex.csv: Makefile makefile.cam makefile.fw 
     208        $(MAKE) -f makefile.cam VER=$(VER) ACTION=camindex batch > camindex.csv 
  • branches/philmoz/makefile.cam

    r1333 r1336  
     1 
     2# Define empty recipes for all the included makefiles (including this one) 
     3# This stops gmake from attempting to see if the makefiles need to be rebuilt 
     4makefile.cam: ; 
    15 
    26# Define the list of cameras that are not included in the 'autobuild' 
  • branches/philmoz/makefile.fw

    r1333 r1336  
     1 
     2# Define empty recipes for all the included makefiles (including this one) 
     3# This stops gmake from attempting to see if the makefiles need to be rebuilt 
     4makefile.fw: ; 
    15 
    26# Define the list of camera/firmware vresions that are not included in the 'autobuild' 
    37# Entries here should be in the form CAMERA-FIRMWARE - e.g. g12-100c 
    4 # Do exclude all firmware versions for a specific camera add the camera 
     8# To exclude all firmware versions for a specific camera add the camera 
    59# to the list in makefile.cam 
    610SKIP_AUTOBUILD="" 
Note: See TracChangeset for help on using the changeset viewer.