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.

Sitara SDK 05.05.01 and U-Boot: "make clean" fails

Here I have installed the TI Sitara SDK 05.05.01. Now I want to begin to do some changes to U-Boot, so I'm in the directory "~/ti-sdk-am335x-evm-05.05.01.00/board-support/board-port-labs/sitara-board-port-uboot". If I do a "make clean", this is the result:

user@ubuntu:~/ti-sdk-am335x-evm-05.05.01.00/board-support/board-port-labs/sitara-board-port-uboot$ make clean
/bin/bash: arm-linux-gcc: command not found
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
user@ubuntu:~/ti-sdk-am335x-evm-05.05.01.00/board-support/board-port-labs/sitara-board-port-uboot$

What may be wrong here?

  • Try

    make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- clean

    Steve K.

  • Thanks for your quick answer, but this doesn't change anything:

    user@ubuntu:~/ti-sdk-am335x-evm-05.05.01.00/board-support/board-port-labs/sitara-board-port-uboot$ make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- clean
    /bin/bash: arm-arago-linux-gnueabi-gcc: command not found
    /bin/bash: arm-arago-linux-gnueabi-gcc: command not found
    dirname: missing operand
    Try `dirname --help' for more information.
    user@ubuntu:~/ti-sdk-am335x-evm-05.05.01.00/board-support/board-port-labs/sitara-board-port-uboot$

    Ah ok thanks, your hint had the right direction, this works:

    make ARCH=arm CROSS_COMPILE=/home/user/ti-sdk-am335x-evm-05.05.01.00/linux-devkit/bin/arm-arago-linux-gnueabi- clean

    But then I have to wonder why a simple "make clean" works in ~/ti-sdk-am335x-evm-05.05.01.00/board-support/board-port-labs/sitara-board-port-linux, but not in ~/ti-sdk-am335x-evm-05.05.01.00/board-support/board-port-labs/sitara-board-port-uboot. Do you have an idea about this?