2 # linux/drivers/chips/Makefile
4 # $Id: Makefile.common,v 1.4 2004/07/12 16:07:30 dwmw2 Exp $
6 # *** BIG UGLY NOTE ***
8 # The removal of get_module_symbol() and replacement with
9 # inter_module_register() et al has introduced a link order dependency
10 # here where previously there was none. We now have to ensure that
11 # the CFI command set drivers are linked before gen_probe.o
13 obj-
$(CONFIG_MTD
) += chipreg.o
14 obj-
$(CONFIG_MTD_AMDSTD
) += amd_flash.o
15 obj-
$(CONFIG_MTD_CFI
) += cfi_probe.o
16 obj-
$(CONFIG_MTD_CFI_UTIL
) += cfi_util.o
17 obj-
$(CONFIG_MTD_CFI_STAA
) += cfi_cmdset_0020.o
18 obj-
$(CONFIG_MTD_CFI_AMDSTD
) += cfi_cmdset_0002.o
19 obj-
$(CONFIG_MTD_CFI_INTELEXT
) += cfi_cmdset_0001.o
20 obj-
$(CONFIG_MTD_GEN_PROBE
) += gen_probe.o
21 obj-
$(CONFIG_MTD_JEDEC
) += jedec.o
22 obj-
$(CONFIG_MTD_JEDECPROBE
) += jedec_probe.o
23 obj-
$(CONFIG_MTD_RAM
) += map_ram.o
24 obj-
$(CONFIG_MTD_ROM
) += map_rom.o
25 obj-
$(CONFIG_MTD_SHARP
) += sharp.o
26 obj-
$(CONFIG_MTD_ABSENT
) += map_absent.o