mirror of
https://github.com/novatiq/packages.git
synced 2026-04-28 14:48:39 +01:00
95d96a360f
The Attended sysUpgrade CLI is a full-featured client for the attended-sysupgrade service which works directly on the target device. It requires libustream-ssl as well as at least the CA certificate needed to contact the sysupgrade server. It has only been tested briefly and is by no means ready for production! Signed-off-by: Daniel Golle <daniel@makrotopia.org>
13 lines
344 B
CMake
13 lines
344 B
CMake
cmake_minimum_required(VERSION 2.6)
|
|
|
|
PROJECT(auc C)
|
|
ADD_DEFINITIONS(-Os -ggdb -Wall --std=gnu99 -Wmissing-declarations)
|
|
|
|
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
|
|
|
|
find_library(json NAMES json-c json)
|
|
|
|
ADD_EXECUTABLE(auc auc.c)
|
|
TARGET_LINK_LIBRARIES(auc uci ubox ubus uclient blobmsg_json ${json})
|
|
INSTALL(TARGETS auc RUNTIME DESTINATION sbin)
|