Fix the linux build now that we link against the Linux and FreeBSD platforms.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151642 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Makefile b/lib/Makefile
index 540c9d8..9042372 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -61,7 +61,10 @@
clangParse.a \
clangSema.a \
clangSerialization.a \
- LLVMMCDisassembler.a
+ LLVMMCDisassembler.a \
+ lldbPluginPlatformMacOSX.a \
+ lldbPluginPlatformLinux.a \
+ lldbPluginPlatformFreeBSD.a
include $(LLDB_LEVEL)/../../Makefile.config
@@ -76,7 +79,6 @@
lldbPluginObjectFileMachO.a \
lldbPluginOperatingSystemDarwinKernel.a \
lldbPluginSymbolVendorMacOSX.a \
- lldbPluginPlatformMacOSX.a \
lldbPluginProcessDarwin.a \
lldbPluginProcessMachCore.a
endif
@@ -85,7 +87,6 @@
USEDLIBS += lldbPluginProcessPOSIX.a \
lldbPluginProcessLinux.a \
lldbPluginDynamicLoaderPOSIX.a \
- lldbPluginPlatformLinux.a \
lldbHostLinux.a
endif
@@ -93,8 +94,7 @@
USEDLIBS += lldbHostFreeBSD.a \
lldbPluginDynamicLoaderPOSIX.a \
lldbPluginProcessPOSIX.a \
- lldbPluginProcessFreeBSD.a \
- lldbPluginPlatformFreeBSD.a
+ lldbPluginProcessFreeBSD.a
endif
include $(LEVEL)/Makefile.common
diff --git a/source/Plugins/Platform/Makefile b/source/Plugins/Platform/Makefile
index cf4f4bf..c2fb801 100644
--- a/source/Plugins/Platform/Makefile
+++ b/source/Plugins/Platform/Makefile
@@ -11,18 +11,18 @@
include $(LLDB_LEVEL)/../../Makefile.config
-DIRS := gdb-server
+DIRS := gdb-server MacOSX Linux FreeBSD
-ifeq ($(HOST_OS),Darwin)
- DIRS += MacOSX
-endif
-
-ifeq ($(HOST_OS),Linux)
- DIRS += Linux
-endif
-
-ifeq ($(HOST_OS),FreeBSD)
- DIRS += FreeBSD
-endif
+# ifeq ($(HOST_OS),Darwin)
+# DIRS += MacOSX
+# endif
+#
+# ifeq ($(HOST_OS),Linux)
+# DIRS += Linux
+# endif
+#
+# ifeq ($(HOST_OS),FreeBSD)
+# DIRS += FreeBSD
+# endif
include $(LLDB_LEVEL)/Makefile