Hi,
I am crosscompiling u-boot for the beaglebone black and I have a problem that I don't understand.
I have installed correctly the linaro cross-compile tools and export the environment variable CC as:
export CC=/path_to_linaro_arm_cross_compiler/bin/arm-linux-gnueabihf-
And if I type in the terminal:
${CC}gcc --version
I see the linaro's compiler version, so all seems to be ok.
But, when I try to create the config file for the BBB with the command:
make ARCH=arm CROSS_COMPILE=${CC} am335x_boneblack_defconfig
It complains with the message: "/bin/sh: 1: cc: not found"
Am I missing something?