OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [mtd/] [Makefile] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#
2
# Makefile for the memory technology device drivers.
3
#
4
# Note! Dependencies are done automagically by 'make dep', which also
5
# removes any old dependencies. DON'T put your own dependencies here
6
# unless it's something special (ie not a .c file).
7
#
8
# Note 2! The CFLAGS definitions are now inherited from the
9
# parent makes..
10
#
11
# $Id: Makefile,v 1.1.1.1 2004-04-15 01:51:36 phoenix Exp $
12
 
13
 
14
obj-y           += chips/chipslink.o maps/mapslink.o \
15
                        devices/devlink.o nand/nandlink.o
16
obj-m           :=
17
obj-n           :=
18
obj-            :=
19
 
20
O_TARGET        := mtdlink.o
21
 
22
export-objs     := mtdcore.o mtdpart.o redboot.o cmdlinepart.o afs.o mtdconcat.o
23
list-multi      := nftl.o
24
 
25
mod-subdirs     :=
26
subdir-y        := chips maps devices nand
27
subdir-m        := $(subdir-y)
28
 
29
#                       *** BIG UGLY NOTE ***
30
#
31
# The shiny new inter_module_xxx has introduced yet another ugly link
32
# order dependency, which I'd previously taken great care to avoid.
33
# We now have to ensure that the chip drivers are initialised before the
34
# map drivers, and that the doc200[01] drivers are initialised before
35
# docprobe.
36
#
37
# We'll hopefully merge the doc200[01] drivers and docprobe back into
38
# a single driver some time soon, but the CFI drivers are going to have
39
# to stay like that.
40
#
41
# Urgh.
42
#
43
# dwmw2 21/11/0
44
 
45
# Core functionality.
46
obj-$(CONFIG_MTD)               += mtdcore.o
47
obj-$(CONFIG_MTD_CONCAT)        += mtdconcat.o
48
obj-$(CONFIG_MTD_PARTITIONS)    += mtdpart.o
49
obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
50
obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
51
obj-$(CONFIG_MTD_AFS_PARTS)     += afs.o
52
 
53
# 'Users' - code which presents functionality to userspace.
54
obj-$(CONFIG_MTD_CHAR)          += mtdchar.o
55
obj-$(CONFIG_MTD_BLOCK)         += mtdblock.o
56
obj-$(CONFIG_MTD_BLOCK_RO)      += mtdblock_ro.o
57
obj-$(CONFIG_FTL)               += ftl.o
58
obj-$(CONFIG_NFTL)              += nftl.o
59
 
60
nftl-objs       := nftlcore.o nftlmount.o
61
 
62
include $(TOPDIR)/Rules.make
63
 
64
nftl.o: $(nftl-objs)
65
        $(LD) -r -o $@ $(nftl-objs)
66
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.