summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-17 18:16:25 +0200
committerJohn Crispin <blogic@openwrt.org>2014-06-17 18:16:25 +0200
commitded9fec7e4afae14fe2821608c132325afd65b7e (patch)
tree4a15779a480db0877519f967dbaaebd4ffe70660
parent202318c6163657fc671b27527e5228cb8170af1d (diff)
downloadunitd-ded9fec7e4afae14fe2821608c132325afd65b7e.tar
unitd-ded9fec7e4afae14fe2821608c132325afd65b7e.zip
only build upgraded on mips
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dc7ecd6..1616b72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,9 @@ IF(DEBUG)
ADD_DEFINITIONS(-DDEBUG -g3)
ENDIF()
+IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "mips")
add_subdirectory(upgraded)
+ENDIF()
ADD_EXECUTABLE(procd ${SOURCES})
TARGET_LINK_LIBRARIES(procd ${LIBS})