xref: /OK3568_Linux_fs/buildroot/package/dtc/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_DTC
2*4882a593Smuzhiyun	bool "dtc (libfdt)"
3*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
4*4882a593Smuzhiyun	help
5*4882a593Smuzhiyun	  The Device Tree Compiler, dtc, takes as input a device-tree in
6*4882a593Smuzhiyun	  a given format and outputs a device-tree in another format.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun	  Note that only the library is installed.
9*4882a593Smuzhiyun	  If you want the programs, say 'y' here, and to "dtc programs",
10*4882a593Smuzhiyun	  below.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	  https://git.kernel.org/cgit/utils/dtc/dtc.git
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunif BR2_PACKAGE_DTC
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunconfig BR2_PACKAGE_DTC_PROGRAMS
17*4882a593Smuzhiyun	bool "dtc programs"
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  Say 'y' here if you also want the programs on the target:
20*4882a593Smuzhiyun	    - convert-dtsv0     convert from version 0 to version 1
21*4882a593Smuzhiyun	    - dtc               the device tree compiler
22*4882a593Smuzhiyun	    - dtdiff            compare two device trees (needs bash)
23*4882a593Smuzhiyun	    - fdtdump           print a readable version of a
24*4882a593Smuzhiyun	                        flat device tree
25*4882a593Smuzhiyun	    - fdtget            read values from device tree
26*4882a593Smuzhiyun	    - fdtput            write a property value to a device tree
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	  Note: dtdiff requires bash, so if bash is not selected, dtdiff
29*4882a593Smuzhiyun	  will be removed from the target file system. Enable bash if
30*4882a593Smuzhiyun	  you need dtdiff on the target.
31*4882a593Smuzhiyun
32*4882a593Smuzhiyuncomment "dtdiff will not be installed: it requires bash"
33*4882a593Smuzhiyun	depends on BR2_PACKAGE_DTC_PROGRAMS
34*4882a593Smuzhiyun	depends on !BR2_PACKAGE_BASH
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunendif
37*4882a593Smuzhiyun
38*4882a593Smuzhiyuncomment "dtc needs a toolchain w/ dynamic library"
39*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS
40