6e863bdef4
This patch fixes the dependency on libfdt for host-sunxi-tools.
Also it fixes the dependency on zlib for sunxi-tools.
Fix the following host build failure raised since commit
2e330dff6a
fit_image.c:19:10: fatal error: libfdt.h: No such file or directory
19 | #include <libfdt.h>
| ^~~~~~~~~~
compilation terminated.
Fixes: http://autobuild.buildroot.net/results/2677c69ac34642a7a501230e1dd22b193db0899d/
Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
74 lines
2.0 KiB
Plaintext
74 lines
2.0 KiB
Plaintext
config BR2_PACKAGE_SUNXI_TOOLS
|
|
bool "sunxi-tools"
|
|
depends on BR2_arm
|
|
help
|
|
Tools for Allwinner A10 (aka sun4i) and A13 (aka sun5i)
|
|
based devices.
|
|
|
|
http://linux-sunxi.org/Sunxi-tools
|
|
|
|
if BR2_PACKAGE_SUNXI_TOOLS
|
|
|
|
config BR2_PACKAGE_SUNXI_TOOLS_FEXC
|
|
bool "sunxi-fexc (fex2bin & bin2fex)"
|
|
help
|
|
Convert between .fex board definition files and binary
|
|
format. These tools are specific for the linux-sunxi kernel
|
|
and do not apply to the mainline Linux kernel version.
|
|
|
|
config BR2_PACKAGE_SUNXI_TOOLS_BOOTINFO
|
|
bool "sunxi-bootinfo"
|
|
help
|
|
Displays information about sunxi boot code.
|
|
|
|
config BR2_PACKAGE_SUNXI_TOOLS_FEL
|
|
bool "sunxi-fel"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
select BR2_PACKAGE_DTC
|
|
select BR2_PACKAGE_LIBUSB
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
The sunxi-fel command can interact with a sunxi device in
|
|
fel mode. This allows do download code to memory and execute
|
|
it.
|
|
|
|
comment "sunxi-fel needs a toolchain w/ threads, gcc >= 4.9"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
config BR2_PACKAGE_SUNXI_TOOLS_NAND_PART
|
|
bool "sunxi-nand-part"
|
|
default y
|
|
help
|
|
The sunxi-nand-part command allows to repartition the internal
|
|
NAND on sunxi devices.
|
|
|
|
config BR2_PACKAGE_SUNXI_TOOLS_PIO
|
|
bool "sunxi-pio"
|
|
help
|
|
GPIO manipulation tool for sunxi boards.
|
|
|
|
config BR2_PACKAGE_SUNXI_TOOLS_MEMINFO
|
|
bool "sunxi-meminfo"
|
|
help
|
|
Utility to retrieve DRAM information from registers on
|
|
Allwinner SoCs. Specific for the linux-sunxi kernel - does
|
|
not apply to the mainline Linux kernel version.
|
|
|
|
config BR2_PACKAGE_SUNXI_TOOLS_PHOENIX_INFO
|
|
bool "phoenix_info"
|
|
help
|
|
Display information about self-installing SD card images
|
|
(created with Phoenix Card).
|
|
|
|
https://linux-sunxi.org/PhoenixCard
|
|
|
|
config BR2_PACKAGE_SUNXI_TOOLS_NAND_IMAGE_BUILDER
|
|
bool "sunxi-nand-image-builder"
|
|
help
|
|
Creates a raw NAND image that can be read by the sunxi NAND
|
|
controller.
|
|
|
|
endif # BR2_PACKAGE_SUNXI_TOOLS
|