1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/build_system/external_pkg_dirs
2024-03-26 14:54:22 +01:00
..
external_pkgs *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
main.c tests: move build system applications to tests/build_system 2023-05-11 14:30:50 +02:00
Makefile tests: move build system applications to tests/build_system 2023-05-11 14:30:50 +02:00
README.md tests: move build system applications to tests/build_system 2023-05-11 14:30:50 +02:00

external_pkg_dirs

Test application for the EXTERNAL_PKG_DIRS feature of the buildsystem. Two external packages are provided in external_pkgs/: external_pkg and external_pkg_not_used. If the first package is not properly included, a define from CFLAGS is missing and a precompiler error is triggered. If the second package somehow ends up included it triggers a makefile error.

Usage

Set EXTERNAL_PKG_DIRS inside Makefile to point to other paths where the buildsystem can look for packages. Similar functionality to EXTERNAL_PKG_DIRS. Be careful to not name these externally provided packages the same as existing packages in $(RIOTBASE)/pkg/.