forked from OSchip/llvm-project
Fix the linux build now that we link against the Linux and FreeBSD platforms.
llvm-svn: 151642
This commit is contained in:
parent
ecd2edf50c
commit
352c2e07fd
|
@ -61,7 +61,10 @@ USEDLIBS = lldbAPI.a \
|
|||
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 @@ ifeq ($(HOST_OS),Darwin)
|
|||
lldbPluginObjectFileMachO.a \
|
||||
lldbPluginOperatingSystemDarwinKernel.a \
|
||||
lldbPluginSymbolVendorMacOSX.a \
|
||||
lldbPluginPlatformMacOSX.a \
|
||||
lldbPluginProcessDarwin.a \
|
||||
lldbPluginProcessMachCore.a
|
||||
endif
|
||||
|
@ -85,7 +87,6 @@ ifeq ($(HOST_OS),Linux)
|
|||
USEDLIBS += lldbPluginProcessPOSIX.a \
|
||||
lldbPluginProcessLinux.a \
|
||||
lldbPluginDynamicLoaderPOSIX.a \
|
||||
lldbPluginPlatformLinux.a \
|
||||
lldbHostLinux.a
|
||||
endif
|
||||
|
||||
|
@ -93,8 +94,7 @@ ifeq ($(HOST_OS),FreeBSD)
|
|||
USEDLIBS += lldbHostFreeBSD.a \
|
||||
lldbPluginDynamicLoaderPOSIX.a \
|
||||
lldbPluginProcessPOSIX.a \
|
||||
lldbPluginProcessFreeBSD.a \
|
||||
lldbPluginPlatformFreeBSD.a
|
||||
lldbPluginProcessFreeBSD.a
|
||||
endif
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
|
|
@ -11,18 +11,18 @@ LLDB_LEVEL := ../../..
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue