summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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