报错内容:
#
#No change to .config#CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
fatal: not a git repository(or any of the parent directories):.git
LZ4C arch/arm64/boot/Image.lz4
Incorrect parameters
Usage :
lz4 [arg][input][output]
input : a filename
with no FILE, or when FILE is - or stdin, read standard input
Arguments :-1: Fast compression(default)-9: High compression
-d :decompression(defaultfor.lz4 extension)-z : force compression
-f : overwrite output without prompting
-h/-H : display help/long help and exit
arch/arm64/boot/Makefile:31: recipe for target 'arch/arm64/boot/Image.lz4' failed
make[2]:***[arch/arm64/boot/Image.lz4] Error 1
make[2]:*** Deleting file 'arch/arm64/boot/Image.lz4'
arch/arm64/Makefile:170: recipe for target 'Image.lz4' failed
make[1]:***[Image.lz4] Error 2
make[1]:*** Waiting for unfinished jobs....
arch/arm64/Makefile:214: recipe for target 'rk3588-evb2-lp4-v10-edp-linux.img' failed
make:***[rk3588-evb2-lp4-v10-edp-linux.img] Error 2
ERROR: Running build_kernel failed!
ERROR: exit code 2 from line 656:
make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS
1.对于报错:
fatal: not a git repository(or any of the parent directories):.git
2.解决办法:
sudo git init
2.关于lz4报错的问题,我在网上查了,根据一个大佬的见解,应该是版本跟不上吧,我是通过以下方法解决的:
sudo apt-get remove liblz4-tool
sudo git clone https://github.com/lz4/lz4.git
cd /lz4
sudo make
sudo make install