Config.in.adk 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. menu "Global settings"
  2. config ADK_VENDOR
  3. string "vendor name"
  4. default "openadk"
  5. help
  6. Vendor string is used for toolchain.
  7. config ADK_HOST
  8. string "webserver for packages and distfiles"
  9. default "www.openadk.org"
  10. help
  11. Configure host for IPKG package management.
  12. config ADK_DL_DIR
  13. string "download directory for packages"
  14. default ""
  15. help
  16. Configure the download directory for all source packages.
  17. Use an absolute path.
  18. config ADK_TARGET_CFLAGS_OPT
  19. string "optimization flags for compiler"
  20. default "-Os -pipe"
  21. help
  22. Compilation is only verfied with optimization for code size (Os).
  23. Other stuff (O2) might break. Will not be used when ADK_DEBUG is on.
  24. config ADK_DEBUG
  25. bool "Compile applications with debug support by default"
  26. default n
  27. help
  28. All packages and libc will be compiled and packaged with debug information.
  29. Mostly useful for NFS root or big USB/CF or hard disk setups.
  30. config ADK_DEBUG_OPTS
  31. bool "use optimization cflags"
  32. depends on ADK_DEBUG
  33. default n
  34. help
  35. All packages and libc will be compiled with debug information and optimization flags on.
  36. config ADK_DEBUG_STRIP
  37. bool "strip target binaries/libraries for gdbserver usage"
  38. depends on ADK_DEBUG
  39. default n
  40. help
  41. All packages and libc will be compiled with debug information, but stripped for the target.
  42. config ADK_STATIC
  43. bool "Link applications statically by default"
  44. default n
  45. select BUSYBOX_STATIC
  46. help
  47. Useful for toolchain only target devices.
  48. config ADK_DISABLE_HONOUR_CFLAGS
  49. bool "Disable honour CFLAGS checks globally"
  50. default n
  51. help
  52. Disable honour CFLAGS checks.
  53. config ADK_WGET_TIMEOUT
  54. int "Set wget timeout"
  55. default 10
  56. help
  57. set wget timeout
  58. config ADK_USE_CCACHE
  59. bool "Use ccache to speedup recompilation"
  60. select ADK_HOST_NEED_CCACHE
  61. default n
  62. help
  63. Useful if you have enough space for the cache and need speedup compilation.
  64. config ADK_MAKE_JOBS
  65. int
  66. default 1 if ! ADK_MAKE_PARALLEL
  67. config ADK_MAKE_PARALLEL
  68. prompt "Enable parallel building of packages"
  69. boolean
  70. config ADK_MAKE_JOBS
  71. prompt "How many jobs to use"
  72. int
  73. default 2
  74. depends on ADK_MAKE_PARALLEL
  75. help
  76. The number specified here will be passed to make as N in '-jN'
  77. config ADK_TARGET_IP
  78. prompt "Set target ip address for make check"
  79. string
  80. default "127.0.0.1"
  81. help
  82. config ADK_TARGET_PORT
  83. prompt "Set target port for make check"
  84. string
  85. default "2222" if ADK_HARDWARE_QEMU
  86. default "22"
  87. help
  88. choice
  89. prompt "Hostsystem (do not change!)"
  90. config ADK_HOST_LINUX
  91. prompt "Linux"
  92. boolean
  93. config ADK_HOST_FREEBSD
  94. prompt "FreeBSD"
  95. boolean
  96. config ADK_HOST_MIRBSD
  97. prompt "MirBSD"
  98. boolean
  99. config ADK_HOST_OPENBSD
  100. prompt "OpenBSD"
  101. boolean
  102. config ADK_HOST_NETBSD
  103. prompt "NetBSD"
  104. boolean
  105. config ADK_HOST_DARWIN
  106. prompt "Darwin"
  107. boolean
  108. config ADK_HOST_CYGWIN
  109. prompt "Cygwin"
  110. boolean
  111. endchoice
  112. endmenu