Config.in 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. # Copyright (C) 2006-2007 OpenWrt.org
  2. #
  3. # This is free software, licensed under the GNU General Public License v2.
  4. # See /LICENSE for more information.
  5. #
  6. mainmenu "OpenWrt Configuration"
  7. config HAVE_DOT_CONFIG
  8. bool
  9. default y
  10. source "target/Config.in"
  11. menu "Target Images"
  12. config TARGET_ROOTFS_INITRAMFS
  13. bool "ramdisk"
  14. default n
  15. depends LINUX_2_6
  16. help
  17. Embed the rootfs into the kernel (initramfs)
  18. config TARGET_ROOTFS_JFFS2
  19. bool "jffs2"
  20. default y if USES_JFFS2
  21. depends !TARGET_ROOTFS_INITRAMFS
  22. help
  23. Build a jffs2 root filesystem
  24. config TARGET_ROOTFS_SQUASHFS
  25. bool "squashfs"
  26. default y if USES_SQUASHFS
  27. depends !TARGET_ROOTFS_INITRAMFS
  28. help
  29. Build a squashfs-lzma root filesystem
  30. config TARGET_ROOTFS_TGZ
  31. bool "tgz"
  32. default y if USES_TGZ
  33. depends !TARGET_ROOTFS_INITRAMFS
  34. help
  35. Build a compressed tar archive of the the root filesystem
  36. config TARGET_ROOTFS_CPIOGZ
  37. bool "cpiogz"
  38. default y if USES_CPIOGZ
  39. depends !TARGET_ROOTFS_INITRAMFS
  40. help
  41. Build a compressed cpio archive of the the root filesystem
  42. config TARGET_ROOTFS_EXT2FS
  43. bool "ext2"
  44. default y if USES_EXT2
  45. depends !TARGET_ROOTFS_INITRAMFS
  46. help
  47. Ext2 file system with some free space for uml images
  48. config TARGET_ROOTFS_ISO
  49. bool "iso"
  50. default n
  51. depends TARGET_ROOTFS_INITRAMFS && TARGET_x86
  52. help
  53. Create some bootable ISO image
  54. comment "Image Options"
  55. source "target/linux/*/image/Config.in"
  56. config TARGET_ROOTFS_FSPART
  57. int "Filesystem part size (in MB)"
  58. depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || TARGET_rb532 || TARGET_olpc
  59. default 48
  60. help
  61. Allows you to change the filesystem partition size
  62. config TARGET_ROOTFS_MAXINODE
  63. int "Maximum number of inodes in filesystem"
  64. depends TARGET_ROOTFS_EXT2FS
  65. default 6000
  66. help
  67. Allows you to change the maximum number of inodes in the filesystem
  68. endmenu
  69. menu "Global build settings"
  70. config ALL
  71. bool "Select all packages by default"
  72. default n
  73. comment "Features"
  74. config CLEAN_IPKG
  75. bool
  76. prompt "Disable ipkg/opkg installation on the target"
  77. default n
  78. help
  79. This removes all ipkg data from the target directory before building the root fs
  80. comment "Package build options"
  81. config DEBUG
  82. bool
  83. prompt "Compile packages with debugging info"
  84. default n
  85. help
  86. Disables stripping and adds -g3 to the CFLAGS
  87. config DEBUG_DIR
  88. bool "Install debugging binaries into a staging directory"
  89. default n
  90. help
  91. This will install all compiled package binaries into build_dir/target-*/debug-*/,
  92. useful for cross-debugging via gdb/gdbserver
  93. config NO_STRIP
  94. bool "Install unstripped binary on the target (useful for native compiling/debugging)"
  95. default n
  96. endmenu
  97. menuconfig DEVEL
  98. bool "Advanced configuration options (for developers)"
  99. default n
  100. select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
  101. config BROKEN
  102. bool
  103. prompt "Show broken platforms / packages" if DEVEL
  104. default n
  105. config DOWNLOAD_FOLDER
  106. string
  107. prompt "Download folder" if DEVEL
  108. default ""
  109. config LOCALMIRROR
  110. string
  111. prompt "Local mirror for source packages" if DEVEL
  112. config AUTOREBUILD
  113. bool
  114. prompt "Automatic rebuild of packages" if DEVEL
  115. default y
  116. help
  117. Automatically rebuild packages when their files change
  118. config BUILD_SUFFIX
  119. string
  120. prompt "Build suffix to append to the BUILD_DIR variable" if DEVEL
  121. default ""
  122. help
  123. Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
  124. config CCACHE
  125. bool
  126. prompt "Use ccache" if DEVEL
  127. default n
  128. help
  129. Compiler cache; see http://ccache.samba.org/
  130. config EXTERNAL_KERNEL_TREE
  131. string
  132. prompt "Use external kernel tree" if DEVEL
  133. default ""
  134. config KERNEL_GIT_CLONE_URI
  135. string
  136. prompt "Enter git repository to clone" if DEVEL
  137. default ""
  138. help
  139. Enter the full git repository path i.e.:
  140. git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
  141. This will create a git clone of the kernel in your build
  142. directory.
  143. config KERNEL_GIT_LOCAL_REPOSITORY
  144. string
  145. prompt "Enter path to local reference repository" if DEVEL
  146. default ""
  147. help
  148. Enter a full pathname to a local reference git repository.
  149. In this instance, the --refererence option of git clone will
  150. be used thus creating a quick local clone of your repo.
  151. source "toolchain/Config.in"
  152. source "target/imagebuilder/Config.in"
  153. source "target/sdk/Config.in"
  154. source "tmp/.config-package.in"