* x86_64 is using the existing *_ia32 boot platforms. * Special flags are required when compiling the loader to get GCC to compile 32-bit code. This adds a new set of rules for compiling boot code rather than using the kernel rules, which compile using the necessary flags. * Some x86_64 private headers have been stubbed by #include'ing the x86 versions. These will be replaced later.
29 lines
467 B
Plaintext
29 lines
467 B
Plaintext
SubDir HAIKU_TOP src system boot loader net ;
|
|
|
|
UsePrivateHeaders kernel [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ;
|
|
UsePrivateHeaders drivers ;
|
|
|
|
SubDirC++Flags -D_BOOT_MODE -fno-rtti ;
|
|
|
|
local tcp = ;
|
|
local iscsi = ;
|
|
if $(TARGET_ARCH) = ppc {
|
|
tcp = TCP.cpp ;
|
|
iscsi = iSCSITarget.cpp ;
|
|
}
|
|
|
|
BootStaticLibrary boot_net :
|
|
ARP.cpp
|
|
ChainBuffer.cpp
|
|
Ethernet.cpp
|
|
IP.cpp
|
|
NetDefs.cpp
|
|
NetStack.cpp
|
|
RemoteDisk.cpp
|
|
UDP.cpp
|
|
$(tcp)
|
|
$(iscsi)
|
|
|
|
: -fno-pic
|
|
;
|