diff options
author | Phil Sutter <phil@nwl.cc> | 2021-11-14 19:55:14 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2021-11-15 14:46:08 +0100 |
commit | 96c1640d7135e0a3c307effed15f9123d8a82bd0 (patch) | |
tree | bbfd862b3b8dae33460416cc3ebfda29c4b2818a /mk | |
parent | b488c69504c18398563538ac62f6ef665cee068e (diff) |
Fix 'make kernelconfig'
Using KERNEL_MAKE variable in this spot breaks things, for some reason
linking fails if KERNEL_MAKE_ENV is passed to make. Before, this worked
by accident because due to missing kernel-vars.mk include,
KERNEL_MAKE_ENV evaluated empty.
Fixes: e48e15bff4252 ("mk: Introduce KERNEL_MAKE variable")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/build.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk index 29ecfa20f..a3e8c86ae 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -234,7 +234,9 @@ targethelp: $(MAKE) -C target targethelp kernelconfig: - ${KERNEL_MAKE} menuconfig + ${MAKE} -C "${LINUX_DIR}" \ + ARCH=$(ADK_TARGET_KARCH) \ + menuconfig ifeq ($(ADK_TARGET_LINUX_KERNEL_USE_CUSTOMCONFIG),y) savekconfig: |