]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
dtc: broken for static builds
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Tue, 7 Jan 2014 09:44:33 +0000 (09:44 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 10 Jan 2014 21:58:55 +0000 (22:58 +0100)
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>
package/dtc/Config.in

index fac6ab2ea44bdd9961bca43122e2af69051c2ed4..194b012b0222db694eef887b25284e0f95d448c1 100644 (file)
@@ -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