boot_net: Disable TCP for all archs but ppc
Unbreaks the build until a better solution is found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38485 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -4,6 +4,11 @@ UsePrivateHeaders kernel [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM)
|
|||||||
|
|
||||||
SubDirC++Flags -fno-rtti ;
|
SubDirC++Flags -fno-rtti ;
|
||||||
|
|
||||||
|
local tcp = ;
|
||||||
|
if $(TARGET_ARCH) = ppc {
|
||||||
|
tcp = TCP.cpp ;
|
||||||
|
}
|
||||||
|
|
||||||
KernelStaticLibrary boot_net :
|
KernelStaticLibrary boot_net :
|
||||||
ARP.cpp
|
ARP.cpp
|
||||||
ChainBuffer.cpp
|
ChainBuffer.cpp
|
||||||
@@ -13,7 +18,7 @@ KernelStaticLibrary boot_net :
|
|||||||
NetStack.cpp
|
NetStack.cpp
|
||||||
RemoteDisk.cpp
|
RemoteDisk.cpp
|
||||||
UDP.cpp
|
UDP.cpp
|
||||||
TCP.cpp
|
$(tcp)
|
||||||
|
|
||||||
: -fno-pic
|
: -fno-pic
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ NetStack::Init()
|
|||||||
if (error != B_OK)
|
if (error != B_OK)
|
||||||
return error;
|
return error;
|
||||||
|
|
||||||
|
#ifdef __POWERPC__
|
||||||
// TCP service
|
// TCP service
|
||||||
fTCPService = new(nothrow) TCPService(fIPService);
|
fTCPService = new(nothrow) TCPService(fIPService);
|
||||||
if (fTCPService == NULL)
|
if (fTCPService == NULL)
|
||||||
@@ -83,6 +84,7 @@ NetStack::Init()
|
|||||||
error = fTCPService->Init();
|
error = fTCPService->Init();
|
||||||
if (error != B_OK)
|
if (error != B_OK)
|
||||||
return error;
|
return error;
|
||||||
|
#endif
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user