patch-2.4.0-test4 linux/arch/mips/Makefile

Next file: linux/arch/mips/cobalt/reset.c
Previous file: linux/arch/m68k/mvme16x/rtc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/arch/mips/Makefile linux/arch/mips/Makefile
@@ -143,6 +143,15 @@
 endif
 
 #
+# Orion Board
+#
+ifdef CONFIG_ORION
+LIBS          += arch/mips/orion/orionkern.a
+SUBDIRS       += arch/mips/orion
+LINKSCRIPT    = arch/mips/orion/ld.script.orion
+endif
+
+#
 # Choosing incompatible machines durings configuration will result in
 # error messages during linking.  Select a default linkscript if
 # none has been choosen above.
@@ -179,6 +188,13 @@
 balo:  vmlinux
 	$(BAGETBOOT) balo
 
+endif
+
+ifdef CONFIG_ORION
+ORIONBOOT = $(MAKE) -C arch/$(ARCH)/orion
+
+orionboot:
+	$(ORIONBOOT) orionboot
 endif
 
 MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)