Commit db6a436f authored by Vicente Olivert Riera's avatar Vicente Olivert Riera Committed by Peter Korsgaard
Browse files

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: default avatarVicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent e85696b9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
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