Skip to content

Makefile.dep: DEFAULT_MODULE += stdio_rtt will always load dependencies - even if other stdio is selected #13460

@aleks-krasowski

Description

@aleks-krasowski

Description

Affected boards:

feather-nrf52840
hamilton
pinetime
ruuvitag
thingy52

DEFAULT_MODULE += stdio_rtt in the /boards/affected_board/Makefile.dep will force the dependencies of stdio_rtt (e.g. xtimer) to load, even if another stdio module is selected.

Steps to reproduce the issue/Actual results

USEMODULE=stdio_null BOARD=ruuvitag make info-modules will print

auto_init                                         
-->  auto_init_xtimer                               
board
boards_common_nrf52xxdk
core
core_init
core_msg
core_panic
cortexm_common
cortexm_common_periph
cortexm_fpu
cpu
cpu_common
-->  div                                                    
newlib
newlib_nano
newlib_syscalls_default
nrf5x_common_periph
periph
periph_common
periph_gpio
periph_pm
-->  periph_timer                                           
stdio_null
sys
-->  xtimer                                                  

Whereas BOARD=ruuvitag can obviously be replaced with any other affected board.

Expected results

Output above without lines beginning with -->.

Versions

Master

Metadata

Metadata

Labels

Area: build systemArea: Build systemType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions