config BR2_PACKAGE_SUNXI_BOARDS
	bool "sunxi script.bin board file"
	depends on BR2_arm
	select BR2_PACKAGE_HOST_SUNXI_TOOLS
	help
	  Sunxi-boards requires a compiled .fex files for hardware
	  description, used by the kernel during boot for hardware
	  initialization. This package is specific for linux-sunxi
	  kernel and it is useless for mainline kernel versions.

	  https://github.com/linux-sunxi/sunxi-boards

if BR2_PACKAGE_SUNXI_BOARDS
config BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE
	string ".fex file to compile"
	help
	  This field defines the name of the .fex file for which the
	  .bin file should be generated.

	  This should be the path of the .fex file relative to the
	  sys_config/ directory, and including the .fex extension.

	  See inside sys_config/ directory in sunxi-boards source code
	  to see the list of valid .fex files.
endif
