AR# 36586

12.1 EDK - make < target > : *** multiple target patterns. Stop.

描述

In 12.1 when I make a small change to my source codes and build the project again, it gives an error:

**** Build of configuration Debug for project my_project ****

make all
src/mysource.d:1: *** multiple target patterns. Stop.

How do I solve the issue?

解决方案

That error is generated by Make when the syntax of one of the autogenerated makefiles is wrong. Make sure you are using only relative paths in all your #includes and SDK settings.

To do this, right click on SDK project -> C/C++ Build Settings. Make sure that the General, Directories, Libraries and Linker Script fields have relative paths.

A similar error also appears if you create an ELF only project in XPS and the ELF resides directly in the project directory or in a directory outside of the project directory structure. To work around this scenario, create a daughter directory in your project directory and place the ELF in the daughter directory. Make sure that ELF only software project points to the new location.This particular issue has been fixed in 12.3.

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
34609 12.x EDK - 主要问答记录列表 N/A N/A
AR# 36586
日期 12/15/2012
状态 Active
Type 综合文章
Tools