#
# drivers/mtd/nor/Makefile
#
# $Id: Makefile,v 1.1 2007/04/02 10:56:57 jun Exp $

O_TARGET	:= norlink.o

export-objs     := pl_nor.o nor_ppi_amd.o nor_ppi_intel.o nor_spi.o

#                       *** BIG UGLY NOTE ***
#
# The removal of get_module_symbol() and replacement with
# inter_module_register() et al has introduced a link order dependency
# here where previously there was none.  We now have to ensure that
# the CFI command set drivers are linked before cfi_probe.o

obj-$(CONFIG_PL_NOR_MTD)	+= pl_nor.o
obj-$(CONFIG_PL_NOR_PPI_AMD)	+= nor_ppi_amd.o 
obj-$(CONFIG_PL_NOR_PPI_INTEL)	+= nor_ppi_intel.o
obj-$(CONFIG_PL_NOR_SPI)	+= nor_spi.o

include $(TOPDIR)/Rules.make
