Skip to content
Snippets Groups Projects
  • René Kijewski's avatar
    162850b3
    make: Implement optional features · 162850b3
    René Kijewski authored
    Fixes #1876
    
    This PR introduces `FEATURES_OPTIONAL` which can be used to tell the
    Make system, that the application would like to use some feature, but
    the build should proceed even if the selected board cannot provide the
    optional feature.
    
    `make buildtest` and `make info-supported-boards` heed this variable
    when examining the list of supported boards.
    
    If a word is present in `FEATURES_REQUIRED` and `FEATURES_OPTIONAL`,
    then `FEATURES_OPTIONAL` takes precedence.
    162850b3
    History
    make: Implement optional features
    René Kijewski authored
    Fixes #1876
    
    This PR introduces `FEATURES_OPTIONAL` which can be used to tell the
    Make system, that the application would like to use some feature, but
    the build should proceed even if the selected board cannot provide the
    optional feature.
    
    `make buildtest` and `make info-supported-boards` heed this variable
    when examining the list of supported boards.
    
    If a word is present in `FEATURES_REQUIRED` and `FEATURES_OPTIONAL`,
    then `FEATURES_OPTIONAL` takes precedence.
Makefile.buildtests 8.17 KiB