报错内容:
***
*** Can't find default configuration ”arch/ arm64/configs/rockchip liunx_ defconfig"!
*大*
scr ipts /kconfig/Makefile:104: recipe for target ' rockchip_ liunx_ defconfig' failed
maubuntu Softwafe ockchip_ liunx_ defconfig] Error 1
Makeflle:578: recipe for target ' rockchip_ liunx_ defconfig' failed
make: *** [ rockchip_ Liunx_ defconfig] Error 2
目前解决方案:
把T113的环境脚本install_tools.sh移植过来跑一下,脚本内容,可以自己创建个文本文件制作脚本:
# /bin/sh
sudo apt-get install pkg-config -y
sudo apt-get install nfs-kernel-server -y
sudo apt-get install samba -y
sudo apt-get install ssh -y
sudo apt-get install gcc -y
sudo apt-get install autoconf -y
sudo apt-get install patch -y
sudo apt-get install wget -y
sudo apt-get install texinfo -y
sudo apt-get install zlib1g-dev -y
sudo apt-get install dos2unix -y
sudo apt-get install git -y
sudo apt-get install gnupg -y
sudo apt-get install flex -y
sudo apt-get install bison -y
sudo apt-get install gperf -y
sudo apt-get install build-essential -y
sudo apt-get install zip -y
sudo apt-get install curl -y
sudo apt-get install libc6-dev -y
sudo apt-get install libncurses5-dev:i386 -y
sudo apt-get install x11proto-core-dev -y
sudo apt-get install libx11-dev:i386 -y
sudo apt-get install libreadline6-dev:i386 -y
sudo apt-get install libgl1-mesa-glx:i386 -y
sudo apt-get install libgl1-mesa-dev -y
sudo apt-get install g++-multilib -y
sudo apt-get install tofrodos -y
sudo apt-get install python-markdown -y
sudo apt-get install libxml2-utils -y
sudo apt-get install xsltproc -y
sudo apt-get install zlib1g-dev:i386 -y
sudo apt-get install gawk -y
sudo apt-get install libssl-dev -y
sudo apt-get install u-boot-tools:i386 -y
echo "deb http://us.archive.ubuntu.com/ubuntu trusty main universe" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt-get install mingw32 -y
sudo dpkg-reconfigure dash
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
在命令行中输入指令,执行脚本:
chmod 777 install_tools.sh
./install_tools.sh
待脚本运行完毕,删除Kernel文件夹(直接make distclean不知道有没有用,没试过),重新按照教程移植编译Kernel
就正常通过编译咯~