Config.in 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. config BR2_PACKAGE_BUSYBOX
  2. bool "BusyBox"
  3. default y
  4. help
  5. The Swiss Army Knife of embedded Linux. It slices, it dices,
  6. it makes Julian Fries.
  7. http://busybox.net/
  8. Most people will answer Y.
  9. if BR2_PACKAGE_BUSYBOX
  10. config BR2_PACKAGE_BUSYBOX_CONFIG
  11. string "BusyBox configuration file to use?"
  12. default "package/busybox/busybox-minimal.config" if !BR2_USE_MMU
  13. default "package/busybox/busybox.config"
  14. help
  15. Some people may wish to use their own modified BusyBox
  16. configuration file, and will specify their config file
  17. location with this option.
  18. Most people will just use the default BusyBox configuration
  19. file.
  20. config BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES
  21. string "Additional BusyBox configuration fragment files"
  22. help
  23. A space-separated list of configuration fragment files,
  24. that will be merged to the main BusyBox configuration file.
  25. # This option is not an option of Busybox, it can be selected even
  26. # if Busybox is not enabled.
  27. config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
  28. bool "Show packages that are also provided by busybox"
  29. help
  30. Show packages in menuconfig that are potentially also provided
  31. by busybox.
  32. config BR2_PACKAGE_BUSYBOX_SELINUX
  33. bool "Enable SELinux support"
  34. default y
  35. depends on BR2_PACKAGE_LIBSELINUX
  36. select BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES
  37. help
  38. Enable SELinux support in BusyBox. Please note that
  39. depending on your BusyBox configuration and the SELinux
  40. policy implementation, you may want to also enable
  41. BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES.
  42. For instance, if your BusyBox configuration only uses a
  43. couple of minor BusyBox features, such as simple command
  44. line utilities, the symlinked version of BusyBox can be used
  45. to save space. If BusyBox provides more features, such as
  46. crond, then individual binaries have to be enabled for the
  47. SELinux type transitions to occur properly.
  48. config BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES
  49. bool "Individual binaries"
  50. depends on !BR2_STATIC_LIBS
  51. help
  52. By default (i.e with this option disabled), Busybox is
  53. installed as a single binary in /bin/busybox and all applets
  54. are a symbolic link to /bin/busybox.
  55. With this option enabled, each applet is a separate binary,
  56. which is needed for proper operation with SELinux.
  57. comment "Busybox individual binaries need a toolchain w/ dynamic library"
  58. depends on BR2_STATIC_LIBS
  59. config BR2_PACKAGE_BUSYBOX_WATCHDOG
  60. bool "Install the watchdog daemon startup script"
  61. help
  62. Install the watchdog daemon startup script,
  63. that just start at the boot the busybox watchdog daemon.
  64. if BR2_PACKAGE_BUSYBOX_WATCHDOG
  65. config BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD
  66. string "Delay between reset"
  67. default "5"
  68. help
  69. Select the number of seconds between each
  70. reset of the watchdog (default 5)
  71. Use ms suffix to specify milliseconds (e.g. 500ms)
  72. endif
  73. endif
  74. if !BR2_PACKAGE_BUSYBOX # kconfig doesn't support else
  75. comment "You may need to enable other packages to get a working system"
  76. comment "You better know what you're doing!"
  77. # This option is not an option of Busybox, it can be selected even if
  78. # Busybox is not enabled. This dummy option ensures that packages that
  79. # depend on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS are visible when Busybox
  80. # is disabled.
  81. config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
  82. default y
  83. endif