mirror of
https://github.com/espressif/openthread.git
synced 2026-09-09 18:50:07 +00:00
[makefile] update example platform makefiles
This commit makes the following changes to (platform) makefiles: - Removes conditional source file inclusions in Makefiles and adopts the model where the source files themselves would add `#if` check for the config option (this is the model adopted in OpenThread core). - Defines `PLATFORM_SOURCES` to include all the sources files - Adds `PRETTY_FILES` to specify files for "make pretty-check" This commit also adds `PRETTY_FILES` in unit test makefile.
This commit is contained in:
committed by
Jonathan Hui
parent
00299f2e91
commit
4207f41f91
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="openthread.configuration.props" />
|
||||
<Import Project="openthread.configuration.props" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{30723C38-BA3B-44C9-8D64-C5861A26934F}</ProjectGuid>
|
||||
<Keyword>StaticLibrary</Keyword>
|
||||
@@ -42,6 +42,7 @@
|
||||
_CRT_SECURE_NO_WARNINGS;
|
||||
OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";
|
||||
OPENTHREAD_FTD=1;
|
||||
OPENTHREAD_ENABLE_NCP_SPI=1;
|
||||
OTBUILD;
|
||||
</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>
|
||||
|
||||
Reference in New Issue
Block a user