Tool/software: Linux
Hi Expert,
I downloaded AM57XX Linux SDK (ti-processor-sdk-linux-am57xx-evm-04.00.00.04), I wanted to compile Linux Kernel, I followed up below command in TI Wiki page, firstly I used "export" to do environment variable setting, then use "make" command to clean, but it have error message as below:
TI wiki page: processors.wiki.ti.com/.../Linux_Kernel_Users_Guide
export PATH=/ti/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
Command 'make' is available in '/usr/bin/make'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
I checked environment setting with "export" command, and get below info:
declare -x PATH="/ti/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/ti/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin"
OR, declare -x PATH="/ti/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin“
Both of above 2 results have been tried due to whether put "$PATH" in previous command "export PATH = xx" or not.
Question1:
1 Why does the error message show that " '/usr/bin' is not included in the PATH environment variable." ? Actually, the "/usr/bin" has been included in PATH according to above "declare" result
Question 2:
I saw that in the folder "/usr/bin", there is "cmake" file, but no "make" file, why it show that "Command 'make' is available in '/usr/bin/make" ? Is there difference between "make" and "cmake"? Is the result of calling "make" same as the result of calling "cmake"?
VM: Linux ubuntu-14.04.4-amd64
SDK version: ti-processor-sdk-linux-am57xx-evm-04.00.00.04

