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

Commit

Permalink
[ocf] Fixed compile warnings on linux (#1803)
Browse files Browse the repository at this point in the history
Fixes #1801

Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
  • Loading branch information
Jimmy Huang authored and grgustaf committed Feb 1, 2018
1 parent 22f497b commit 4cf09c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ analyze: $(JS)
fi
@mkdir -p $(OUT)/$(BOARD)/
@mkdir -p $(OUT)/include
@# create an config.h file to needed for iotivity-constrained
@cp -p src/zjs_ocf_config.h $(OUT)/include/config.h

./scripts/analyze V=$(V) \
SCRIPT=$(JS) \
Expand Down Expand Up @@ -378,6 +376,8 @@ pristine: cleanlocal
.PHONY: generate
generate: $(JS) setup
@mkdir -p $(OUT)/include/
@# create an config.h file to needed for iotivity-constrained
@cp -p src/zjs_ocf_config.h $(OUT)/include/config.h
ifeq ($(SNAPSHOT), on)
@echo Building snapshot generator...
@if ! [ -e $(OUT)/snapshot/snapshot ]; then \
Expand Down
1 change: 0 additions & 1 deletion cmake/zjs_linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ if(NOT APPLE)
${IOTC_BASE}/api
${IOTC_BASE}/include
${IOTC_BASE}/messaging/coap
${IOTC_BASE}/port/linux
${IOTC_BASE}/util
)

Expand Down

0 comments on commit 4cf09c5

Please sign in to comment.