updatehub: move header to library

Not a top-level zephyr core API and tied to third party environment, so
move it to where the code is in lib/updatehub.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-10-25 08:40:07 -04:00
parent b7eb04b300
commit 8d22fd9263
5 changed files with 3 additions and 3 deletions

View file

@ -272,7 +272,6 @@
/include/sys/sys_io.h @andrewboie @andyross
/include/toolchain.h @andrewboie @andyross @nashif
/include/toolchain/ @andrewboie @andyross
/include/updatehub.h @chtavares592 @otavio
/include/zephyr.h @andrewboie @andyross
/kernel/ @andrewboie @andyross
/lib/gui/ @vanwinkeljan

View file

@ -8,7 +8,7 @@
#include <drivers/flash.h>
#include <dfu/mcuboot.h>
#include <dfu/flash_img.h>
#include <updatehub.h>
#include "include/updatehub.h"
#include "updatehub_firmware.h"
#include "updatehub_device.h"

View file

@ -22,7 +22,7 @@ LOG_MODULE_REGISTER(updatehub);
#include <tinycrypt/sha256.h>
#include <data/json.h>
#include <updatehub.h>
#include "include/updatehub.h"
#include "updatehub_priv.h"
#include "updatehub_firmware.h"
#include "updatehub_device.h"

View file

@ -10,6 +10,7 @@ set(KCONFIG_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/Kconfig)
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(NONE)
target_include_directories(app PRIVATE $ENV{ZEPHYR_BASE}/lib/updatehub/include)
target_sources(app PRIVATE src/main.c)
if(CONFIG_UPDATEHUB_DTLS)