only enable in-tree kmod-* packages by default
authorFelix Fietkau <nbd@openwrt.org>
Sat, 18 Nov 2006 15:46:09 +0000 (15:46 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 18 Nov 2006 15:46:09 +0000 (15:46 +0000)
SVN-Revision: 5560

include/kernel.mk
package/kernel/Makefile

index 09aba40..32d686c 100644 (file)
@@ -84,7 +84,7 @@ define KernelPackage
     TITLE:=$(TITLE)
     SECTION:=kernel
     CATEGORY:=Kernel modules
-    DEFAULT:=m
+    DEFAULT:=$(KMOD_DEFAULT)
     DESCRIPTION:=$(DESCRIPTION)
     EXTRA_DEPENDS:='kernel (=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))'
     $(call KernelPackage/$(1))
index a030ad7..e58b310 100644 (file)
@@ -15,6 +15,9 @@ PKG_RELEASE:=$(LINUX_RELEASE)
 
 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
 
+# build all in-tree kmod-* packages by default
+KMOD_DEFAULT:=m
+
 include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
   -include $(LINUX_DIR)/.config