From 8cda49ebb84f684c01977b301713e7b01fb96a8e Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 28 Feb 2007 22:12:39 +0000 Subject: [PATCH] We can apparently build the old style reiserfs and ramfs add-ons using Haiku's userlandfs. I wouldn't expect them to work very well yet, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20255 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/add-ons/kernel/file_systems/Jamfile | 2 +- .../kernel/file_systems/userlandfs/Jamfile | 5 ++ .../file_systems/userlandfs/ramfs/Jamfile | 61 +++++++++++++++++++ .../file_systems/userlandfs/reiserfs/Jamfile | 38 ++++++++++++ 4 files changed, 105 insertions(+), 1 deletion(-) create mode 100644 src/tests/add-ons/kernel/file_systems/userlandfs/Jamfile create mode 100644 src/tests/add-ons/kernel/file_systems/userlandfs/ramfs/Jamfile create mode 100644 src/tests/add-ons/kernel/file_systems/userlandfs/reiserfs/Jamfile diff --git a/src/tests/add-ons/kernel/file_systems/Jamfile b/src/tests/add-ons/kernel/file_systems/Jamfile index f95db27aac..1c8c7abc3b 100644 --- a/src/tests/add-ons/kernel/file_systems/Jamfile +++ b/src/tests/add-ons/kernel/file_systems/Jamfile @@ -4,4 +4,4 @@ SubInclude HAIKU_TOP src tests add-ons kernel file_systems bfs ; SubInclude HAIKU_TOP src tests add-ons kernel file_systems fs_shell ; #SubInclude HAIKU_TOP src tests add-ons kernel file_systems iso9660 ; SubInclude HAIKU_TOP src tests add-ons kernel file_systems udf ; -SubInclude HAIKU_TOP src tests add-ons kernel file_systems userlandfs r5 ; +SubInclude HAIKU_TOP src tests add-ons kernel file_systems userlandfs ; diff --git a/src/tests/add-ons/kernel/file_systems/userlandfs/Jamfile b/src/tests/add-ons/kernel/file_systems/userlandfs/Jamfile new file mode 100644 index 0000000000..39377af438 --- /dev/null +++ b/src/tests/add-ons/kernel/file_systems/userlandfs/Jamfile @@ -0,0 +1,5 @@ +SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs ; + +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 ; diff --git a/src/tests/add-ons/kernel/file_systems/userlandfs/ramfs/Jamfile b/src/tests/add-ons/kernel/file_systems/userlandfs/ramfs/Jamfile new file mode 100644 index 0000000000..28ea74345e --- /dev/null +++ b/src/tests/add-ons/kernel/file_systems/userlandfs/ramfs/Jamfile @@ -0,0 +1,61 @@ +SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs ramfs ; + +local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel + file_systems userlandfs ] ; +local userlandFSIncludes = [ PrivateHeaders userlandfs ] ; +local ramFSTop = [ FDirName $(HAIKU_TOP) src tests add-ons kernel + file_systems userlandfs r5 src test ramfs ] ; + +DEFINES += USER=1 ; + +# avoid inclusion of +DEFINES += _DRIVERS_SELECT_H ; + +SubDirC++Flags -include + [ FDirName $(userlandFSIncludes) shared Compatibility.h ] ; + +SubDirSysHdrs [ FDirName $(userlandFSIncludes) ] ; +SubDirSysHdrs [ FDirName $(userlandFSIncludes) legacy ] ; +SubDirHdrs [ FDirName $(userlandFSIncludes) legacy ] ; +SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ; + +SEARCH_SOURCE += $(ramFSTop) ; +SEARCH_SOURCE += [ FDirName $(userlandFSTop) shared ] ; + +Addon ramfs + : # relpath - obsolete + : Debug.cpp + Locker.cpp + String.cpp + + AllocationInfo.cpp + AreaUtils.cpp + Attribute.cpp + AttributeIndex.cpp + AttributeIndexImpl.cpp + AttributeIterator.cpp + BlockAllocator.cpp + BlockAllocatorArea.cpp + BlockAllocatorAreaBucket.cpp + BlockReferenceManager.cpp + DataContainer.cpp + Directory.cpp + Entry.cpp + EntryIterator.cpp + EntryListener.cpp + File.cpp + Index.cpp + IndexDirectory.cpp + kernel_interface.cpp + LastModifiedIndex.cpp + NameIndex.cpp + Node.cpp + NodeListener.cpp + NodeTable.cpp + Query.cpp + SizeIndex.cpp + SymLink.cpp + Volume.cpp + : false # is executable + : libuserlandfs_beos_kernel.so +; diff --git a/src/tests/add-ons/kernel/file_systems/userlandfs/reiserfs/Jamfile b/src/tests/add-ons/kernel/file_systems/userlandfs/reiserfs/Jamfile new file mode 100644 index 0000000000..c4a06cadf9 --- /dev/null +++ b/src/tests/add-ons/kernel/file_systems/userlandfs/reiserfs/Jamfile @@ -0,0 +1,38 @@ +SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs reiserfs ; + +local userlandFSIncludes = [ PrivateHeaders userlandfs ] ; +local reiserFSTop = [ FDirName $(HAIKU_TOP) src tests add-ons kernel + file_systems userlandfs r5 src test reiserfs ] ; + +DEFINES += USER=1 ; + +SubDirSysHdrs [ FDirName $(userlandFSIncludes) ] ; +SubDirSysHdrs [ FDirName $(userlandFSIncludes) legacy ] ; + +# avoid inclusion of +DEFINES += _DRIVERS_SELECT_H ; + +SEARCH_SOURCE += $(reiserFSTop) ; + +Addon reiserfs + : # relpath - obsolete + : + Block.cpp + BlockCache.cpp + hashes.cpp + Item.cpp + Iterators.cpp + kernel_interface.cpp + Locker.cpp + Tree.cpp + VNode.cpp + Volume.cpp + + Debug.cpp + Settings.cpp + String.cpp + SuperBlock.cpp + + : false # is executable + : libuserlandfs_beos_kernel.so +;