summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormarty <marty>2005-09-20 22:46:17 +0000
committermarty <marty>2005-09-20 22:46:17 +0000
commit1f4c7592aae88726d6011da0d78698758d60b98e (patch)
tree5effca5f761f3e1ad3e652469623ded42284d2ea /Makefile
parentd09bd709ff5af196b86ccf11b403dc588ad378f6 (diff)
Silly Marty, picked wrong guard for moduleconfig.h
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f9e7576..95bcf45 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
ifneq ($(KERNELRELEASE),)
+ EXTRA_CFLAGS += -DYAFFS_OUT_OF_TREE
obj-m := yaffs2.o
@@ -8,7 +9,6 @@ ifneq ($(KERNELRELEASE),)
yaffs2-objs += yaffs_tagscompat.o yaffs_tagsvalidity.o
else
-
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)