diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2011-02-26 14:57:47 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2011-02-26 14:57:47 (GMT) |
commit | faadb245e8e1d5c4245dbdacc201e85b47c0c1fb (patch) | |
tree | 725f1ac685590a82aa182776c0af40e6243cb8e6 /linux-2.4.x/drivers/mtd/Makefile | |
parent | edb45850f53478c7779484105c30f8df0a3a3782 (diff) | |
download | openipcam-faadb245e8e1d5c4245dbdacc201e85b47c0c1fb.zip openipcam-faadb245e8e1d5c4245dbdacc201e85b47c0c1fb.tar.gz openipcam-faadb245e8e1d5c4245dbdacc201e85b47c0c1fb.tar.bz2 |
Applied mtd patches and updated lib/Config.lib to 2.6.24 +mtd
Diffstat (limited to 'linux-2.4.x/drivers/mtd/Makefile')
-rw-r--r-- | linux-2.4.x/drivers/mtd/Makefile | 87 |
1 files changed, 37 insertions, 50 deletions
diff --git a/linux-2.4.x/drivers/mtd/Makefile b/linux-2.4.x/drivers/mtd/Makefile index b88a33a..24f4f8a 100644 --- a/linux-2.4.x/drivers/mtd/Makefile +++ b/linux-2.4.x/drivers/mtd/Makefile @@ -1,67 +1,54 @@ # -# Makefile for the memory technology device drivers. +# linux/drivers/Makefile.24 +# Makefile for obsolete kernels. # -# Note! Dependencies are done automagically by 'make dep', which also -# removes any old dependencies. DON'T put your own dependencies here -# unless it's something special (ie not a .c file). -# -# Note 2! The CFLAGS definitions are now inherited from the -# parent makes.. -# -# $Id: Makefile,v 1.65 2002/03/22 07:10:34 dwmw2 Exp $ +# $Id: Makefile.24,v 1.3 2004/08/11 14:45:53 dmarlin Exp $ +# Core functionality. +mtd-y := mtdcore.o +mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o +obj-$(CONFIG_MTD) += $(mtd-y) -obj-y += chips/chipslink.o maps/mapslink.o \ - devices/devlink.o nand/nandlink.o -obj-m := -obj-n := -obj- := +obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o +obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o +obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o +obj-$(CONFIG_MTD_AFS_PARTS) += afs.o -O_TARGET := mtdlink.o +# 'Users' - code which presents functionality to userspace. +obj-$(CONFIG_MTD_CHAR) += mtdchar.o +obj-$(CONFIG_MTD_BLOCK) += mtdblock.o mtd_blkdevs-24.o +obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o mtd_blkdevs-24.o +obj-$(CONFIG_FTL) += ftl.o mtd_blkdevs-24.o +obj-$(CONFIG_NFTL) += nftl.o mtd_blkdevs-24.o +obj-$(CONFIG_INFTL) += inftl.o mtd_blkdevs-24.o -export-objs := mtdcore.o mtdpart.o redboot.o bootldr.o afs.o mtdconcat.o cmdline.o -list-multi := nftl.o +nftl-objs := nftlcore.o nftlmount.o +inftl-objs := inftlcore.o inftlmount.o -mod-subdirs := -subdir-y := chips maps devices nand -subdir-m := $(subdir-y) +export-objs := mtdcore.o mtdpart.o redboot.o cmdlinepart.o afs.o \ + mtdconcat.o mtd_blkdevs-24.o -# *** BIG UGLY NOTE *** -# -# The shiny new inter_module_xxx has introduced yet another ugly link -# order dependency, which I'd previously taken great care to avoid. -# We now have to ensure that the chip drivers are initialised before the -# map drivers, and that the doc200[01] drivers are initialised before -# docprobe. -# -# We'll hopefully merge the doc200[01] drivers and docprobe back into -# a single driver some time soon, but the CFI drivers are going to have -# to stay like that. -# -# Urgh. -# -# dwmw2 21/11/0 +mtd_blkdevs-objs := mtd_blkdevs-24.o -# Core functionality. -obj-$(CONFIG_MTD) += mtdcore.o -obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o -obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o -obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o -obj-$(CONFIG_MTD_BOOTLDR_PARTS) += bootldr.o -obj-$(CONFIG_MTD_AFS_PARTS) += afs.o -obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdline.o +obj-y += chips/chipslink.o maps/mapslink.o \ + devices/devlink.o nand/nandlink.o -# 'Users' - code which presents functionality to userspace. -obj-$(CONFIG_MTD_CHAR) += mtdchar.o -obj-$(CONFIG_MTD_BLOCK) += mtdblock.o -obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o -obj-$(CONFIG_FTL) += ftl.o -obj-$(CONFIG_NFTL) += nftl.o +O_TARGET := mtdlink.o -nftl-objs := nftlcore.o nftlmount.o +list-multi := nftl.o inftl.o mtd_blkdevs-24.o + +mod-subdirs := +subdir-y := chips maps devices nand +subdir-m := $(subdir-y) include $(TOPDIR)/Rules.make nftl.o: $(nftl-objs) $(LD) -r -o $@ $(nftl-objs) +inftl.o: $(inftl-objs) + $(LD) -r -o $@ $(inftl-objs) + +mtd_blkdevs.o: $(mtd_blkdevs-objs) + $(LD) -r -o $@ $(mtd_blkdevs-objs) + |