[riot-commits] [RIOT-OS/RIOT] ba7815: Makefile*: Allow multiple external board dirs

Francisco noreply at github.com
Wed Apr 29 20:12:22 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: ba7815163c12dae5787f1299b1dfed31deb63293
      https://github.com/RIOT-OS/RIOT/commit/ba7815163c12dae5787f1299b1dfed31deb63293
  Author: Marian Buschsieweke <marian.buschsieweke at ovgu.de>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M Makefile.dep
    M Makefile.features
    M Makefile.include
    M doc/doxygen/src/porting-boards.md
    M makefiles/application.inc.mk
    M makefiles/boards.inc.mk
    M makefiles/boot/riotboot.mk
    M makefiles/docker.inc.mk
    M makefiles/info-global.inc.mk
    M makefiles/info.inc.mk
    M makefiles/scan-build.inc.mk
    M makefiles/tools/avrdude.inc.mk
    M makefiles/tools/openocd-adapters/stlink.inc.mk
    M makefiles/tools/openocd.inc.mk
    M makefiles/tools/uniflash.inc.mk
    M makefiles/vars.inc.mk

  Log Message:
  -----------
  Makefile*: Allow multiple external board dirs

- Add the new EXTERNAL_BOARD_DIRS variable that can contain a space separated
  list of folders containing external boards
- Introduce $(BOARDDIR) as shortcut for $(BOARDSDIR)/$(BOARD)
- Map the existing BOARDSDIR to the new approach
    - If BOARDSDIR is provided by the user, it will be added to
      EXTERNAL_BOARD_DIRS for backward compatibility. (And a warning is issued
      to encourage users migrating to EXTRA_BOARDS.)
    - BOARDSDIR is updated after the board is found to "$(BOARDDIR)/..".
        - Useful for `include $(BOARDSDIR)/common/external_common/Makefile.dep`
        - Provides backward compatibility


  Commit: cf379660e9bb145db60c814e38f1674d0cb5547f
      https://github.com/RIOT-OS/RIOT/commit/cf379660e9bb145db60c814e38f1674d0cb5547f
  Author: Marian Buschsieweke <marian.buschsieweke at ovgu.de>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    A tests/external_board_dirs/Makefile
    A tests/external_board_dirs/README.md
    A tests/external_board_dirs/external_board_dir_1/native1
    A tests/external_board_dirs/external_board_dir_2/native2
    A tests/external_board_dirs/main.c

  Log Message:
  -----------
  tests/external_board_dirs: Test app for EXTERNAL_BOARD_DIRS


  Commit: b0964675f10652eeed7519fbf2ccfa1f057055a1
      https://github.com/RIOT-OS/RIOT/commit/b0964675f10652eeed7519fbf2ccfa1f057055a1
  Author: Marian Buschsieweke <marian.buschsieweke at ovgu.de>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M examples/default/Makefile
    M examples/riot_and_cpp/Makefile
    M tests/suit_manifest/Makefile

  Log Message:
  -----------
  tests,examples: Use EXTERNAL_BOARD_DIRS


  Commit: 93f8f8cd8424c676ca752b27ba9f41b9735de076
      https://github.com/RIOT-OS/RIOT/commit/93f8f8cd8424c676ca752b27ba9f41b9735de076
  Author: Marian Buschsieweke <marian.buschsieweke at ovgu.de>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M tests/external_board_native/README.md

  Log Message:
  -----------
  tests/external_board_native: Extended readme

Added a note to explain why the deprecated variable BOARDSDIR is still used.


  Commit: 37d5d571c82cd3e3dd4ada61e3dc75276fdaf87c
      https://github.com/RIOT-OS/RIOT/commit/37d5d571c82cd3e3dd4ada61e3dc75276fdaf87c
  Author: Marian Buschsieweke <marian.buschsieweke at ovgu.de>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M .murdock

  Log Message:
  -----------
  .murdock: Remove board sanity check

With external board folders supported (and used within RIOT's code base in
testing applications), boards can be outside of the /boards folder.


  Commit: 919249f361f1ef82d66631f7e1710315840ef9a5
      https://github.com/RIOT-OS/RIOT/commit/919249f361f1ef82d66631f7e1710315840ef9a5
  Author: Francisco <femolina at uc.cl>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M .murdock
    M Makefile.dep
    M Makefile.features
    M Makefile.include
    M doc/doxygen/src/porting-boards.md
    M examples/default/Makefile
    M examples/riot_and_cpp/Makefile
    M makefiles/application.inc.mk
    M makefiles/boards.inc.mk
    M makefiles/boot/riotboot.mk
    M makefiles/docker.inc.mk
    M makefiles/info-global.inc.mk
    M makefiles/info.inc.mk
    M makefiles/scan-build.inc.mk
    M makefiles/tools/avrdude.inc.mk
    M makefiles/tools/openocd-adapters/stlink.inc.mk
    M makefiles/tools/openocd.inc.mk
    M makefiles/tools/uniflash.inc.mk
    M makefiles/vars.inc.mk
    A tests/external_board_dirs/Makefile
    A tests/external_board_dirs/README.md
    A tests/external_board_dirs/external_board_dir_1/native1
    A tests/external_board_dirs/external_board_dir_2/native2
    A tests/external_board_dirs/main.c
    M tests/external_board_native/README.md
    M tests/suit_manifest/Makefile

  Log Message:
  -----------
  Merge pull request #13862 from maribu/extra_boards

Makefile*: Allow multiple external board dirs


Compare: https://github.com/RIOT-OS/RIOT/compare/80b300289d12...919249f361f1


More information about the commits mailing list