Changeset 1033
- Timestamp:
- 01/09/11 00:43:54 (2 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
buildconf.inc (modified) (4 diffs)
-
core/Makefile (modified) (2 diffs)
-
lib/Makefile (modified) (1 diff)
-
makefile.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/buildconf.inc
r1015 r1033 1 1 #!build time optional components - comment out the features you dont want to have in your build 2 OPT_LUA_IOLIB=13 OPT_LUA_OSLIB=14 2 OPT_GAME_REVERSI=1 5 3 OPT_GAME_SOKOBAN=1 … … 11 9 OPT_DEBUGGING=1 12 10 OPT_EDGEOVERLAY=1 11 12 # Scripting components 13 OPT_UBASIC=1 14 OPT_LUA=1 13 15 OPT_LUA_STRLIB=1 16 OPT_LUA_IOLIB=1 17 OPT_LUA_OSLIB=1 18 #allow Lua to call arbitrary ROM functions and eventprocs 19 # WARNING: This is DANGEROUS. e.g. call_event_proc("EraseSectorOfRom",...) 20 # NOTE: the interface for this may change in the future, to support better support buffers etc 21 #OPT_LUA_CALL_NATIVE=1 22 14 23 # experimental - allocate memory from alternate heap. Default 2MB from EXMEM_RAMDISK 15 24 # See exmem_malloc_init in generic/wrappers.c … … 17 26 # experimental PTP/USB interface 18 27 #OPT_PTP=1 19 #allow Lua to call arbitrary ROM functions and eventprocs20 # WARNING: This is DANGEROUS. e.g. call_event_proc("EraseSectorOfRom",...)21 # NOTE: the interface for this may change in the future, to support better support buffers etc22 #OPT_LUA_CALL_NATIVE=123 28 #OPT_MD_DEBUG=1 24 29 # needs proper fi2.inc in platform/ !!! see http://chdk.setepontos.com/index.php/topic,2995.0.html … … 34 39 # for people who won't use lang files at all / not done yet 35 40 #!OPT_LANGUAGEINTERFACE=1 36 37 # Not yet working, but need to be defined for a build right now38 OPT_UBASIC=139 OPT_LUA=1 -
trunk/core/Makefile
r1015 r1033 53 53 CFLAGS+=-DOPT_MD_DEBUG 54 54 endif 55 ifdef OPT_SCRIPTING 56 OPT_OBJS+=motion_detector.o script.o 57 endif 58 ifdef OPT_LUA 59 OPT_OBJS+=luascript.o 60 endif 55 61 ifdef OPT_LUA_CALL_NATIVE 56 62 CFLAGS+=-DOPT_LUA_CALL_NATIVE … … 68 74 OBJS=entry.o nothumb.o main.o gui_draw.o gui_menu.o gui_palette.o gui_mbox.o \ 69 75 gui_fselect.o gui.o kbd.o action_stack.o conf.o \ 70 histogram.o gui_batt.o gui_space.o gui_osd.o script.oraw.o \71 gui_lang.o gui_mpopup.o gui_grid.o motion_detector.oraw_merge.o \72 l uascript.o levent.o shot_histogram.o dng.o bitvector.o console.o $(OPT_OBJS)76 histogram.o gui_batt.o gui_space.o gui_osd.o raw.o \ 77 gui_lang.o gui_mpopup.o gui_grid.o raw_merge.o \ 78 levent.o shot_histogram.o dng.o bitvector.o console.o $(OPT_OBJS) 73 79 74 80 gui.o: FORCE -
trunk/lib/Makefile
r864 r1033 2 2 include $(topdir)makefile.inc 3 3 4 SUBDIRS=font math ubasic lang lua armutil 4 SUBDIRS=font math lang armutil 5 6 ifdef OPT_LUA 7 SUBDIRS+=lua 8 endif 9 10 ifdef OPT_UBASIC 11 SUBDIRS+=ubasic 12 endif 5 13 6 14 include $(topdir)bottom.inc -
trunk/makefile.inc
r1025 r1033 428 428 endif 429 429 430 ifdef OPT_LUA 431 CFLAGS+=-DOPT_LUA 432 OPT_SCRIPTING=1 433 endif 434 435 ifdef OPT_UBASIC 436 CFLAGS+=-DOPT_UBASIC 437 OPT_SCRIPTING=1 438 endif 439 440 ifdef OPT_SCRIPTING 441 CFLAGS+=-DOPT_SCRIPTING 442 endif 443 430 444 ifdef OPT_EXMEM_MALLOC 431 445 CFLAGS+=-DOPT_EXMEM_MALLOC
Note: See TracChangeset
for help on using the changeset viewer.