- Registry configuration will likely end up having arch-specific settings, so separat...
authorReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Mon, 30 Jun 2008 08:51:19 +0000 (08:51 +0000)
committerReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Mon, 30 Jun 2008 08:51:19 +0000 (08:51 +0000)
- If we move away from a standard inf file (not necessarly a good idea), we may be able to return back to a single directory and dynamically generate .inf data.
- Update rbuild to deal with this new fact.

svn path=/trunk/; revision=34211

reactos/boot/bootdata/arm/.gitignore [new file with mode: 0644]
reactos/boot/bootdata/i386/hivecls.inf [moved from reactos/boot/bootdata/hivecls.inf with 100% similarity]
reactos/boot/bootdata/i386/hivedef.inf [moved from reactos/boot/bootdata/hivedef.inf with 100% similarity]
reactos/boot/bootdata/i386/hiveinst.inf [moved from reactos/boot/bootdata/hiveinst.inf with 100% similarity]
reactos/boot/bootdata/i386/hivesft.inf [moved from reactos/boot/bootdata/hivesft.inf with 100% similarity]
reactos/boot/bootdata/i386/hivesys.inf [moved from reactos/boot/bootdata/hivesys.inf with 100% similarity]
reactos/tools/rbuild/backend/mingw/mingw.cpp

diff --git a/reactos/boot/bootdata/arm/.gitignore b/reactos/boot/bootdata/arm/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
index ae2e4d4..f0cee4d 100644 (file)
@@ -1201,11 +1201,11 @@ MingwBackend::OutputModuleInstallTargets ()
 string
 MingwBackend::GetRegistrySourceFiles ()
 {
-       return "boot" + sSep + "bootdata" + sSep + "hivecls.inf "
-               "boot" + sSep + "bootdata" + sSep + "hivedef.inf "
-               "boot" + sSep + "bootdata" + sSep + "hiveinst.inf "
-               "boot" + sSep + "bootdata" + sSep + "hivesft.inf "
-               "boot" + sSep + "bootdata" + sSep + "hivesys.inf";
+       return "boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hivecls.inf "
+               "boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hivedef.inf "
+               "boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hiveinst.inf "
+               "boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hivesft.inf "
+               "boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hivesys.inf";
 }
 
 string
@@ -1242,9 +1242,9 @@ MingwBackend::OutputRegistryInstallTarget ()
        fprintf ( fMakefile,
                  "\t$(ECHO_MKHIVE)\n" );
        fprintf ( fMakefile,
-                 "\t$(MKHIVE_TARGET) boot%cbootdata %s boot%cbootdata%chiveinst.inf\n",
-                 cSep, GetFullPath ( system32 ).c_str (),
-                 cSep, cSep );
+                 "\t$(MKHIVE_TARGET) boot%cbootdata%c$(ROS_ARCH) %s boot%cbootdata%c$(ROS_ARCH)%chiveinst.inf\n",
+                 cSep, cSep, GetFullPath ( system32 ).c_str (),
+                 cSep, cSep, cSep );
        fprintf ( fMakefile,
                  "\n" );
 }