fix kmod packaging for packages where some KCONFIG symbols are set to y

SVN-Revision: 8316
This commit is contained in:
Felix Fietkau 2007-08-02 13:38:03 +00:00
parent 9b1084b7fc
commit 21075a17f7
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,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 ($(filter m,$(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)