From 2512229063de9684929d0e80eab42611ceb775fb Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Tue, 14 Nov 2006 06:39:24 +0000 Subject: Use /lib/modules/$(uname -r)/build instead of /usr/src/linux as KERNEL_DIR default --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3