hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I81E6X
---------------------------------------------
Build the kernel Image out of the srctree with the following command: $ mkdir build $ cd build $ make -C ../ O=`pwd` openeuler_defconfig $ make Image -j64 would get the following error message:
../Makefile:1315: Makefile.oever: No such file or directory make: *** No rule to make target 'Makefile.oever'. Stop.
Add a directory path for the included file to fix this.
Fixes: 0177b043eb4e ("kernel: add OPENEULER_VERSION_CODE to version.h") Signed-off-by: Wang Wensheng wangwensheng4@huawei.com --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile index 5b2b3ad42a2d..5061718274f0 100644 --- a/Makefile +++ b/Makefile @@ -1312,7 +1312,7 @@ uapi-asm-generic: # ---------------------------------------------------------------------------
# openEuler version variables -include Makefile.oever +include $(srctree)/Makefile.oever
# KERNELRELEASE can change from a few different places, meaning version.h # needs to be updated, so this check is forced on all builds