Config-devel.in 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # Copyright (C) 2006-2013 OpenWrt.org
  2. #
  3. # This is free software, licensed under the GNU General Public License v2.
  4. # See /LICENSE for more information.
  5. #
  6. menuconfig DEVEL
  7. bool "Advanced configuration options (for developers)"
  8. default n
  9. config BROKEN
  10. bool "Show broken platforms / packages" if DEVEL
  11. default n
  12. config BINARY_FOLDER
  13. string "Binary folder" if DEVEL
  14. default ""
  15. help
  16. Store built firmware images and filesystem images in this directory.
  17. If not set, uses './bin/$(BOARD)'
  18. config DOWNLOAD_FOLDER
  19. string "Download folder" if DEVEL
  20. default ""
  21. help
  22. Store downloaded source bundles in this directory.
  23. If not set then defaults to './dl', which is removed by operations such as
  24. 'git clean -xdf' or 'make distclean'.
  25. This option is useful if you have a low bandwidth Internet connection, and by
  26. setting a path outside the OpenWrt tree downloads will be saved.
  27. config LOCALMIRROR
  28. string "Local mirror for source packages" if DEVEL
  29. default ""
  30. config AUTOREBUILD
  31. bool "Automatic rebuild of packages" if DEVEL
  32. default y
  33. help
  34. Automatically rebuild packages when their files change.
  35. config BUILD_SUFFIX
  36. string "Build suffix to append to the target BUILD_DIR variable" if DEVEL
  37. default ""
  38. help
  39. Build suffix to append to the BUILD_DIR variable, i.e: './build_dir/{target-build-dir}_$(BUILD_SUFFIX)'.
  40. This allows you to switch to a different .config whilst retaining all the build
  41. objects generated by the first .config
  42. config TARGET_ROOTFS_DIR
  43. string "Override the default TARGET_ROOTFS_DIR variable" if DEVEL
  44. default ""
  45. help
  46. Override the default TARGET_ROOTFS_DIR variable content $(BUILD_DIR) with
  47. custom path. Use this option to re-define the location of the target
  48. root filesystem directory.
  49. config CCACHE
  50. bool "Use ccache" if DEVEL
  51. default n
  52. help
  53. Compiler cache; see https://ccache.samba.org/
  54. config EXTERNAL_KERNEL_TREE
  55. string "Use external kernel tree" if DEVEL
  56. default ""
  57. config KERNEL_GIT_CLONE_URI
  58. string "Enter git repository to clone" if DEVEL
  59. default ""
  60. help
  61. Enter the full git repository path i.e.:
  62. git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
  63. This will create a git clone of the kernel in your build directory.
  64. config KERNEL_GIT_LOCAL_REPOSITORY
  65. string "Enter path to local reference repository" if DEVEL
  66. depends on (KERNEL_GIT_CLONE_URI != "")
  67. default ""
  68. help
  69. Enter a full pathname to a local reference git repository.
  70. In this instance, the --reference option of git clone will
  71. be used thus creating a quick local clone of your repo.
  72. config KERNEL_GIT_BRANCH
  73. string "Enter git branch to clone" if DEVEL
  74. depends on (KERNEL_GIT_CLONE_URI != "")
  75. default ""
  76. help
  77. Enter the branch name to checkout after cloning the git repository.
  78. In this instance, the --branch option of git clone will be used.
  79. If unused, the clone's repository HEAD will be checked-out.
  80. config BUILD_LOG
  81. bool "Enable log files during build process" if DEVEL
  82. help
  83. If enabled, log files will be written to the ./log directory.
  84. config SRC_TREE_OVERRIDE
  85. bool "Enable package source tree override" if DEVEL
  86. help
  87. If enabled, you can force a package to use a git tree as source
  88. code instead of the normal tarball. Create a symlink 'git-src'
  89. in the package directory, pointing to the .git tree that you want
  90. to pull the source code from.
  91. config EXTRA_OPTIMIZATION
  92. string "Additional compiler options" if DEVEL
  93. default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN && !arc
  94. default "-fno-caller-saves"
  95. help
  96. Extra target-independent optimizations to use when building for the target.