From 7c5f82ac9da21a0a2ab42c2478943b415c47d158 Mon Sep 17 00:00:00 2001 From: Frodo Looijaard Date: Sun, 27 May 2001 19:25:06 +0000 Subject: [PATCH] Fix to make mkpatch work with 2.4.5 kernels The base Makefile changed again. Sigh. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1099 7894878c-1315-0410-8ee3-d5d059ff63e0 --- mkpatch/mkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkpatch/mkpatch.pl b/mkpatch/mkpatch.pl index a6118cfe..76570797 100755 --- a/mkpatch/mkpatch.pl +++ b/mkpatch/mkpatch.pl @@ -397,7 +397,7 @@ DRIVERS-$(CONFIG_SENSORS) += drivers/sensors/sensors.a EOF $pr1 = 1; } - if ($type == 2 and m@^DRIVERS \+= \$\(DRIVERS-y\)@) { + if ($type == 2 and m@^DRIVERS .*= \$\(DRIVERS-y\)@) { print OUTPUT <<'EOF'; DRIVERS-$(CONFIG_SENSORS) += drivers/sensors/sensor.o EOF