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 09aba40768bb425e9a325169daa53e127adf0c31..32d686c489b9b50f5d58c101771d66fca22f5d8e 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 a030ad7236d13d2365f2e84714655d13e1d39d05..e58b310259cbc8daf1f41a9ee27086ce4a232745 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