Config-devel.in 4.4 KB

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