From 14b016052c89e8ce6c21c06dc6f1150590e3245f Mon Sep 17 00:00:00 2001
From: Nicolas Thill <nico@openwrt.org>
Date: Thu, 8 Jan 2009 01:03:54 +0000
Subject: [PATCH] fix kernel modules compile (as in [13724])

SVN-Revision: 13929
---
 package/button-hotplug/Makefile  | 1 -
 package/i2c-gpio-custom/Makefile | 1 -
 package/w1-gpio-custom/Makefile  | 1 -
 3 files changed, 3 deletions(-)

diff --git a/package/button-hotplug/Makefile b/package/button-hotplug/Makefile
index aae694ccb0..ae4910147e 100644
--- a/package/button-hotplug/Makefile
+++ b/package/button-hotplug/Makefile
@@ -37,7 +37,6 @@ MAKE_OPTS:= \
 	CROSS_COMPILE="$(TARGET_CROSS)" \
 	SUBDIRS="$(PKG_BUILD_DIR)" \
 	EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
-	LINUXINCLUDE="-I$(LINUX_DIR)/include -include linux/autoconf.h" \
 	$(EXTRA_KCONFIG)
 
 define Build/Prepare
diff --git a/package/i2c-gpio-custom/Makefile b/package/i2c-gpio-custom/Makefile
index 43ce555965..3c8696840c 100644
--- a/package/i2c-gpio-custom/Makefile
+++ b/package/i2c-gpio-custom/Makefile
@@ -37,7 +37,6 @@ MAKE_OPTS:= \
 	CROSS_COMPILE="$(TARGET_CROSS)" \
 	SUBDIRS="$(PKG_BUILD_DIR)" \
 	EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
-	LINUXINCLUDE="-I$(LINUX_DIR)/include -include linux/autoconf.h" \
 	$(EXTRA_KCONFIG)
 
 define Build/Prepare
diff --git a/package/w1-gpio-custom/Makefile b/package/w1-gpio-custom/Makefile
index 5de8f9b78a..f15dac94e0 100644
--- a/package/w1-gpio-custom/Makefile
+++ b/package/w1-gpio-custom/Makefile
@@ -38,7 +38,6 @@ MAKE_OPTS:= \
 	CROSS_COMPILE="$(TARGET_CROSS)" \
 	SUBDIRS="$(PKG_BUILD_DIR)" \
 	EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
-	LINUXINCLUDE="-I$(LINUX_DIR)/include -include linux/autoconf.h" \
 	$(EXTRA_KCONFIG)
 
 define Build/Prepare
-- 
GitLab