Config.in 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. mainmenu "OpenWrt Configuration"
  2. menu "Global build settings"
  3. config ALL_NONSHARED
  4. bool "Select all target specific packages by default"
  5. default ALL
  6. config ALL_KMODS
  7. bool "Select all kernel module packages by default"
  8. default ALL
  9. config ALL
  10. bool "Select all userspace packages by default"
  11. default y
  12. config SIGNED_PACKAGES
  13. bool "Cryptographically sign package lists"
  14. default y
  15. comment "Package build options"
  16. config DEBUG
  17. bool
  18. prompt "Compile packages with debugging info"
  19. help
  20. Adds -g3 to the CFLAGS.
  21. comment "Stripping options"
  22. choice
  23. prompt "Binary stripping method"
  24. default USE_STRIP if USE_GLIBC
  25. default USE_SSTRIP
  26. help
  27. Select the binary stripping method you wish to use.
  28. config NO_STRIP
  29. bool "none"
  30. help
  31. This will install unstripped binaries (useful for native
  32. compiling/debugging).
  33. config USE_STRIP
  34. bool "strip"
  35. help
  36. This will install binaries stripped using strip from binutils.
  37. config USE_SSTRIP
  38. bool "sstrip"
  39. depends on !USE_GLIBC
  40. help
  41. This will install binaries stripped using sstrip.
  42. endchoice
  43. config STRIP_ARGS
  44. string
  45. prompt "Strip arguments"
  46. depends on USE_STRIP
  47. default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG
  48. default "--strip-all"
  49. help
  50. Specifies arguments passed to the strip command when stripping binaries.
  51. endmenu
  52. menu "Advanced configuration options (for developers)"
  53. config BROKEN
  54. bool "Show broken packages"
  55. config DOWNLOAD_FOLDER
  56. string "Download folder"
  57. default ""
  58. help
  59. Store downloaded source bundles in this directory.
  60. If not set then defaults to './dl', which is removed by operations such as
  61. 'git clean -xdf' or 'make distclean'.
  62. This option is useful if you have a low bandwidth Internet connection, and by
  63. setting a path outside the OpenWrt tree downloads will be saved.
  64. config LOCALMIRROR
  65. string "Local mirror for source packages"
  66. default ""
  67. config AUTOREBUILD
  68. bool "Automatic rebuild of packages"
  69. default y
  70. help
  71. Automatically rebuild packages when their files change.
  72. config AUTOREMOVE
  73. bool "Automatic removal of build directories"
  74. default y
  75. help
  76. Automatically delete build directories after make target completed.
  77. This allows you to symlink build_dir into a scratch location, e.g. a ramdisk,
  78. which does not have enough space to keep a complete build_dir.
  79. config CCACHE
  80. bool "Use ccache"
  81. help
  82. Compiler cache; see https://ccache.samba.org/
  83. config BUILD_LOG
  84. bool "Enable log files during build process"
  85. help
  86. If enabled, log files will be written to the ./log directory.
  87. config SRC_TREE_OVERRIDE
  88. bool "Enable package source tree override"
  89. help
  90. If enabled, you can force a package to use a git tree as source
  91. code instead of the normal tarball. Create a symlink 'git-src'
  92. in the package directory, pointing to the .git tree that you want
  93. to pull the source code from.
  94. endmenu
  95. config IN_SDK
  96. default y
  97. bool
  98. config MODULES
  99. bool
  100. default y
  101. modules
  102. source "Config-build.in"
  103. source "tmp/.config-package.in"