Config.in 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. menu "System configuration"
  2. config BR2_TARGET_GENERIC_HOSTNAME
  3. string "System hostname"
  4. default "buildroot"
  5. help
  6. Select system hostname to be stored in /etc/hostname.
  7. config BR2_TARGET_GENERIC_ISSUE
  8. string "System banner"
  9. default "Welcome to Buildroot"
  10. help
  11. Select system banner (/etc/issue) to be displayed at login.
  12. choice
  13. prompt "/dev management"
  14. default BR2_ROOTFS_DEVICE_CREATION_STATIC
  15. config BR2_ROOTFS_DEVICE_CREATION_STATIC
  16. bool "Static using device table"
  17. config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
  18. bool "Dynamic using devtmpfs only"
  19. config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
  20. bool "Dynamic using mdev"
  21. select BR2_PACKAGE_BUSYBOX
  22. config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
  23. bool "Dynamic using udev"
  24. depends on BR2_LARGEFILE # udev
  25. depends on BR2_USE_WCHAR # udev
  26. select BR2_PACKAGE_UDEV
  27. comment "udev requires a toolchain with LARGEFILE + WCHAR support"
  28. depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
  29. endchoice
  30. choice
  31. prompt "Init system"
  32. default BR2_INIT_BUSYBOX
  33. config BR2_INIT_BUSYBOX
  34. bool "Busybox"
  35. select BR2_PACKAGE_BUSYBOX
  36. config BR2_INIT_SYSV
  37. bool "systemV"
  38. select BR2_PACKAGE_SYSVINIT
  39. config BR2_INIT_SYSTEMD
  40. bool "systemd"
  41. depends on BR2_LARGEFILE
  42. depends on BR2_USE_WCHAR
  43. depends on BR2_INET_IPV6
  44. depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
  45. depends on BR2_TOOLCHAIN_HAS_THREADS
  46. depends on BR2_USE_MMU
  47. select BR2_PACKAGE_DBUS
  48. select BR2_PACKAGE_SYSTEMD
  49. comment 'systemd requires largefile, wchar, IPv6, threads and udev support'
  50. depends on !(BR2_LARGEFILE && BR2_USE_WCHAR && \
  51. BR2_INET_IPV6 && BR2_TOOLCHAIN_HAS_THREADS && \
  52. BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV)
  53. config BR2_INIT_NONE
  54. bool "None"
  55. endchoice
  56. config BR2_ROOTFS_DEVICE_TABLE
  57. string "Path to the permission tables"
  58. default "system/device_table.txt"
  59. help
  60. Specify a space-separated list of permission table locations,
  61. that will be passed to the makedevs utility to assign
  62. correct owners and permissions on various files in the
  63. target filesystem.
  64. See package/makedevs/README for details on the usage and
  65. syntax of these files.
  66. config BR2_ROOTFS_STATIC_DEVICE_TABLE
  67. string "Path to the device tables"
  68. default "system/device_table_dev.txt"
  69. depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
  70. help
  71. Specify a space-separated list of device table locations,
  72. that will be passed to the makedevs utility to create all
  73. the special device files under /dev.
  74. See package/makedevs/README for details on the usage and
  75. syntax of these files.
  76. choice
  77. prompt "Root FS skeleton"
  78. config BR2_ROOTFS_SKELETON_DEFAULT
  79. bool "default target skeleton"
  80. help
  81. Use default target skeleton
  82. config BR2_ROOTFS_SKELETON_CUSTOM
  83. bool "custom target skeleton"
  84. help
  85. Use custom target skeleton.
  86. endchoice
  87. if BR2_ROOTFS_SKELETON_CUSTOM
  88. config BR2_ROOTFS_SKELETON_CUSTOM_PATH
  89. string "custom target skeleton path"
  90. default "system/skeleton"
  91. help
  92. Path custom target skeleton.
  93. endif
  94. if BR2_ROOTFS_SKELETON_DEFAULT
  95. config BR2_TARGET_GENERIC_GETTY_PORT
  96. string "Port to run a getty (login prompt) on"
  97. default "ttyS0"
  98. help
  99. Specify a port to run a getty (login prompt) on.
  100. choice
  101. prompt "Baudrate to use"
  102. default BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  103. help
  104. Select a baudrate to use.
  105. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
  106. bool "keep kernel default"
  107. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
  108. bool "9600"
  109. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
  110. bool "19200"
  111. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
  112. bool "38400"
  113. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
  114. bool "57600"
  115. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  116. bool "115200"
  117. endchoice
  118. config BR2_TARGET_GENERIC_GETTY_BAUDRATE
  119. string
  120. default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
  121. default "9600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
  122. default "19200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
  123. default "38400" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
  124. default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
  125. default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  126. config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
  127. bool "remount root filesystem read-write during boot"
  128. default y
  129. help
  130. The root filesystem is typically mounted read-only at boot.
  131. By default, buildroot remounts it in read-write mode early during the
  132. boot process.
  133. Say no here if you would rather like your root filesystem to remain
  134. read-only.
  135. If unsure, say Y.
  136. endif # BR2_ROOTFS_SKELETON_DEFAULT
  137. config BR2_ROOTFS_POST_BUILD_SCRIPT
  138. string "Custom script to run before creating filesystem images"
  139. default ""
  140. help
  141. Specify a space-separated list of scripts to be run after the build
  142. has finished and before Buildroot starts packing the files into
  143. selected filesystem images.
  144. This gives users the oportunity to do board-specific cleanups,
  145. add-ons and the like, so the generated files can be used directly
  146. without further processing.
  147. These scripts are called with the target directory name as first and
  148. only argument. Make sure the exit code of those scripts are 0,
  149. otherwise make will stop after calling them.
  150. endmenu