Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c7f75d3 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

kbuild: fix build with O=..



.kernelrelease was saved in same directory as kernel source also
with make O=...
Make sure we kick in the normal logic to shift to the output directory
when we build .kernelrelease after executing *config.

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
---
parent aa6ba2fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -442,7 +442,7 @@ export KBUILD_DEFCONFIG
config %config: scripts_basic outputmakefile FORCE
	$(Q)mkdir -p include/linux
	$(Q)$(MAKE) $(build)=scripts/kconfig $@
	$(Q)$(MAKE) .kernelrelease
	$(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease

else
# ===========================================================================