Config.in 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. config BR2_ROOTFS_DEVICE_TABLE
  31. string "Path to the permission tables"
  32. default "target/generic/device_table.txt"
  33. help
  34. Specify a space-separated list of permission table locations,
  35. that will be passed to the makedevs utility to assign
  36. correct owners and permissions on various files in the
  37. target filesystem.
  38. See package/makedevs/README for details on the usage and
  39. syntax of these files.
  40. config BR2_ROOTFS_STATIC_DEVICE_TABLE
  41. string "Path to the device tables"
  42. default "target/generic/device_table_dev.txt"
  43. depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
  44. help
  45. Specify a space-separated list of device table locations,
  46. that will be passed to the makedevs utility to create all
  47. the special device files under /dev.
  48. See package/makedevs/README for details on the usage and
  49. syntax of these files.
  50. choice
  51. prompt "Root FS skeleton"
  52. config BR2_ROOTFS_SKELETON_DEFAULT
  53. bool "default target skeleton"
  54. help
  55. Use default target skeleton
  56. config BR2_ROOTFS_SKELETON_CUSTOM
  57. bool "custom target skeleton"
  58. help
  59. Use custom target skeleton.
  60. endchoice
  61. if BR2_ROOTFS_SKELETON_CUSTOM
  62. config BR2_ROOTFS_SKELETON_CUSTOM_PATH
  63. string "custom target skeleton path"
  64. default "fs/skeleton"
  65. help
  66. Path custom target skeleton.
  67. endif
  68. if BR2_ROOTFS_SKELETON_DEFAULT
  69. config BR2_TARGET_GENERIC_GETTY_PORT
  70. string "Port to run a getty (login prompt) on"
  71. default "ttyS0"
  72. help
  73. Specify a port to run a getty (login prompt) on.
  74. choice
  75. prompt "Baudrate to use"
  76. default BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  77. help
  78. Select a baudrate to use.
  79. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
  80. bool "keep kernel default"
  81. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
  82. bool "9600"
  83. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
  84. bool "19200"
  85. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
  86. bool "38400"
  87. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
  88. bool "57600"
  89. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  90. bool "115200"
  91. endchoice
  92. config BR2_TARGET_GENERIC_GETTY_BAUDRATE
  93. string
  94. default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
  95. default "9600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
  96. default "19200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
  97. default "38400" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
  98. default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
  99. default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  100. config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
  101. bool "remount root filesystem read-write during boot"
  102. default y
  103. help
  104. The root filesystem is typically mounted read-only at boot.
  105. By default, buildroot remounts it in read-write mode early during the
  106. boot process.
  107. Say no here if you would rather like your root filesystem to remain
  108. read-only.
  109. If unsure, say Y.
  110. endif # BR2_ROOTFS_SKELETON_DEFAULT
  111. config BR2_ROOTFS_POST_BUILD_SCRIPT
  112. string "Custom script to run before creating filesystem images"
  113. default ""
  114. help
  115. Specify a script to be run after the build has finished and before
  116. Buildroot starts packing the files into selected filesystem images.
  117. This gives users the oportunity to do board-specific cleanups,
  118. add-ons and the like, so the generated files can be used directly
  119. without further processing.
  120. The script is called with the target directory name as first and
  121. only argument. Make sure the exit code of that script is 0,
  122. otherwise make will stop after calling it.
  123. endmenu