1 #
2 # Makefile for the linux Journalling Flash FileSystem (JFFS) routines.
3 #
4 # $Id: Makefile,v 1.7 2000/08/04 12:46:34 dwmw2 Exp $
5 #
6 # Note! Dependencies are done automagically by 'make dep', which also
7 # removes any old dependencies. DON'T put your own dependencies here
8 # unless it's something special (ie not a .c file).
9 #
10 # Note 2! The CFLAGS definitions are now in the main makefile...
11
12 ifndef CONFIG_JFFS_FS
13
14 # We're being invoked outside a normal kernel build. Fake it
15 EXTRA_CFLAGS= -I$(shell pwd)/../../include
16
17 # You need to change this to build for 2.2, dunno how to check for it.
18
19 #INODE_O := inode-v22.o
20 INODE_O := inode-v23.o
21
22 else
23
24 ifeq ($(PATCHLEVEL),2)
25 INODE_O := inode-v22.o
26 else
27 INODE_O := inode-v23.o
28 endif
29
30 endif
31
32 O_TARGET := jffs.o
33 obj-m := $(O_TARGET)
34 obj-y := jffs_fm.o intrep.o $(INODE_O)
35
36 include $(TOPDIR)/Rules.make
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.