我是靠谱客的博主 朴素超短裙,最近开发中收集的这篇文章主要介绍【解决】make: *** [uboot-socfpga/.applypatch.add_fms_extensions_cflag] Error 1,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

问题描述:

de1-soc生成preloader image file过程中,已生成bsp preloader source code,使用make编译preloader的elf和binary文件中出错

环境:embeded command tool 13.1,cygwin 2.0

问题具体

tar zxf/cygdrive/d/altera/13.1/embedded/host_tools/altera/preloader/uboot-socfpga.tar.gz

"generated/build.h"-> "uboot-socfpga/board/altera/socfpga/build.h"

"generated/iocsr_config_cyclone5.c"-> "uboot-socfpga/board/altera/socfpga/iocsr_config_cyclone5.c"

"generated/iocsr_config_cyclone5.h"-> "uboot-socfpga/board/altera/socfpga/iocsr_config_cyclone5.h"

"generated/reset_config.h"-> "uboot-socfpga/board/altera/socfpga/reset_config.h"

"generated/pll_config.h"-> "uboot-socfpga/board/altera/socfpga/pll_config.h"

"generated/pinmux_config_cyclone5.c"-> "uboot-socfpga/board/altera/socfpga/pinmux_config_cyclone5.c"

"generated/pinmux_config.h"-> "uboot-socfpga/board/altera/socfpga/pinmux_config.h"

"generated/sdram/sdram_config.h"-> "uboot-socfpga/board/altera/socfpga/sdram/sdram_config.h"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/alt_types.h"-> "uboot-socfpga/board/altera/socfpga/sdram/alt_types.h"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/sdram_io.h"-> "uboot-socfpga/board/altera/socfpga/sdram/sdram_io.h"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/sequencer_auto_ac_init.c"->"uboot-socfpga/board/altera/socfpga/sdram/sequencer_auto_ac_init.c"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/sequencer_auto.h"-> "uboot-socfpga/board/altera/socfpga/sdram/sequencer_auto.h"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/sequencer_auto_inst_init.c"->"uboot-socfpga/board/altera/socfpga/sdram/sequencer_auto_inst_init.c"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/sequencer.c"-> "uboot-socfpga/board/altera/socfpga/sdram/sequencer.c"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/sequencer_defines.h"-> "uboot-socfpga/board/altera/socfpga/sdram/sequencer_defines.h"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/sequencer.h"-> "uboot-socfpga/board/altera/socfpga/sdram/sequencer.h"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/system.h"-> "uboot-socfpga/board/altera/socfpga/sdram/system.h"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/tclrpt.c"-> "uboot-socfpga/board/altera/socfpga/sdram/tclrpt.c"

"D:\useful\de1-soc\altera-tran\DE1_SoC_GHRD\hps_isw_handoff\soc_system_hps_0/tclrpt.h"-> "uboot-socfpga/board/altera/socfpga/sdram/tclrpt.h"

ApplyingPatch:D:/altera/13.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/add_fms_extensions_cflag.patch

patch-p1 --directory=uboot-socfpga --input=D:/altera/13.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/add_fms_extensions_cflag.patch

(Strippingtrailing CRs from patch; use --binary to disable.)

patchingfile config.mk

Hunk #1FAILED at 94 (different line endings).

1 out of1 hunk FAILED -- saving rejects to file config.mk.rej

make:*** [uboot-socfpga/.applypatch.add_fms_extensions_cflag] Error 1

思路:可以看出是makefile的patch出了问题

把原来的文件全部删除,重新make,使用参数 -i,将可能出现的错误全部ignore

                               


最后

以上就是朴素超短裙为你收集整理的【解决】make: *** [uboot-socfpga/.applypatch.add_fms_extensions_cflag] Error 1的全部内容,希望文章能够帮你解决【解决】make: *** [uboot-socfpga/.applypatch.add_fms_extensions_cflag] Error 1所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(45)

评论列表共有 0 条评论

立即
投稿
返回
顶部