* 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:
@@ -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++) ;
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user