fix kernel module defaults
authorFelix Fietkau <nbd@openwrt.org>
Fri, 21 Jul 2006 22:51:02 +0000 (22:51 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 21 Jul 2006 22:51:02 +0000 (22:51 +0000)
SVN-Revision: 4201

openwrt/package/kernel/Makefile

index 0a26cd6cf1919df6dfd5862f0a79ae6db8e0b66c..14fcda288df8956c861f09721bf558e722d5f503 100644 (file)
@@ -30,7 +30,7 @@ endef
 
 define KernelPackage/Defaults
 FILES:=
-KCONFIG:=
+KCONFIG:=m
 AUTOLOAD:=
 endef
 
@@ -67,8 +67,11 @@ define KernelPackage
     TITLE:=$(TITLE)
     SECTION:=kernel
     CATEGORY:=Kernel modules
+    DEFAULT:=m
     DESCRIPTION:=$(DESCRIPTION)
     EXTRA_DEPENDS:='kernel (=$(PKG_VERSION))'
+    $(call KernelPackage/$(1))
+    $(call KernelPackage/$(1)/$(KERNEL))
   endef
 
   define Package/kmod-$(1)/install