#
# Makefile for common code for Toshiba TX4925 based systems
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#

 .S.s:
	$(CPP) $(AFLAGS) $< -o $@
.S.o:
	$(CC) $(AFLAGS) -c $< -o $@

O_TARGET:= tx4925.o

obj-y	:= tx4925_prom.o
obj-y	+= tx4925_setup.o
obj-y	+= tx4925_irq.o
obj-y	+= tx4925_irq_handler.o

obj-$(CONFIG_BRINGUP_RAW_SERIAL_IO) += tx4925_bringup.o
obj-$(CONFIG_REMOTE_DEBUG)          += tx4925_dbgio.o


include $(TOPDIR)/Rules.make
