blob: 8afe3092c4e38ba73214c3f255006c3bced97a3a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# linux/drivers/chips/Makefile
3#
Thomas Gleixner1f948b42005-11-07 11:15:37 +00004# $Id: Makefile.common,v 1.5 2005/11/07 11:14:22 gleixner Exp $
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
6# *** BIG UGLY NOTE ***
7#
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
12
13obj-$(CONFIG_MTD) += chipreg.o
Thomas Gleixner1f948b42005-11-07 11:15:37 +000014obj-$(CONFIG_MTD_AMDSTD) += amd_flash.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015obj-$(CONFIG_MTD_CFI) += cfi_probe.o
16obj-$(CONFIG_MTD_CFI_UTIL) += cfi_util.o
17obj-$(CONFIG_MTD_CFI_STAA) += cfi_cmdset_0020.o
18obj-$(CONFIG_MTD_CFI_AMDSTD) += cfi_cmdset_0002.o
19obj-$(CONFIG_MTD_CFI_INTELEXT) += cfi_cmdset_0001.o
20obj-$(CONFIG_MTD_GEN_PROBE) += gen_probe.o
21obj-$(CONFIG_MTD_JEDEC) += jedec.o
22obj-$(CONFIG_MTD_JEDECPROBE) += jedec_probe.o
23obj-$(CONFIG_MTD_RAM) += map_ram.o
24obj-$(CONFIG_MTD_ROM) += map_rom.o
25obj-$(CONFIG_MTD_SHARP) += sharp.o
26obj-$(CONFIG_MTD_ABSENT) += map_absent.o