BFS can be built for the userland. And it even seems to work. :-P

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20488 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-04-01 00:19:40 +00:00
parent b5975dbf4e
commit fd93718c93
2 changed files with 47 additions and 0 deletions

View File

@ -1,5 +1,6 @@
SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs ;
SubInclude HAIKU_TOP src tests add-ons kernel file_systems userlandfs bfs ;
SubInclude HAIKU_TOP src tests add-ons kernel file_systems userlandfs r5 ;
SubInclude HAIKU_TOP src tests add-ons kernel file_systems userlandfs ramfs ;
SubInclude HAIKU_TOP src tests add-ons kernel file_systems userlandfs reiserfs ;

View File

@ -0,0 +1,46 @@
SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs bfs ;
local bfsTop = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ;
SEARCH_SOURCE += $(bfsTop) ;
# set some additional defines
{
local defines =
#BFS_BIG_ENDIAN_ONLY
USER=1
;
if $(DEBUG) = 0 {
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
OPTIM = -O1 ;
}
defines = [ FDefines $(defines) ] ;
SubDirCcFlags $(defines) -Wall -Wno-multichar ;
SubDirC++Flags $(defines) -Wall -Wno-multichar -fno-rtti ;
}
UsePrivateHeaders [ FDirName kernel ] ;
UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
UsePrivateHeaders [ FDirName storage ] ;
Addon <userland>bfs
: # relpath - obsolete
:
BlockAllocator.cpp
BPlusTree.cpp
Attribute.cpp
Debug.cpp
Index.cpp
Inode.cpp
Journal.cpp
Query.cpp
Utility.cpp
Volume.cpp
kernel_interface.cpp
: false # is executable
: libuserlandfs_haiku_kernel.so
;