Makefile 997 Bytes
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3
#
# linux/drivers/chips/Makefile
#
Linus Torvalds's avatar
Linus Torvalds committed
4
# $Id: Makefile,v 1.7 2001/10/05 06:53:51 dwmw2 Exp $
Linus Torvalds's avatar
Linus Torvalds committed
5

Linus Torvalds's avatar
Linus Torvalds committed
6
export-objs	:= chipreg.o gen_probe.o
Linus Torvalds's avatar
Linus Torvalds committed
7 8 9 10 11 12 13 14 15 16

#                       *** 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_MTD)		+= chipreg.o
obj-$(CONFIG_MTD_AMDSTD)	+= amd_flash.o 
Linus Torvalds's avatar
Linus Torvalds committed
17
obj-$(CONFIG_MTD_CFI)		+= cfi_probe.o
Linus Torvalds's avatar
Linus Torvalds committed
18 19
obj-$(CONFIG_MTD_CFI_AMDSTD)	+= cfi_cmdset_0002.o
obj-$(CONFIG_MTD_CFI_INTELEXT)	+= cfi_cmdset_0001.o
Linus Torvalds's avatar
Linus Torvalds committed
20 21
obj-$(CONFIG_MTD_GEN_PROBE)	+= gen_probe.o
obj-$(CONFIG_MTD_INTELPROBE)	+= intel_probe.o
Linus Torvalds's avatar
Linus Torvalds committed
22
obj-$(CONFIG_MTD_JEDEC)		+= jedec.o
Linus Torvalds's avatar
Linus Torvalds committed
23
obj-$(CONFIG_MTD_JEDECPROBE)	+= jedec_probe.o
Linus Torvalds's avatar
Linus Torvalds committed
24 25 26
obj-$(CONFIG_MTD_RAM)		+= map_ram.o
obj-$(CONFIG_MTD_ROM)		+= map_rom.o
obj-$(CONFIG_MTD_SHARP)		+= sharp.o
Linus Torvalds's avatar
Linus Torvalds committed
27
obj-$(CONFIG_MTD_ABSENT)	+= map_absent.o
Linus Torvalds's avatar
Linus Torvalds committed
28 29

include $(TOPDIR)/Rules.make