setup configuration controller

class flash.flmake.setup_configuration.ConfigurationList(ignore_pp=False)[source]

Declares a class ConfigurationtList which contains a list of unit names together with methods to manipulate them. This must be aware of how the problem is being setup.

remove_units(unitnames)[source]

Remove these units also returns the number of units actually removed

remove_subtrees(unitnames)[source]

remove these units and all their children

add_units(unitnames, comment='')[source]

Add these units and returns the number of units actually added.

check_suggest()[source]

list of units which have been suggested but not included.

get_default_units()[source]

return names of default units of units already present

add_default_units()[source]

add default units of all units

add_kernel_units()[source]

check to see which units are Kernel units if we have a Kernel unit then we want to include all units and directories under the unit specified to be a Kernel

add_grid_interpolation()[source]

Different interpolation units need to be added depending on which Grid has been chosen. This is a somewhat hacky solution to that problem. As far as I know this is the only instance of a command- line option whose effect depends on which other Units have already been included. -nttaylor

get_required_units()[source]

list of unitnames to be added

add_required_units()[source]

Satisfy requirements

write_units_file()[source]

Disable old method of object dir creation, write to current dir

get_config_info(**kw)[source]

Generate FlashUnitUnion class based on given units

generate_units_file()[source]

called only when ‘-auto’ flag is passed

adjust_opts()[source]

set default values for options possibly based of list of units we are using

create_makefiles()[source]

Makefiles: one for each toplevel Unit. Makefiles for subunits get appended to the top one.

flash.flmake.setup_configuration.get_lowest_base(base)[source]

Return the part of name closest to ROOT dir, which starts with capital letter.

Previous topic

setup

Next topic

setup global variables

This Page