1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-02-17 16:44:43 +02:00

disable kmod packages where the KCONFIG options are =y

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8086 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-07-20 22:25:14 +00:00
parent bb85ff4f8d
commit 8ed41edf8e

View File

@ -97,6 +97,7 @@ define KernelPackage
$(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
endef
ifeq ($(filter y,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),)
ifneq ($(strip $(FILES)),)
define Package/kmod-$(1)/install
mkdir -p $$(1)/lib/modules/$(LINUX_VERSION)
@ -105,6 +106,7 @@ define KernelPackage
$(call KernelPackage/$(1)/install,$$(1))
endef
endif
endif
$$(eval $$(call BuildPackage,kmod-$(1)))
$$(IPKG_kmod-$(1)): $$(wildcard $$(FILES))