Author: cwittich
Date: Tue Jun 23 02:48:39 2009
New Revision: 41567
URL:
http://svn.reactos.org/svn/reactos?rev=41567&view=rev
Log:
don't build arm stuff on non arm builds
fixes 2nd stage
Modified:
trunk/reactos/ntoskrnl/mm/mminit.c
trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild
Modified: trunk/reactos/ntoskrnl/mm/mminit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/mminit.c?rev=4…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/mminit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/mminit.c [iso-8859-1] Tue Jun 23 02:48:39 2009
@@ -384,11 +384,11 @@
/* Unmap low memory */
MmDeletePageTable(NULL, 0);
- //
- // Initialize ARM³
- //
+#ifdef _ARM_
+ /* Initialize ARM³ */
MmArmInitSystem(0, KeLoaderBlock);
-
+#endif
+
/* Initialize nonpaged pool */
MiInitializeNonPagedPool();
Modified: trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl-generic.…
==============================================================================
--- trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1] Tue Jun 23 02:48:39 2009
@@ -352,6 +352,11 @@
<directory name="arm">
<file>stubs.c</file>
</directory>
+ <directory name="ARM3">
+ <file>init.c</file>
+ <file>pool.c</file>
+ <file>syspte.c</file>
+ </directory>
</if>
<if property="ARCH" value="powerpc">
<directory name="powerpc">
@@ -359,11 +364,6 @@
<file>page.c</file>
</directory>
</if>
- <directory name="ARM3">
- <file>init.c</file>
- <file>pool.c</file>
- <file>syspte.c</file>
- </directory>
<file>anonmem.c</file>
<file>balance.c</file>
<file>cont.c</file>