git clone -b gatesgarth git://git.yoctoproject.org/poky.git
source oe-init-build-env
报错了
bitbake --version
BitBake Build Tool Core version 1.48.0
[root@iZbp1cgthh0yibb7tvfzdiZ build]# bitbake
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
chrpath diffstat rpcgen
解决方法 安装依赖包
yum install chrpath diffstat
wget https://github.com/thkukuk/rpcsvc-proto/archive/v1.4.1.tar.gz
./autogen
./configure
make && make install