⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 YAFFS A NAND-flash filesystem
💻
字号:
#Makefile for mkyaffs## NB this is not yet suitable for putting into the kernel tree.# YAFFS: Yet another FFS. A NAND-flash specific file system. ## Copyright (C) 2002 Aleph One Ltd.#   for Toby Churchill Ltd and Brightstar Engineering## Created by Charles Manning <charles@aleph1.co.uk>## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License version 2 as# published by the Free Software Foundation.## Change or override  KERNELDIR to your kernelKERNELDIR = /usr/src/kernel-headers-2.4.21CFLAGS =   -I$(KERNELDIR)/include -I.. -O2 -Wall -DCONFIG_YAFFS_UTILCFLAGS+=   -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarationsCFLAGS+=   -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline## Change if you are using a cross-compilerMAKETOOLS = powerpc-linux-CC=$(MAKETOOLS)gccMKYAFFSOBJS = mkyaffs.oMKYAFFSIMAGEOBJS = mkyaffsimage.o nand_ecc.oall: mkyaffs mkyaffsimage$(MKYAFFSIMAGEOBJS): %.o: %.c	$(CC) -c $(CFLAGS) $< -o $@mkyaffsimage: $(MKYAFFSIMAGEOBJS)	$(CC) -o $@ $(MKYAFFSIMAGEOBJS)$(MKYAFFSOBJS): %.o: %.c	$(CC) -c $(CFLAGS) $< -o $@mkyaffs: $(MKYAFFSOBJS)	$(CC) -o $@ $(MKYAFFSOBJS)nand_ecc.c:	ln -s ../nand_ecc.c nand_ecc.cclean:	rm -f $(MKYAFFSOBJS) $(MKYAFFSIMAGEOBJS) core

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -