waf: build support for Disco

This commit is contained in:
Andrew Tridgell 2016-06-07 08:13:56 +10:00
parent 9e812d3bda
commit 3769e0fc64

View File

@ -322,6 +322,16 @@ class bebop(linux):
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_BEBOP',
)
class disco(linux):
toolchain = 'arm-linux-gnueabihf'
def configure_env(self, cfg, env):
super(disco, self).configure_env(cfg, env)
env.DEFINES.update(
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_DISCO',
)
class raspilot(linux):
toolchain = 'arm-linux-gnueabihf'