mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-30 16:14:12 +00:00
disable kmod packages where the KCONFIG options are =y
SVN-Revision: 8086
This commit is contained in:
parent
075883e85b
commit
7ff45c5adb
@ -97,6 +97,7 @@ define KernelPackage
|
|||||||
$(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
|
$(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(filter y,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),)
|
||||||
ifneq ($(strip $(FILES)),)
|
ifneq ($(strip $(FILES)),)
|
||||||
define Package/kmod-$(1)/install
|
define Package/kmod-$(1)/install
|
||||||
mkdir -p $$(1)/lib/modules/$(LINUX_VERSION)
|
mkdir -p $$(1)/lib/modules/$(LINUX_VERSION)
|
||||||
@ -105,6 +106,7 @@ define KernelPackage
|
|||||||
$(call KernelPackage/$(1)/install,$$(1))
|
$(call KernelPackage/$(1)/install,$$(1))
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
$$(eval $$(call BuildPackage,kmod-$(1)))
|
$$(eval $$(call BuildPackage,kmod-$(1)))
|
||||||
|
|
||||||
$$(IPKG_kmod-$(1)): $$(wildcard $$(FILES))
|
$$(IPKG_kmod-$(1)): $$(wildcard $$(FILES))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user