projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d09bd70
)
Silly Marty, picked wrong guard for moduleconfig.h
author
marty
<marty>
Tue, 20 Sep 2005 22:46:17 +0000
(22:46 +0000)
committer
marty
<marty>
Tue, 20 Sep 2005 22:46:17 +0000
(22:46 +0000)
Makefile
patch
|
blob
|
history
moduleconfig.h
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index f9e7576d8d7a12ed3ab2964cfcd7b84297c766b9..95bcf453033bd5fdb30bc4a7bcae74569802bc32 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,5
@@
ifneq ($(KERNELRELEASE),)
ifneq ($(KERNELRELEASE),)
+ EXTRA_CFLAGS += -DYAFFS_OUT_OF_TREE
obj-m := yaffs2.o
obj-m := yaffs2.o
@@
-8,7
+9,6
@@
ifneq ($(KERNELRELEASE),)
yaffs2-objs += yaffs_tagscompat.o yaffs_tagsvalidity.o
else
yaffs2-objs += yaffs_tagscompat.o yaffs_tagsvalidity.o
else
-
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
diff --git
a/moduleconfig.h
b/moduleconfig.h
index a8684c3cbfc34daffff9f501a224c9eed30b3a6c..2809701f79775e9737ddab54a21f11d87353461b 100644
(file)
--- a/
moduleconfig.h
+++ b/
moduleconfig.h
@@
-1,7
+1,7
@@
#ifndef __YAFFS_CONFIG_H__
#define __YAFFS_CONFIG_H__
#ifndef __YAFFS_CONFIG_H__
#define __YAFFS_CONFIG_H__
-#ifdef
KBUILD_MODNAM
E
+#ifdef
YAFFS_OUT_OF_TRE
E
#define CONFIG_YAFFS_FS
#define CONFIG_YAFFS_YAFFS1
#define CONFIG_YAFFS_YAFFS2
#define CONFIG_YAFFS_FS
#define CONFIG_YAFFS_YAFFS1
#define CONFIG_YAFFS_YAFFS2