patch-1.3.94 linux/arch/m68k/boot/Makefile
Next file: linux/arch/m68k/boot/amiga/bootstrap.c
Previous file: linux/arch/m68k/atari/stram.c
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Wed Dec 27 22:44:28 1995
- Orig file:
v1.3.93/linux/arch/m68k/boot/Makefile
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v1.3.93/linux/arch/m68k/boot/Makefile linux/arch/m68k/boot/Makefile
@@ -0,0 +1,37 @@
+#
+# linux/arch/m68k/boot/Makefile
+#
+# This file is subject to the terms and conditions of the GNU General Public
+# License. See the file "COPYING" in the main directory of this archive
+# for more details.
+
+ifdef CONFIG_AMIGA
+AMIGA_BOOTOBJS := amiga/bootstrap.o
+endif
+
+ifdef CONFIG_ATARI
+ATARI_BOOTOBJS := atari/bootstrap.o
+HOSTCC += -b m68k-mint
+endif
+
+ifdef CONFIG_ATARI
+atari_bootstrap: $(ATARI_BOOTOBJS)
+ $(HOSTCC) $(HOSTFLAGS) -o $@ $(ATARI_BOOTOBJS)
+ rm -f ../../../bootstrap
+ ln $@ ../../../bootstrap
+endif
+
+ifdef CONFIG_AMIGA
+amiga_bootstrap: $(AMIGA_BOOTOBJS)
+ $(HOSTCC) $(HOSTFLAGS) -o $@ $(AMIGA_BOOTOBJS)
+ rm -f ../../../bootstrap
+ ln $@ ../../../bootstrap
+endif
+
+$(AMIGA_BOOTOBJS) $(ATARI_BOOTOBJS): %.o: %.c
+ $(HOSTCC) $(HOSTFLAGS) -c $< -o $@
+
+clean:
+ rm -f *.o
+
+dep:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this