Ignore:
Timestamp:
12/12/11 17:19:43 (18 months ago)
Author:
tsv
Message:
  • Added MODULES dir
  • Fix for GCC4.6.2 (from whim)
  • Changing root Makefile to keep compiled modules in CHDK/MODULES (from philmoz )
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-flt/Makefile

    r1467 r1481  
    4242        mv  $(topdir)bin/main.bin  $(topdir)bin/DISKBOOT.BIN 
    4343endif 
     44        rm -f $(topdir)CHDK/MODULES/* 
     45        cp $(topdir)core/modules/*.flt $(topdir)CHDK/MODULES 
    4446        @echo "**** Firmware creation completed successfully" 
    4547 
     
    8183      endif 
    8284    endif 
    83         rm -f $(topdir)CHDK/MODULES/* 
    84         cp $(topdir)core/modules/*.flt $(topdir)CHDK/MODULES 
    8585        zip -9 $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)$(STATE).zip $(topdir)CHDK/MODULES/* 
    8686        # if COPY_TO is defined then copy this camera/firmware version to the copied firmware version 
     
    9696    endif 
    9797        rm -f $(topdir)bin/DISKBOOT.BIN 
    98         rm -f $(topdir)CHDK/MODULES/* 
    99         rm -f $(topdir)core/modules/*.flt 
    10098 
    10199 
     
    133131        zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)doc/readme.txt  > $(DEVNULL) 
    134132        zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)$(STATE).zip $(topdir)doc/readme.txt  > $(DEVNULL) 
    135         rm -f $(topdir)CHDK/MODULES/* 
    136         cp $(topdir)core/modules/*.flt $(topdir)CHDK/MODULES 
    137133        zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/MODULES/*  > $(DEVNULL) 
    138134        zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)$(STATE).zip $(topdir)CHDK/MODULES/*  > $(DEVNULL) 
    139         rm -f $(topdir)CHDK/MODULES/* 
    140         rm -f $(topdir)core/modules/*.flt 
    141135 
    142136    ifdef PLATFORMOS 
Note: See TracChangeset for help on using the changeset viewer.