Added BFS_REPLACEMENT define that will enable compiling OpenBFS as as full
BFS replacement (will report itself as "bfs" instead of "obfs". Is there a way to change the add-on name based on the same define? git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7403 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c832ff1e1b
commit
e4758ac382
@ -11,9 +11,17 @@ oldOPTIM = $(OPTIM) ;
|
||||
#BFS_BIG_ENDIAN_ONLY
|
||||
;
|
||||
|
||||
# Force the API version to be the R5 one even when compiling
|
||||
# under Dano/Zeta
|
||||
if $(COMPILE_FOR_R5) {
|
||||
defines += COMPILE_FOR_R5 ;
|
||||
}
|
||||
|
||||
# Enable OpenBFS to be compiled as a full BFS replacement. Will
|
||||
# report itself as "bfs" instead of "obfs"
|
||||
if $(BFS_REPLACEMENT) {
|
||||
defines += BFS_REPLACEMENT
|
||||
}
|
||||
|
||||
if $(DEBUG) = 0 {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
|
@ -215,7 +215,7 @@ vnode_ops fs_entry = {
|
||||
#define BFS_IO_SIZE 65536
|
||||
|
||||
// ToDo: has to change to "bfs" later
|
||||
#ifdef COMPILE_FOR_R5
|
||||
#ifdef BFS_REPLACEMENT
|
||||
# define BFS_NAME "bfs"
|
||||
#else
|
||||
# define BFS_NAME "obfs"
|
||||
|
Loading…
Reference in New Issue
Block a user