summaryrefslogtreecommitdiffstats
path: root/package/dtc/Config.in
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2014-01-07 09:44:33 +0000
committerPeter Korsgaard <peter@korsgaard.com>2014-01-10 22:58:55 +0100
commitdb6a436ff787b9339969671c7186d62b4f1d6a4a (patch)
tree68856b49f4ba31d1f9a2a90af7636e358068476e /package/dtc/Config.in
parente85696b9bf8733a94e9a9548c930ab15c38bef5a (diff)
dtc: broken for static builds
dtc package has hardcoded shared lib link options in the Makefile, so it will fail if you try to build it on a static lib environment. [Peter: Move comment under _PROGRAMS suboption for proper indentation] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/dtc/Config.in')
-rw-r--r--package/dtc/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/dtc/Config.in b/package/dtc/Config.in
index fac6ab2ea..194b012b0 100644
--- a/package/dtc/Config.in
+++ b/package/dtc/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_DTC
bool "dtc (libfdt)"
+ depends on !BR2_PREFER_STATIC_LIB
help
The Device Tree Compiler, dtc, takes as input a device-tree in
a given format and outputs a device-tree in another format.
@@ -31,3 +32,6 @@ comment "dtdiff will not be installed: it requires bash"
depends on !BR2_PACKAGE_BASH
endif
+
+comment "dtc needs a toolchain w/ dynamic library"
+ depends on BR2_PREFER_STATIC_LIB