Changeset 1745 for branches/release-1_0


Ignore:
Timestamp:
03/17/12 04:19:12 (14 months ago)
Author:
philmoz
Message:

Re-align CHDK and CHDK-DE code base (part 12) - http://chdk.setepontos.com/index.php?topic=7601.0

  • make differences in 'make' files dependent on CHDK/CHDK-DE version (language, native calls etc)
  • move VER=CHDK(-DE) into a separate file
Location:
branches/release-1_0
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_0/Makefile

    r1712 r1745  
    22srcdir=./ 
    33 
    4 include buildconf.inc 
    54tmp:=$(shell echo "BUILD_SVNREV := $(DEF_SVN_REF)" > revision.inc) 
    65 
     
    133132        zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/BOOKS/*  > $(DEVNULL) 
    134133        zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/CURVES/*  > $(DEVNULL) 
     134    ifeq ($(VER),CHDK-DE) 
     135                zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/CURVES/ISOBoost/*  > $(DEVNULL) 
     136    endif 
    135137        zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/DATA/*  > $(DEVNULL) 
    136138        zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/FONTS/*  > $(DEVNULL) 
     
    143145        zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/SCRIPTS/EXAM/*     > $(DEVNULL) 
    144146        zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/SCRIPTS/TEST/*     > $(DEVNULL) 
    145         zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/SCRIPTS/EDITOR/*   > $(DEVNULL) 
     147    ifeq ($(VER),CHDK-DE) 
     148                zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/SCRIPTS/MD/*   > $(DEVNULL) 
     149                zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/SCRIPTS/CURV/*     > $(DEVNULL) 
     150                zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/SCRIPTS/USER/* > $(DEVNULL) 
     151    else 
     152                zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/SCRIPTS/EDITOR/*   > $(DEVNULL) 
     153    endif 
    146154        zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)CHDK/syscurves.CVF      > $(DEVNULL) 
    147155        zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full$(STATE).zip $(topdir)doc/changelog.txt  > $(DEVNULL) 
  • branches/release-1_0/buildconf.inc

    r1712 r1745  
    2020# WARNING: This is DANGEROUS. e.g. call_event_proc("EraseSectorOfRom",...) 
    2121# NOTE: the interface for this may change in the future, to support better support buffers etc 
    22 #OPT_LUA_CALL_NATIVE=1 
     22ifeq ($(VER),CHDK-DE) 
     23OPT_LUA_CALL_NATIVE=1 
     24endif 
    2325 
    2426# experimental - allocate memory from alternate heap. Default 2MB from EXMEM_RAMDISK 
     
    5355# desired language. 
    5456# Set the value to the language file name without extension - e.g. OPT_DEFAULT_LANG=russian 
    55 #OPT_DEFAULT_LANG= 
     57ifeq ($(VER),CHDK-DE) 
     58OPT_DEFAULT_LANG=german 
     59endif 
    5660 
    5761# Default svn revsion. Used when svnversion fail. 
  • branches/release-1_0/makefile.inc

    r1715 r1745  
    1 VER=CHDK 
     1include $(topdir)chdk_ver.inc 
    22 
    33MEMISOSIZE="(&_end-&_start)" 
Note: See TracChangeset for help on using the changeset viewer.