summaryrefslogtreecommitdiffstats
path: root/rules/kernel.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-10-07 11:32:05 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-10-07 18:31:44 +0200
commit7fa9235fb915e537d21054dc6a60af6981969ba5 (patch)
treeba1eebf819ce680188fef7e4e09a7d7c54eddbef /rules/kernel.make
parentdb8c3e7ff86d42987585b3b8e0b4cf9191bd5aa0 (diff)
downloadptxdist-7fa9235fb915e537d21054dc6a60af6981969ba5.tar.gz
ptxdist-7fa9235fb915e537d21054dc6a60af6981969ba5.tar.xz
kernel, barebox: use explicit list of config targets
The problem with the pattern rule is that it also matches some files, such as $(PTXDIST_TOPDIR)/config/images/barebox_partitions.config. This results in strange error messages. Use a global list of possible config targets and use it to generate explicit lists of make targets. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/kernel.make')
-rw-r--r--rules/kernel.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/kernel.make b/rules/kernel.make
index 6a764ce2f..808e2e6c1 100644
--- a/rules/kernel.make
+++ b/rules/kernel.make
@@ -323,7 +323,7 @@ endif
# oldconfig / menuconfig
# ----------------------------------------------------------------------------
-kernel_%config: $(STATEDIR)/kernel.extract
+$(call ptx/kconfig-targets, kernel): $(STATEDIR)/kernel.extract
@$(call world/kconfig, KERNEL, $(subst kernel_,,$@))
# vim: syntax=make