配置和编译Santiago内核(nxp4330平台)

     把stash文件夹拷贝到Leapfrog目录下
1.先进入Leapfrog/stash路径.
2.输入命令行cd
3.然后./setup_santiago_build
4.cd stash
5.cd linux-3.4.39
6.之后输入配置脚本./build_santiago.sh

如果在输入脚本编译的时候出现以下错误:

root@SZPST72-42:~/Leapfrog/stash/linux-3.4.39# ./build_santiago.sh
*** Using CPUS=8
*** Using TARGET_MACH=nxp4330_santiago_defconfig ***
CROSS_COMPILE not set, setting to arm-angstrom-linux-uclibceabi-
*** Using PARENT_DIR=/home/se0853/Leapfrog/stash ***
*** Using GRANDPARENT_DIR=/home/se0853/Leapfrog ***
*** Using DEPLOY_PATH=/home/se0853/Leapfrog/deploy ***
*** Using ROOTFS_PATH=/home/se0853/Leapfrog/deploy/rootfs ***
./build_santiago.sh: $LINUX_VERSION='3.4.39'
TARGET_MACH=nxp4330_santiago_defconfig
make: arm-angstrom-linux-uclibceabi-gcc: Command not found
  CHK     include/linux/version.h
  CHECK   scripts/mod/empty.c
  CC      scripts/mod/empty.o
/bin/sh: 1: arm-angstrom-linux-uclibceabi-gcc: not found
make[2]: *** [scripts/mod/empty.o] Error 127
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
root@SZPST72-42:~/Leapfrog/stash/linux-3.4.39#
 

说明是编译器工具链环境未正确设置,然后再输入如下命令配置编译器环境:

  source /opt/angstrom-denzil/environment-setup-armv7a-vfp-angstrom-linux-uclibceabi
  export ARCH=arm
再重新输入内核脚本编译即可。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值