665e13c85e
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_DTC
|
|
bool "dtc (libfdt)"
|
|
depends on !BR2_STATIC_LIBS
|
|
help
|
|
The Device Tree Compiler, dtc, takes as input a device-tree in
|
|
a given format and outputs a device-tree in another format.
|
|
|
|
Note that only the library is installed.
|
|
If you want the programs, say 'y' here, and to "dtc programs", below.
|
|
|
|
http://git.jdl.com/gitweb/?p=dtc.git (no home page)
|
|
|
|
if BR2_PACKAGE_DTC
|
|
|
|
config BR2_PACKAGE_DTC_PROGRAMS
|
|
bool "dtc programs"
|
|
help
|
|
Say 'y' here if you also want the programs on the target:
|
|
- convert-dtsv0 convert from version 0 to version 1
|
|
- dtc the device tree compiler
|
|
- dtdiff compare two device trees (needs bash)
|
|
- fdtdump print a readable version of a flat device tree
|
|
- fdtget read values from device tree
|
|
- fdtput write a property value to a device tree
|
|
|
|
Note: dtdiff requires bash, so if bash is not selected, dtdiff will
|
|
be removed from the target file system. Enable bash if you
|
|
need dtdiff on the target.
|
|
|
|
comment "dtdiff will not be installed: it requires bash"
|
|
depends on BR2_PACKAGE_DTC_PROGRAMS
|
|
depends on !BR2_PACKAGE_BASH
|
|
|
|
endif
|
|
|
|
comment "dtc needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|