* rootfs.c -> rootfs.cpp

* Made the kernel rootfs reusable by the FS Shell and removed the
  copy in the FS Shell sources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22436 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-10-04 14:30:50 +00:00
parent 417f276c05
commit 6f05787478
5 changed files with 69 additions and 1153 deletions
+7
View File
@@ -14,6 +14,10 @@ if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) {
UsePrivateHeaders fs_shell ;
UsePrivateHeaders shared ;
local defines = [ FDefines FS_SHELL=1 ] ;
SubDirCcFlags $(defines) ;
SubDirC++Flags $(defines) ;
# platform specific sources
local fsShellCommandSources ;
local externalCommandsSources ;
@@ -59,6 +63,9 @@ BuildPlatformStaticLibrary <build>fs_shell.a :
fssh.cpp
;
SEARCH on [ FGristFiles rootfs.cpp ]
= [ FDirName $(HAIKU_TOP) src system kernel fs ] ;
BuildPlatformMain <build>fs_shell_command
: fs_shell_command.cpp $(fsShellCommandSources)
: $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) ;
+2 -2
View File
@@ -35,10 +35,10 @@
extern fssh_module_info *modules[];
namespace FSShell {
extern fssh_file_system_module_info gRootFileSystem;
namespace FSShell {
const char* kMountPoint = "/myfs";
// command line args
File diff suppressed because it is too large Load Diff