From dfd80414dd306ed37ffd190d5097cbc311931bc4 Mon Sep 17 00:00:00 2001 From: Frodo Looijaard Date: Sun, 29 Oct 2000 23:13:11 +0000 Subject: [PATCH] Ticket 412 mkpatch problem fixed (I hope) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@917 7894878c-1315-0410-8ee3-d5d059ff63e0 --- mkpatch/mkpatch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkpatch/mkpatch.pl b/mkpatch/mkpatch.pl index 3f259d20..ecf9061e 100755 --- a/mkpatch/mkpatch.pl +++ b/mkpatch/mkpatch.pl @@ -373,11 +373,11 @@ sub gen_drivers_Makefile $_ = if m@^$@; redo MAIN; } - if (m@^subdir.*CONFIG_I2C@) { + if (m@^subdir.*CONFIG_SENSORS@) { $_ = ; redo MAIN; } - if (m@^include \$\(TOPDIR\)/Rules.make$@) { + if (!$pr2 and (m@^include \$\(TOPDIR\)/Rules.make$@ or m@^subdir-\$\(CONFIG_ACPI@)) { $pr2 = 1; if ($new_style) { print OUTPUT <<'EOF';