Now builds two file systems: "bfs" is now the file system for the new kernel,
while "bfs_r5" or "obfs_r5" is the one for the R5/Zeta kernel. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7826 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -11,16 +11,13 @@ oldOPTIM = $(OPTIM) ;
|
|||||||
#BFS_BIG_ENDIAN_ONLY
|
#BFS_BIG_ENDIAN_ONLY
|
||||||
;
|
;
|
||||||
|
|
||||||
# Force the API version to be the R5 one even when compiling
|
# By default, the R5 API version is used unless you define this
|
||||||
# under Dano/Zeta
|
if $(COMPILE_FOR_ZETA) {
|
||||||
if $(COMPILE_FOR_R5) {
|
|
||||||
defines += COMPILE_FOR_R5 ;
|
|
||||||
} else if $(COMPILE_FOR_ZETA) {
|
|
||||||
defines += COMPILE_FOR_ZETA ;
|
defines += COMPILE_FOR_ZETA ;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Enable OpenBFS to be compiled as a full BFS replacement. Will
|
# Enable OpenBFS to be compiled as a full BFS replacement. Will
|
||||||
# report itself as "bfs" instead of "obfs"
|
# report itself as "bfs" instead of "obfs" (only R5 version)
|
||||||
if $(BFS_REPLACEMENT) {
|
if $(BFS_REPLACEMENT) {
|
||||||
defines += BFS_REPLACEMENT ;
|
defines += BFS_REPLACEMENT ;
|
||||||
bfsAddOnName = bfs ;
|
bfsAddOnName = bfs ;
|
||||||
@@ -40,7 +37,7 @@ oldOPTIM = $(OPTIM) ;
|
|||||||
|
|
||||||
UsePrivateHeaders [ FDirName kernel ] ; # For kernel_cpp.cpp
|
UsePrivateHeaders [ FDirName kernel ] ; # For kernel_cpp.cpp
|
||||||
|
|
||||||
R5KernelAddon $(bfsAddOnName) : [ FDirName kernel file_systems ] :
|
KernelStaticLibrary libbfs :
|
||||||
BlockAllocator.cpp
|
BlockAllocator.cpp
|
||||||
BPlusTree.cpp
|
BPlusTree.cpp
|
||||||
kernel_cpp.cpp
|
kernel_cpp.cpp
|
||||||
@@ -48,13 +45,22 @@ R5KernelAddon $(bfsAddOnName) : [ FDirName kernel file_systems ] :
|
|||||||
Index.cpp
|
Index.cpp
|
||||||
Inode.cpp
|
Inode.cpp
|
||||||
Journal.cpp
|
Journal.cpp
|
||||||
kernel_interface.cpp
|
|
||||||
Query.cpp
|
Query.cpp
|
||||||
Utility.cpp
|
Utility.cpp
|
||||||
Volume.cpp
|
Volume.cpp
|
||||||
BufferPool.cpp
|
BufferPool.cpp
|
||||||
;
|
;
|
||||||
|
|
||||||
|
KernelAddon bfs : kernel file_systems :
|
||||||
|
kernel_interface.cpp
|
||||||
|
: libbfs.a
|
||||||
|
;
|
||||||
|
|
||||||
|
R5KernelAddon $(bfsAddOnName)_r5 : kernel file_systems :
|
||||||
|
kernel_interface_r5.cpp
|
||||||
|
: libbfs.a
|
||||||
|
;
|
||||||
|
|
||||||
SEARCH on [ FGristFiles
|
SEARCH on [ FGristFiles
|
||||||
kernel_cpp.cpp
|
kernel_cpp.cpp
|
||||||
] = [ FDirName $(OBOS_TOP) src kernel core util ] ;
|
] = [ FDirName $(OBOS_TOP) src kernel core util ] ;
|
||||||
|
|||||||
Reference in New Issue
Block a user