Config.in 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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 device tables"
  28. default "target/generic/device_table.txt target/generic/device_table_dev.txt" \
  29. if BR2_ROOTFS_DEVICE_CREATION_STATIC
  30. default "target/generic/device_table.txt" \
  31. if (BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV || \
  32. BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || \
  33. BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS)
  34. help
  35. Specify a space-separated list of device table locations,
  36. that will be passed to the makedevs utility to create all
  37. the special device files and assign correct owners and
  38. permissions on various files in the target filesystem.
  39. See package/makedevs/README for details on the usage and
  40. syntax of these files.
  41. choice
  42. prompt "Root FS skeleton"
  43. config BR2_ROOTFS_SKELETON_DEFAULT
  44. bool "default target skeleton"
  45. help
  46. Use default target skeleton
  47. config BR2_ROOTFS_SKELETON_CUSTOM
  48. bool "custom target skeleton"
  49. help
  50. Use custom target skeleton.
  51. endchoice
  52. if BR2_ROOTFS_SKELETON_CUSTOM
  53. config BR2_ROOTFS_SKELETON_CUSTOM_PATH
  54. string "custom target skeleton path"
  55. default "fs/skeleton"
  56. help
  57. Path custom target skeleton.
  58. endif
  59. if BR2_ROOTFS_SKELETON_DEFAULT
  60. config BR2_TARGET_GENERIC_GETTY_PORT
  61. string "Port to run a getty (login prompt) on"
  62. default "ttyS0"
  63. help
  64. Specify a port to run a getty (login prompt) on.
  65. choice
  66. prompt "Baudrate to use"
  67. default BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  68. help
  69. Select a baudrate to use.
  70. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
  71. bool "keep kernel default"
  72. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
  73. bool "9600"
  74. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
  75. bool "19200"
  76. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
  77. bool "38400"
  78. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
  79. bool "57600"
  80. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  81. bool "115200"
  82. endchoice
  83. config BR2_TARGET_GENERIC_GETTY_BAUDRATE
  84. string
  85. default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
  86. default "9600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
  87. default "19200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
  88. default "38400" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
  89. default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
  90. default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  91. endif # BR2_ROOTFS_SKELETON_DEFAULT
  92. config BR2_ROOTFS_POST_BUILD_SCRIPT
  93. string "Custom script to run before creating filesystem images"
  94. default ""
  95. help
  96. Specify a script to be run after the build has finished and before
  97. Buildroot starts packing the files into selected filesystem images.
  98. This gives users the oportunity to do board-specific cleanups,
  99. add-ons and the like, so the generated files can be used directly
  100. without further processing.
  101. The script is called with the target directory name as first and
  102. only argument. Make sure the exit code of that script is 0,
  103. otherwise make will stop after calling it.
  104. endmenu