Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 4cf09c5

Browse files
Jimmy Huanggrgustaf
authored andcommitted
[ocf] Fixed compile warnings on linux (#1803)
Fixes #1801 Signed-off-by: Jimmy Huang <[email protected]>
1 parent 22f497b commit 4cf09c5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,6 @@ analyze: $(JS)
259259
fi
260260
@mkdir -p $(OUT)/$(BOARD)/
261261
@mkdir -p $(OUT)/include
262-
@# create an config.h file to needed for iotivity-constrained
263-
@cp -p src/zjs_ocf_config.h $(OUT)/include/config.h
264262

265263
./scripts/analyze V=$(V) \
266264
SCRIPT=$(JS) \
@@ -378,6 +376,8 @@ pristine: cleanlocal
378376
.PHONY: generate
379377
generate: $(JS) setup
380378
@mkdir -p $(OUT)/include/
379+
@# create an config.h file to needed for iotivity-constrained
380+
@cp -p src/zjs_ocf_config.h $(OUT)/include/config.h
381381
ifeq ($(SNAPSHOT), on)
382382
@echo Building snapshot generator...
383383
@if ! [ -e $(OUT)/snapshot/snapshot ]; then \

cmake/zjs_linux.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ if(NOT APPLE)
127127
${IOTC_BASE}/api
128128
${IOTC_BASE}/include
129129
${IOTC_BASE}/messaging/coap
130-
${IOTC_BASE}/port/linux
131130
${IOTC_BASE}/util
132131
)
133132

0 commit comments

Comments
 (0)