[riot-commits] [RIOT-OS/RIOT] e9c369: redbee-econotag: don't print noisy warning

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Mon Oct 6 18:24:53 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: e9c369e2d708c36c327e38d42462c1607e510fc7
      https://github.com/RIOT-OS/RIOT/commit/e9c369e2d708c36c327e38d42462c1607e510fc7
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M boards/redbee-econotag/Makefile.include

  Log Message:
  -----------
  redbee-econotag: don't print noisy warning


  Commit: 4d8aad8ad1ad95053c54e72374b88d8c17edd268
      https://github.com/RIOT-OS/RIOT/commit/4d8aad8ad1ad95053c54e72374b88d8c17edd268
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M Makefile.buildtests

  Log Message:
  -----------
  make: Centralize color use


  Commit: f49bd3e6608e7fdfffb8a196123259ce8acde4c3
      https://github.com/RIOT-OS/RIOT/commit/f49bd3e6608e7fdfffb8a196123259ce8acde4c3
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M Makefile.buildtests
    M Makefile.dep
    M Makefile.include
    A boards/avsextrem/Makefile.features
    A boards/chronos/Makefile.features
    A boards/iot-lab_M3/Makefile.features
    A boards/msb-430h/Makefile.features
    A boards/msba2/Makefile.features
    A boards/native/Makefile.features
    A boards/pttu/Makefile.features
    A boards/redbee-econotag/Makefile.features
    A boards/telosb/Makefile.features
    A boards/wsn430-v1_3b/Makefile.features
    A boards/wsn430-v1_4/Makefile.features
    A boards/z1/Makefile.features
    M examples/ccn-lite-client/Makefile
    M examples/ccn-lite-relay/Makefile
    M examples/rpl_udp/Makefile
    M tests/net_if/Makefile
    M tests/pnet/Makefile

  Log Message:
  -----------
  make: add Makefile.features telling the BOARDs' features

Please see #1715.
Closes #1715.

This PR implements the new Makefile variables "FEATURES_PROVIDED" and
"FEATURES_REQUIRED". A board *can* have a new file `Makefile.features`
which looks like:

```make
FEATURES_PROVIDED = transceiver
```

An application can have a corresponding line

```make
FEATURES_REQUIRED = transceiver
```

If the selected BOARD does not fulfil the requirements of the
application, then a *warning* is issued at compile time.

This change only includes the feature "transceiver", further features
are expected to be listed in further PRs. The requirement "transceiver"
is automatically added if the application uses the module
"defaulttransceiver".

`make buildtest` understands the new feature listing, so the user won't
need to add boards to `BOARD_BLACKLIST` manually.

Part of the change are the added Make targets
* `info-features-missing`, which prints the required features
  `\setminus` the provided features. The output is empty if there are no
  features missing.
* `info-boards-features-missing`, the same as `info-features-missing`
  but as a table for all boards, but heeded `BOARD_WHITELIST` and
  `BOARD_BLACKLIST`.

Applications don't have to use this new feature. This change does not
break existing Makefile.


  Commit: 519821db41a1e812f6fee8f07b9d00c32bd2a9a2
      https://github.com/RIOT-OS/RIOT/commit/519821db41a1e812f6fee8f07b9d00c32bd2a9a2
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M Makefile.buildtests
    M Makefile.dep
    M Makefile.include
    A boards/avsextrem/Makefile.features
    A boards/chronos/Makefile.features
    A boards/iot-lab_M3/Makefile.features
    A boards/msb-430h/Makefile.features
    A boards/msba2/Makefile.features
    A boards/native/Makefile.features
    A boards/pttu/Makefile.features
    A boards/redbee-econotag/Makefile.features
    M boards/redbee-econotag/Makefile.include
    A boards/telosb/Makefile.features
    A boards/wsn430-v1_3b/Makefile.features
    A boards/wsn430-v1_4/Makefile.features
    A boards/z1/Makefile.features
    M examples/ccn-lite-client/Makefile
    M examples/ccn-lite-relay/Makefile
    M examples/rpl_udp/Makefile
    M tests/net_if/Makefile
    M tests/pnet/Makefile

  Log Message:
  -----------
  Merge pull request #1734 from Kijewski/issue-1715

make: add Makefile.features telling the BOARDs' features


Compare: https://github.com/RIOT-OS/RIOT/compare/5773070d4774...519821db41a1


More information about the commits mailing list