This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

make: *** No rule to make target `distclean'. Stop.

my chip is DM6467T

I load the LSP.
when I log in "montavista/pro/devkit/lsp/ti-davinci/linux-2.6.18_pro500",I input "make distclean"

it desplay:"make: *** No rule to make target `distclean'.  Stop."

Why?

  • Same error with i try to create Uboot image

  • Hi Taqi,

    Do you have "Makefile" file on your current directory where you are providing "make distclean" command ?

    Please confirm that you are in u-boot source directory,

    You will get these errors where you do not have "Makefile"

  • @ubuntu:~/Folder/LINUX/AM1808PSP/board-support/u-boot-2010.12-psp03.21.00.04.sdk$ make da850evm_config CROSS_COMPILE=arm-arago-linux-gnueabi-


    awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg > .boards.depend


    /bin/bash: /home/System/Folder/LINUX/AM1808PSP/board-support/u-boot-2010.12-psp03.21.00.04.sdk/mkconfig: Permission denied
     

    Is this error is because of the available SDK, that i've downloaded is not updated ?

  • Hi,

    This is due to "execute" permission is not available for "mkconfg" file which is used to build u-boot source.

    This seems you have installed SDK in normal user mode and not as root.

    Try these commands to build u-boot source successfully.

    1) @ubuntu:~/Folder/LINUX/AM1808PSP/board-support/u-boot-2010.12-psp03.21.00.04.sdk$ sudo chmod 777 -R *

    2) @ubuntu:~/Folder/LINUX/AM1808PSP/board-support/u-boot-2010.12-psp03.21.00.04.sdk$ sudo su

    3) @ubuntu:~/Folder/LINUX/AM1808PSP/board-support/u-boot-2010.12-psp03.21.00.04.sdk$ make distclean CROSS_COMPILE=arm-arago-linux-gnueabi-

    4) @ubuntu:~/Folder/LINUX/AM1808PSP/board-support/u-boot-2010.12-psp03.21.00.04.sdk$ make clean CROSS_COMPILE=arm-arago-linux-gnueabi-

    5) @ubuntu:~/Folder/LINUX/AM1808PSP/board-support/u-boot-2010.12-psp03.21.00.04.sdk$ make da850evm_config CROSS_COMPILE=arm-arago-linux-gnueabi-

    6) @ubuntu:~/Folder/LINUX/AM1808PSP/board-support/u-boot-2010.12-psp03.21.00.04.sdk$ make u-boot.ais CROSS_COMPILE=arm-arago-linux-gnueabi-