[ros-diffs] [sir_richard] 49751: [FREELDR]: Define FreeLoader module for ARM. Differences with x86 are mostly due to the fact "bootloader" was unfortunately made an x86-specific module type, so we have to use ...

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Tue Nov 23 17:23:47 UTC 2010


Author: sir_richard
Date: Tue Nov 23 17:23:47 2010
New Revision: 49751

URL: http://svn.reactos.org/svn/reactos?rev=49751&view=rev
Log:
[FREELDR]: Define FreeLoader module for ARM. Differences with x86 are mostly due to the fact "bootloader" was unfortunately made an x86-specific module type, so we have to use "kernel" to get around that, which thankfully has remained portable.

Modified:
    trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild

Modified: trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild?rev=49751&r1=49750&r2=49751&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild [iso-8859-1] Tue Nov 23 17:23:47 2010
@@ -13,6 +13,22 @@
 		<library>rtl</library>
 		<library>libcntpr</library>
 		<library>ppcmmu</library>
+	</module>
+</if>
+
+<if property="ARCH" value="arm">
+	<module name="freeldr" type="kernel" entrypoint="_start" baseaddress="$(BASEADDRESS_FREELDR)">
+		<linkerscript>freeldr_$(ARCH).lnk</linkerscript>
+		<bootstrap installbase="loader" />
+		<library>freeldr_startup</library>
+		<library>freeldr_base64k</library>
+		<library>freeldr_base</library>
+		<library>freeldr_arch</library>
+		<library>freeldr_main</library>
+		<library>rossym</library>
+		<library>cmlib</library>
+		<library>rtl</library>
+		<library>libcntpr</library>
 	</module>
 </if>
 




More information about the Ros-diffs mailing list