summaryrefslogtreecommitdiffstats
path: root/lld/utils/linker-script-test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lld/utils/linker-script-test/Makefile')
-rw-r--r--lld/utils/linker-script-test/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/lld/utils/linker-script-test/Makefile b/lld/utils/linker-script-test/Makefile
new file mode 100644
index 00000000000..de40ca54d25
--- /dev/null
+++ b/lld/utils/linker-script-test/Makefile
@@ -0,0 +1,24 @@
+##===-------------- linker-script-test/Makefile ----------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===--------------------------------------------------------------------===##
+
+LLD_LEVEL := ../..
+
+TOOLNAME = linker-script-test
+
+# No plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
+#include /Makefile.config
+LEVEL := $(LLD_LEVEL)/../..
+include $(LEVEL)/Makefile.config
+
+LINK_COMPONENTS := $(TARGETS_TO_BUILD)
+USEDLIBS = lldReaderWriter.a LLVMSupport.a
+
+include $(LLD_LEVEL)/Makefile
OpenPOWER on IntegriCloud