📄 makefile
字号:
## Makefile for the memory technology device drivers.## $Id: Makefile.common,v 1.2 2003/05/23 11:38:29 dwmw2 Exp $# *** 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# Core functionality.obj-$(CONFIG_MTD) += mtdcore.oobj-$(CONFIG_MTD_CONCAT) += mtdconcat.oobj-$(CONFIG_MTD_PARTITIONS) += mtdpart.oobj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.oobj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.oobj-$(CONFIG_MTD_AFS_PARTS) += afs.o# 'Users' - code which presents functionality to userspace.obj-$(CONFIG_MTD_CHAR) += mtdchar.oobj-$(CONFIG_MTD_BLOCK) += mtdblock.o mtd_blkdevs.oobj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o mtd_blkdevs.oobj-$(CONFIG_FTL) += ftl.o mtd_blkdevs.oobj-$(CONFIG_NFTL) += nftl.o mtd_blkdevs.oobj-$(CONFIG_INFTL) += inftl.o mtd_blkdevs.onftl-objs := nftlcore.o nftlmount.oinftl-objs := inftlcore.o inftlmount.oifeq ($(PATCHLEVEL),4)export-objs := mtdcore.o mtdpart.o redboot.o cmdlinepart.o afs.o \ mtdconcat.o mtd_blkdevs-24.omtd_blkdevs-objs := mtd_blkdevs-24.oobj-y += chips/chipslink.o maps/mapslink.o \ devices/devlink.o nand/nandlink.oO_TARGET := mtdlink.olist-multi := nftl.o inftl.o mtd_blkdevs.omod-subdirs := subdir-y := chips maps devices nandsubdir-m := $(subdir-y)include $(TOPDIR)/Rules.makenftl.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)elseobj-y += chips/ maps/ devices/ nand/endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -