projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57fe342
)
add option to disable build of the init binary
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Mar 2016 10:54:55 +0000
(11:54 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Mar 2016 10:54:55 +0000
(11:54 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 3219240cbc9bba189d7cce27fb1fec19fa707a88..7299d9ca628f6c479fca6007195b8d70e01134cb 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-47,13
+47,14
@@
INSTALL(TARGETS procd
RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}
)
-
+IF(NOT DISABLE_INIT)
ADD_EXECUTABLE(init initd/init.c initd/early.c initd/preinit.c initd/mkdev.c watchdog.c
utils/utils.c ${SOURCES_ZRAM})
TARGET_LINK_LIBRARIES(init ${LIBS})
INSTALL(TARGETS init
RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}
)
+ENDIF()
ADD_EXECUTABLE(udevtrigger plug/udevtrigger.c)