【问题标题】:make[1]: ***No rule to make target 'zynq_xcomm_adv7511_deconfig'make[1]: ***没有规则来制作目标 'zynq_xcomm_adv7511_deconfig'
【发布时间】:2015-09-26 03:17:41
【问题描述】:

我浏览了一些与该错误相关的帖子,但找不到涵盖此特定情况的帖子。我正在尝试编译教程中这些步骤中定义的内核映像;

git clone https://github.com/analogdevicesinc/linux.git
Cloning into 'linux'...
remote: Counting objects: 2550298, done.
remote: Compressing objects: 100% (466978/466978), done.
remote: Total 2550298 (delta 2118600), reused 2483072 (delta 2058083)
Receiving objects: 100% (2550298/2550298), 727.70 MiB | 353 KiB/s, done.
Resolving deltas: 100% (2118600/2118600), done.
Checking out files: 100% (38170/38170), done.
> cd linux
> git checkout xcomm_zynq
> # For AD-FMCOMMS2-EBZ use
> # git checkout xcomm_zynq 
> export ARCH=arm
> export CROSS_COMPILE=/path/to/your/arm/cross-compiler
> # e.g. export CROSS_COMPILE=/opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-xilinxa9-linux-gnueabi-
> make zynq_xcomm_adv7511_defconfig
#
# configuration written to .config
#
> make uImage LOADADDR=0x00008000
  ...
  OBJCOPY arch/arm/boot/uImage
  Kernel: arch/arm/boot/uImage is ready

我已经完成了所有步骤,直到我第一次制作并得到错误;

make[1]: ***No rule to make target 'zynq_xcomm_adv7511_deconfig'

我对make知之甚少,过去通常盲目使用它。这个错误指向什么? Makefile 应该没问题,因为它是从 Analog 发布的。唯一的区别是我使用了不同的交叉编译器 - 而是 arm-linux-gnueabihf-gcc。这会导致问题吗?

【问题讨论】:

    标签: makefile cross-compiling


    【解决方案1】:

    某处有错别字。需要调用zynq_xcomm_adv7511_defconfig

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-06-10
      相关资源
      最近更新 更多