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/README.md

17 lines
684 B
Markdown
Raw Normal View History

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/`.