From: Patrick McHardy Date: Tue, 14 Nov 2006 06:39:24 +0000 (+0000) Subject: Use /lib/modules/$(uname -r)/build instead of /usr/src/linux as KERNEL_DIR default X-Git-Tag: v1.3.7~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2512229063de9684929d0e80eab42611ceb775fb;p=thirdparty%2Fiptables.git Use /lib/modules/$(uname -r)/build instead of /usr/src/linux as KERNEL_DIR default --- 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