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

📄 makefile

📁 使用物理地址方式绕开mtd驱动进行nand flash的低级格式化和维护可以修复nand 坏块(不是物理损坏而是由于文件系统造成的坏块)
💻
字号:
#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 kernel#/home/ndvd9026l-264/ndvd9026src/linux-2.4.17_mvl21-yaffs2/fs/yaffs-util/utils-ppcCFLAGS =-I/home/zhangyifeng/linux-2.4.17_mvl21-yaffs2/include#CFLAGS =   -I/newdisk/ndvd9010-16bit/nand-flash-yaffs-ok/linux-2.4.17_mvl21-yaffs2/includeCFLAGS += -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-compilerCC=ppc_405-gccall:lfnlfn:main.o nand.o	$(CC) main.o nand.o -o lfnmain.o:main.c	$(CC) main.c  $(CFLAGS) -c -o main.onand.o:nand.c	$(CC) nand.c  $(CFLAGS) -c -o nand.oinstall:	cp lfn /home/ndvd9026l-264/target/root/nandt/clean:	rm -rf *.o lfn

⌨️ 快捷键说明

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