summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorstk <stk@ableton.com>2018-05-02 12:07:33 +0200
committerstk <stk@ableton.com>2018-05-02 13:42:15 +0200
commit682240a04779f6ae24144940acbf6e640f56cac2 (patch)
treeb8bbe8b606626180583c87d7eb3fce5289f77cbc /target/Makefile
parent2773eda14966d7eb0db71f0452aeb649b9d9ec42 (diff)
Fix bug related to renaming of ADK_TARGET_KERNEL_*
I'm not sure if this correct, or complete. I only know that it's the diff hunk in mk/kernel-build.mk that we need. The other ones were found by searching for ADK_TARGET_KERNEL_USE_CUSTOMCONFIG; I suspect these code blocks need to be duplicated for ADK_TARGET_WALDUX_KERNEL_USE_CUSTOMCONFIG?
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/Makefile b/target/Makefile
index 1ecb58501..846620d6c 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -4,8 +4,8 @@
include $(ADK_TOPDIR)/rules.mk
include $(ADK_TOPDIR)/mk/rootfs.mk
-ifeq ($(ADK_TARGET_KERNEL_USE_CUSTOMCONFIG),y)
-KERNEL_MODULES_USED:=$(shell grep -s =m $(ADK_TOPDIR)/$(ADK_TARGET_KERNEL_CUSTOMCONFIG_PATH))
+ifeq ($(ADK_TARGET_LINUX_KERNEL_USE_CUSTOMCONFIG),y)
+KERNEL_MODULES_USED:=$(shell grep -s =m $(ADK_TOPDIR)/$(ADK_TARGET_LINUX_KERNEL_CUSTOMCONFIG_PATH))
else
KERNEL_MODULES_USED:=$(shell grep ^ADK_$(ADK_TARGET_OS)_KERNEL $(ADK_TOPDIR)/.config|grep =m)
endif