• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/urngd/cmake/openwrt-toolchain-ath79.cmake

  1 SET(CMAKE_SYSTEM_NAME Linux)
  2 
  3 SET(OWRT_STAGING_DIR /opt/devel/openwrt/openwrt.git/staging_dir)
  4 SET(OWRT_TARGET target-mips_24kc_musl)
  5 SET(OWRT_TOOLCHAIN toolchain-mips_24kc_gcc-7.4.0_musl)
  6 SET(OWRT_CROSS ${OWRT_STAGING_DIR}/${OWRT_TOOLCHAIN}/bin/mips-openwrt-linux-)
  7 
  8 SET(CMAKE_C_COMPILER ${OWRT_CROSS}gcc)
  9 SET(CMAKE_CXX_COMPILER ${OWRT_CROSS}g++)
 10 
 11 SET(CMAKE_FIND_ROOT_PATH ${OWRT_STAGING_DIR}/${OWRT_TARGET})
 12 
 13 SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
 14 SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
 15 SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
 16 
 17 ADD_DEFINITIONS(
 18         -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt
 19         -fhonour-copts -msoft-float -mips16 -minterlink-mips16
 20 )

This page was automatically generated by LXR 0.3.1.  •  OpenWrt