📄 makefile
字号:
#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 + -