Config.in 4.1 KB

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