Files
haiku-beta6/src/system/boot/loader/net/Jamfile
T
Alex Smith 65ad1ba320 Made it possible to build the bootloader when targetting x86_64.
* 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.
2012-05-26 21:47:27 +01:00

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
;