Browse Source

lowmemory: rename waf options

pull/2/head
mittorn 5 years ago
parent
commit
b3a5283517
  1. 4
      engine/wscript
  2. 2
      wscript

4
engine/wscript

@ -14,9 +14,9 @@ def options(opt):
help = 'enable console input from stdin (always enabled for dedicated) [default: %default]') help = 'enable console input from stdin (always enabled for dedicated) [default: %default]')
grp.add_option('--fbdev', action = 'store_true', dest = 'FBDEV_SW', default = False, grp.add_option('--fbdev', action = 'store_true', dest = 'FBDEV_SW', default = False,
help = 'build fbdev-only software-only engine') help = 'build fbdev-only software-only engine')
grp.add_option('--no-async-resolve', action = 'store_true', dest = 'NO_ASYNC_RESOLVE', default = False, grp.add_option('--disable-async-resolve', action = 'store_true', dest = 'NO_ASYNC_RESOLVE', default = False,
help = 'disable asynchronous name resolution') help = 'disable asynchronous name resolution')
grp.add_option('--custom-swap-allocator', action = 'store_true', dest = 'CUSTOM_SWAP', default = False, grp.add_option('--enable-custom-swap', action = 'store_true', dest = 'CUSTOM_SWAP', default = False,
help = 'enable custom swap allocator. For devices with no swap support') help = 'enable custom swap allocator. For devices with no swap support')
opt.load('sdl2') opt.load('sdl2')

2
wscript

@ -64,7 +64,7 @@ def options(opt):
grp.add_option('--enable-poly-opt', action = 'store_true', dest = 'POLLY', default = False, grp.add_option('--enable-poly-opt', action = 'store_true', dest = 'POLLY', default = False,
help = 'enable polyhedral optimization if possible [default: %default]') help = 'enable polyhedral optimization if possible [default: %default]')
grp.add_option('--low-memory', action = 'store', dest = 'LOW_MEMORY', default = 0, grp.add_option('--low-memory-mode', action = 'store', dest = 'LOW_MEMORY', default = 0,
help = 'enable low memory mode (only for devices have <128 ram)') help = 'enable low memory mode (only for devices have <128 ram)')
opt.load('subproject') opt.load('subproject')

Loading…
Cancel
Save