summaryrefslogtreecommitdiff
path: root/mk/kernel.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-13 13:44:08 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-13 13:44:08 +0200
commit05d715df3ac052fb41a5ab42369d05a3e2a82de3 (patch)
treee99502f671b83f6898a77b78f88fdc67be8aa251 /mk/kernel.mk
parente251f8299bf34e329613e68116d47e124192bc84 (diff)
resolve merge conflict
Diffstat (limited to 'mk/kernel.mk')
-rw-r--r--mk/kernel.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/mk/kernel.mk b/mk/kernel.mk
index 68e0e76ab..a624ad947 100644
--- a/mk/kernel.mk
+++ b/mk/kernel.mk
@@ -17,7 +17,7 @@ TARGETS:=
# Adds a target for creating a package containing
# the specified (kernel-provided) modules.
# Parameters:
-# 1: the config symbol name (without leading 'ADK_[K,]PACKAGE_KMOD_')
+# 1: the config symbol name (without leading 'ADK_KERNEL_')
# this _must_ be equal to the kernel config symbol name
# 2: the name for the package, should be unique
# 3: actual modules to add; absolute path inside $(MODULES_DIR)
@@ -34,10 +34,7 @@ PKG_$(1) := $(PACKAGE_DIR)/kmod-$(2)_$(KERNEL_VERSION)-$(KERNEL_RELEASE)_$(CPU_A
I_$(1) := $(KMOD_BUILD_DIR)/ipkg/$(2)
ifeq ($${ADK_TARGET_KERNEL_CUSTOMISING},y)
-ifeq ($$(ADK_KPACKAGE_KMOD_$(1)),m)
-TARGETS+=$$(PKG_$(1))
-endif
-ifeq ($$(ADK_KPACKAGE_KMOD_$(1)),y)
+ifeq ($$(ADK_KERNEL_$(1)),m)
TARGETS+=$$(PKG_$(1))
INSTALL_TARGETS+=$$(PKG_$(1))
endif