summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-11-14 06:39:24 +0000
committerPatrick McHardy <kaber@trash.net>2006-11-14 06:39:24 +0000
commit2512229063de9684929d0e80eab42611ceb775fb (patch)
tree6d45264f856c6e6b33571e6f9f8df2ea2abc9fcc /Makefile
parent00524b27b5e442d27414cf48e0d6e6372b6113ae (diff)
Use /lib/modules/$(uname -r)/build instead of /usr/src/linux as KERNEL_DIR default
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a5c8d07a..cc1de3bd 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@
TOPLEVEL_INCLUDED=YES
ifndef KERNEL_DIR
-KERNEL_DIR=/usr/src/linux
+KERNEL_DIR="/lib/modules/$(shell uname -r)/build"
endif
IPTABLES_VERSION:=1.3.6
OLD_IPTABLES_VERSION:=1.3.5