Explorar o código

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>
Phil Sutter %!s(int64=2) %!d(string=hai) anos
pai
achega
96c1640d71
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      mk/build.mk

+ 3 - 1
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: