Q: Why do I get a “command not found” return when I try to build the sample application using Cygwin?
A:
The build.sh file must use Unix end of line terminations. Change the line endings to Unix by using "dos2unix" preceding the build.sh command. For example:
user@xyz /home/logic/sample_app/2.10/led_flasher
$ dos2unix build.sh
build.sh: done.
user@xyz /home/logic/sample_app/2.10/led_flasher
$ ./build.sh
-----------------------------------------------------------------
Sample Application Build Tool
-----------------------------------------------------------------
Select module:
1) MCF5474_10 5) MCF5329_10 9) LLH79524_10 13) PXA270_10
2) MCF5484_10 6) LLH7a400_10 10) LSH7727_20
3) MCF5475_10 7) LLH7a404_11 11) LSH7750_10
4) MCF5485_10 LLH79520_10 12) LSH7760_10
module?
PRODUCTS Included:
PXA270, iMX31
|