Config-devel.in 5.2 KB

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