[riot-notifications] [RIOT-OS/RIOT] dist/tools/build_system_sanity_check: deprecate FEATURES_MCU_GROUP (#11671)

Gaƫtan Harter notifications at github.com
Tue Jun 11 12:06:15 CEST 2019


### Contribution description

Add a function to list deprecated variables or patterns and use it for
* FEATURES_MCU_GROUP

The pull request also adds a reasons for each error type found by the script that I will split.

### Testing procedure

Run the current version without rebasing


```
./dist/tools/buildsystem_sanity_check/check.sh  | head
Invalid build system patterns found by ./dist/tools/buildsystem_sanity_check/check.sh:
Deprecated variables or patterns:
boards/arduino-zero/Makefile.features:FEATURES_MCU_GROUP = cortex_m0_2
boards/avsextrem/Makefile.features:FEATURES_MCU_GROUP = arm7
boards/b-l072z-lrwan1/Makefile.features:FEATURES_MCU_GROUP = cortex_m0_1
boards/b-l475e-iot01a/Makefile.features:FEATURES_MCU_GROUP = cortex_m4_2
boards/cc2538dk/Makefile.features:FEATURES_MCU_GROUP = cortex_m3_1
boards/cc2650-launchpad/Makefile.features:FEATURES_MCU_GROUP = cortex_m3_1
boards/cc2650stk/Makefile.features:FEATURES_MCU_GROUP = cortex_m3_1
boards/chronos/Makefile.features:FEATURES_MCU_GROUP = msp430
```

Rebase it on top of https://github.com/RIOT-OS/RIOT/pull/11670 and it should output no errors


### Issues/PRs references

* [ ] TODO Split first commit
* [ ] Depends on https://github.com/RIOT-OS/RIOT/pull/11670
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11671

-- Commit Summary --

  * dist/tools/build_system_sanity_check: add reasons for each error type
  * dist/tools/build_system_sanity_check: deprecate FEATURES_MCU_GROUP

-- File Changes --

    M dist/tools/buildsystem_sanity_check/check.sh (28)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11671.patch
https://github.com/RIOT-OS/RIOT/pull/11671.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11671
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190611/e90685c4/attachment.html>


More information about the notifications mailing list