Bump ubox-2016-07-19-aead2c0cbffdda9b46d74a998a4c6aeef423b21a
This commit is contained in:
33
src/3P/ubox/builders/cmake/CMakeLists.txt
Normal file
33
src/3P/ubox/builders/cmake/CMakeLists.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
cmake_minimum_required (VERSION 3.0)
|
||||
|
||||
project (ubox)
|
||||
|
||||
ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations)
|
||||
|
||||
set (CMAKE_MODULE_PATH "${MODULE_PATH}")
|
||||
|
||||
set(DISABLE_TARGET_OPTIMIZATION ON)
|
||||
|
||||
include (aw)
|
||||
|
||||
# Logd
|
||||
|
||||
add_executable (logd
|
||||
$ENV{AWOXCVS}/AwoxAudio/Products/External/ubox/log/logd.c
|
||||
$ENV{AWOXCVS}/AwoxAudio/Products/External/ubox/log/syslog.c)
|
||||
target_link_libraries (logd ubox ubus)
|
||||
install (TARGETS logd RUNTIME DESTINATION sbin)
|
||||
|
||||
# Logread
|
||||
|
||||
add_executable (logread
|
||||
$ENV{AWOXCVS}/AwoxAudio/Products/External/ubox/log/logread.c)
|
||||
target_link_libraries (logread ubox ubus json-c blobmsg_json)
|
||||
install (TARGETS logread RUNTIME DESTINATION sbin)
|
||||
|
||||
# kmodloader
|
||||
|
||||
add_executable (kmodloader
|
||||
$ENV{AWOXCVS}/AwoxAudio/Products/External/ubox/kmodloader.c)
|
||||
target_link_libraries (kmodloader ubox)
|
||||
install (TARGETS kmodloader RUNTIME DESTINATION ../sbin)
|
||||
Reference in New Issue
Block a user