mirror of
https://github.com/espressif/openthread.git
synced 2026-08-20 17:39:51 +00:00
Move include/platform to include/openthread/platform.
This commit is contained in:
@@ -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 = \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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" {
|
||||
|
||||
@@ -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" {
|
||||
@@ -41,7 +41,7 @@
|
||||
#include <guiddef.h>
|
||||
#endif
|
||||
|
||||
#include <platform/toolchain.h>
|
||||
#include "openthread/platform/toolchain.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user