only build upgraded on mips
authorJohn Crispin <blogic@openwrt.org>
Tue, 17 Jun 2014 16:16:25 +0000 (17:16 +0100)
committerJohn Crispin <blogic@openwrt.org>
Tue, 17 Jun 2014 16:16:25 +0000 (17:16 +0100)
Signed-off-by: John Crispin <blogic@openwrt.org>
CMakeLists.txt

index dc7ecd6e46ba04feda7d28ac3034ee3865c616f4..1616b72eef966e0a0dc3a4454e62b3aae49550ea 100644 (file)
@@ -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})