Move include/platform to include/openthread/platform.

This commit is contained in:
Jonathan Hui
2017-03-02 10:24:55 -08:00
parent d0c687505b
commit e919576978
128 changed files with 225 additions and 178 deletions
-3
View File
@@ -32,21 +32,18 @@ include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
DIST_SUBDIRS = \
openthread \
platform \
$(NULL)
# Always build (e.g. for 'make all') these subdirectories.
SUBDIRS = \
openthread \
platform \
$(NULL)
# Always pretty (e.g. for 'make pretty') these subdirectories.
PRETTY_SUBDIRS = \
openthread \
platform \
$(NULL)
include_HEADERS = \
+18
View File
@@ -28,6 +28,24 @@
include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
# Always package (e.g. for 'make dist') these subdirectories.
DIST_SUBDIRS = \
platform \
$(NULL)
# Always build (e.g. for 'make all') these subdirectories.
SUBDIRS = \
platform \
$(NULL)
# Always pretty (e.g. for 'make pretty') these subdirectories.
PRETTY_SUBDIRS = \
platform \
$(NULL)
openthread_headers = \
cli.h \
coap.h \
+1 -1
View File
@@ -36,7 +36,7 @@
#define OPENTHREAD_COMMISSIONER_H_
#include "openthread/types.h"
#include <platform/toolchain.h>
#include "openthread/platform/toolchain.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -36,7 +36,7 @@
#define OPENTHREAD_JOINER_H_
#include "openthread/types.h"
#include <platform/toolchain.h>
#include "openthread/platform/toolchain.h"
#ifdef __cplusplus
extern "C" {
@@ -45,7 +45,7 @@ ot_platform_headers =\
usec-alarm.h \
$(NULL)
ot_platformdir = $(includedir)/platform
ot_platformdir = $(includedir)/openthread/platform
dist_ot_platform_HEADERS = $(ot_platform_headers)
install-headers: install-includeHEADERS
@@ -39,7 +39,7 @@
#include <stdint.h>
#include <stddef.h>
#include <platform/radio.h>
#include <openthread/platform/radio.h>
#include <openthread/types.h>
@@ -37,7 +37,7 @@
#include <stdint.h>
#include <openthread-types.h>
#include "openthread/types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -41,7 +41,7 @@
#include <guiddef.h>
#endif
#include <platform/toolchain.h>
#include "openthread/platform/toolchain.h"
#ifdef __cplusplus
extern "C" {