From 95d96a360f0240fcfd7d956f41e354ddd99452c9 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 12 Nov 2017 23:29:35 +0100 Subject: auc: add new package 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 --- utils/auc/src/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 utils/auc/src/CMakeLists.txt (limited to 'utils/auc/src/CMakeLists.txt') diff --git a/utils/auc/src/CMakeLists.txt b/utils/auc/src/CMakeLists.txt new file mode 100644 index 000000000..ce291a4e3 --- /dev/null +++ b/utils/auc/src/CMakeLists.txt @@ -0,0 +1,12 @@ +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) -- cgit v1.2.3