PDA

View Full Version : Makefile error:*** No rule to make target



facing it all
August 2nd, 2012, 08:09 AM
I am trying to compile a u-boot flashing software code. when i try to use Makefile i get the error:

Makefile:25: /config.mk: No such file or directory
make: *** No rule to make target `/config.mk'. Stop.although the config.mk exists. Any suggestions would be helpful.

Thanks in advance
facing it all

oldos2er
August 2nd, 2012, 04:07 PM
Moved to Packaging and Compiling Programs.

spjackson
August 2nd, 2012, 06:27 PM
The error message is about /config.mk which is a file in the root directory. This would appear to be a mistake. Check your Makefile.

facing it all
August 3rd, 2012, 11:00 AM
thanks for ur reply. so, does it mean that i can't use the makefile inside the board/.. folder?

spjackson
August 3rd, 2012, 12:38 PM
Was the Makefile generated by a step such as ./configure ? Did that step fail? Maybe the Makefile has something like ${SOME_VARIABLE)/config.mk and SOME_VARIABLE isn't defined.