@@ -1221,6 +1221,7 @@ F: package/at-spi2-core/
F: package/clang/
F: package/gconf/
F: package/libnss/
+F: package/lld/
F: package/llvm/
F: package/python-cython/
F: package/python-raven/
@@ -34,6 +34,7 @@ menu "Host utilities"
source "package/jq/Config.in.host"
source "package/jsmin/Config.in.host"
source "package/libp11/Config.in.host"
+ source "package/lld/Config.in.host"
source "package/llvm/Config.in.host"
source "package/lpc3250loader/Config.in.host"
source "package/lttng-babeltrace/Config.in.host"
new file mode 100644
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_HOST_LLD
+ bool "host lld"
+ depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS # llvm
+ depends on BR2_HOST_GCC_AT_LEAST_4_8 # llvm
+ select BR2_PACKAGE_HOST_LLVM
+ help
+ LLD is a linker from the LLVM project that is a drop-in
+ replacement for system linkers, and runs much faster than
+ them. It also provides features that are useful for
+ toolchain developers.
+
+ https://lld.llvm.org/
+
+comment "lld needs a toolchain w/ host gcc >= 4.8"
+ depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
+ depends on !BR2_HOST_GCC_AT_LEAST_4_8
new file mode 100644
@@ -0,0 +1,2 @@
+sha256 9caec8ec922e32ffa130f0fb08e4c5a242d7e68ce757631e425e9eba2e1a6e37 lld-8.0.0.src.tar.xz
+sha256 a6c2a7ad246b567fd1828561ee8c244e35f73f164f031c82a7f28eff9634d23d LICENSE.TXT
new file mode 100644
@@ -0,0 +1,15 @@
+################################################################################
+#
+# lld
+#
+################################################################################
+
+LLD_VERSION = 8.0.0
+LLD_SITE = https://llvm.org/releases/$(LLD_VERSION)
+LLD_SOURCE = lld-$(LLD_VERSION).src.tar.xz
+LLD_LICENSE = NCSA
+LLD_LICENSE_FILES = LICENSE.TXT
+LLD_SUPPORTS_IN_SOURCE_BUILD = NO
+HOST_LLD_DEPENDENCIES = host-llvm
+
+$(eval $(host-cmake-package))