summaryrefslogtreecommitdiff
blob: 8da61d2c32b3b5ef738c8ed8e8f38bf1ea5e1872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- shfs-0.32.orig/shfs/Linux-2.6/Makefile	2004-02-28 17:02:27.764129840 +0100
+++ shfs-0.32/shfs/Linux-2.6/Makefile	2004-02-28 17:02:53.151270408 +0100
@@ -1,3 +1,7 @@
+ifndef DEBUG
+DEBUG=0
+endif
+
 ifneq ($(KERNELRELEASE),)
 # call from kernel build system
 
@@ -5,7 +9,7 @@
 
 shfs-objs := dcache.o dir.o fcache.o file.o inode.o proc.o proto.o symlink.o
 
-EXTRA_CFLAGS += -DVERSION=\"0.3\" -DDEBUG_LEVEL=5
+EXTRA_CFLAGS += -DVERSION=\"0.3\" -DDEBUG_LEVEL=${DEBUG}
 
 else
 # external module build
@@ -18,10 +22,6 @@
 KERNEL_SOURCES=${MODULESDIR}/build
 endif
 
-ifndef DEBUG
-DEBUG=0
-endif
-
 KERNEL := linux-$(shell uname -r)
 PWD := $(shell pwd)