[package] add support for mcs-7830 usb ethernet adapter (#3977)
[openwrt.git] / package / button-hotplug / Makefile
index 64bf943..ae49101 100644 (file)
@@ -16,6 +16,7 @@ include $(INCLUDE_DIR)/package.mk
 define KernelPackage/button-hotplug
   SUBMENU:=Other modules
   TITLE:=Button Hotplug driver
+  DEPENDS:=@LINUX_2_6
   FILES:=$(PKG_BUILD_DIR)/button-hotplug.$(LINUX_KMOD_SUFFIX)
   KCONFIG:=
 endef
@@ -36,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
This page took 0.02387 seconds and 4 git commands to generate.