1.. _external_library:
2
3External Library
4#################
5
6Overview
7********
8
9A simple example that demonstrates how to include an external static library
10into the Zephyr build system.
11The demonstrates both how to build the external library using a different build
12system and how to include the built static library.
13
14Windows Note
15************
16
17To use this sample on a Windows host operating system, GNU Make needs to be in
18your path. This can be setup using chocolatey or by manually installing it.
19
20Chocolatey Method
21=================
22
23Install make using the following command:
24
25.. code-block:: bash
26
27   choco install make
28
29Once installed, build the application as normal.
30
31Manual Install Method
32=====================
33
34The pre-built make application can be downloaded from
35https://gnuwin32.sourceforge.net/packages/make.htm by either getting both the
36``Binaries`` and ``Dependencies`` and extracting them to the same folder, or
37getting the ``Complete package`` setup. Once installed and in the path, build
38the application as normal.
39