fix inclusion of kernel modules selected for install in images (closes: #598).

SVN-Revision: 4081
master
Nicolas Thill 18 years ago
parent 49e12766bc
commit 152909a65f
  1. 4
      openwrt/include/kernel.mk

@ -47,10 +47,10 @@ PKG_$(1) := $(PACKAGE_DIR)/kmod-$(2)_$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)_
I_$(1) := $(KMOD_BUILD_DIR)/ipkg/$(2)
ifeq ($$(KDEPEND_$(1)),m)
ifneq ($(CONFIG_PACKAGE_KMOD_$(1)),)
ifneq ($$(CONFIG_PACKAGE_KMOD_$(1)),)
TARGETS += $$(PKG_$(1))
endif
ifeq ($(CONFIG_PACKAGE_KMOD_$(1)),y)
ifeq ($$(CONFIG_PACKAGE_KMOD_$(1)),y)
INSTALL_TARGETS += $$(PKG_$(1))
endif
endif

Loading…
Cancel
Save