waf: remove already fixed TODOs

The TODOs removed with this patch were already fixed. Below is the explanation
for each.

 - TODO: add support for unit tests.
    - Supported already added.

 - TODO: Check if we should simply use the signed 'waf' "binary" (after
   verifying it) instead of generating it ourselves from the sources.
    - We're using a submodule for waf.

 - TODO: evaluate if we need shortcut commands for the common targets
   (vehicles). currently using waf --targets=NAME the target name must contain
   the board extension so make it less convenient, maybe hook to support
   automatic filling this extension?
    - There's no need of adding the extension anymore.

 - TODO: Once HAL patches get in, need to filter out the HAL based on the
   bld.env.BOARD.
    - The board-specific HAL library folders is indicated in
      bld.env.AP_LIBRARIES.
This commit is contained in:
Gustavo Jose de Sousa 2016-01-08 09:36:42 -02:00 committed by Lucas De Marchi
parent 2c617cf8f0
commit d6b4e98a88
2 changed files with 0 additions and 12 deletions

View File

@ -12,8 +12,6 @@ SOURCE_EXTS = [
UTILITY_SOURCE_EXTS = [ 'utility/' + glob for glob in SOURCE_EXTS ] UTILITY_SOURCE_EXTS = [ 'utility/' + glob for glob in SOURCE_EXTS ]
# TODO: Once HAL patches get in, need to filter out the HAL based
# on the bld.env.BOARD.
COMMON_VEHICLE_DEPENDENT_LIBRARIES = [ COMMON_VEHICLE_DEPENDENT_LIBRARIES = [
'AP_AccelCal', 'AP_AccelCal',
'AP_ADC', 'AP_ADC',

10
wscript
View File

@ -20,22 +20,12 @@ from waflib.Build import BuildContext, CleanContext, InstallContext, UninstallCo
# pastable. Add the 'export waf="$PWD/waf"' trick to be copy-pastable # pastable. Add the 'export waf="$PWD/waf"' trick to be copy-pastable
# as well. # as well.
# TODO: add support for unit tests.
# TODO: replace defines with the use of a generated config.h file # TODO: replace defines with the use of a generated config.h file
# this makes recompilation at least when defines change. which might # this makes recompilation at least when defines change. which might
# be sufficient. # be sufficient.
# TODO: set git version as part of build preparation. # TODO: set git version as part of build preparation.
# TODO: Check if we should simply use the signed 'waf' "binary" (after
# verifying it) instead of generating it ourselves from the sources.
# TODO: evaluate if we need shortcut commands for the common targets
# (vehicles). currently using waf --targets=NAME the target name must
# contain the board extension so make it less convenient, maybe hook
# to support automatic filling this extension?
def init(ctx): def init(ctx):
env = ConfigSet.ConfigSet() env = ConfigSet.ConfigSet()
try: try: