patch-2.0.21-2.1.0 linux/arch/m68k/console/Makefile

Next file: linux/arch/m68k/console/fbcon.c
Previous file: linux/arch/m68k/config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file lx2.0/v2.0.21/linux/arch/m68k/console/Makefile linux/arch/m68k/console/Makefile
@@ -6,10 +6,19 @@
 # unless it's something special (ie not a .c file).
 #
 
-EXTRA_CFLAGS := -Wa,-m68030
+GSPA = gspa
+GSPH2C = gspahextoc
 
 L_TARGET = console.a
 L_OBJS = fbcon.o fonts.o font_8x16.o font_8x8.o pearl_8x8.o
 M_OBJS =
 
+ifdef CONFIG_AMIGA_GSP
+L_OBJS := $(L_OBJS) gspcon.o gspcore.o
+endif
+
 include $(TOPDIR)/Rules.make
+
+gspcore.c: gspcore.gsp
+	$(GSPA) $< > $*.hex
+	$(GSPH2C) $*.hex > gspcore.c

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov