#
# Makefile for the linux kernel.
#
# 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).

USE_STANDARD_AS_RULE := true

O_TARGET		:= em86xx.o

# Object file lists.

obj-y			:= arch.o em86xxapi.o irq.o time.o uart.o delay.o
obj-m			:=
obj-n			:=

export-objs		:= em86xxapi.o

ifeq ($(CONFIG_PCI_EM86XX_HOST_EM86XX),y)
export-objs		+= pci_em86xx.o
obj-y			+= pci_em86xx.o
endif

ifeq ($(CONFIG_PCI_EM86XX_HOST_FPGA),y)
obj-y			+= pci_fpga.o
endif

include $(TOPDIR)/Rules.make
