-
building STLinux kernel
hello everyone!
I have installed STLinux-2.4 on my Fedora 11. but I can't build a STLinux kernel. I follow all instructions on official stlinux site, but when I try to build kernel, I see
Code:
[host Download]# cd /home/STLinux/linux-sh4/
[host linux-sh4]# make ARCH=sh CROSS_COMPILE=sh4-linux- vmlinux
/bin/sh: sh4-linux-gcc: command not found
/bin/sh: sh4-linux-gcc: command not found
/bin/sh: sh4-linux-gcc: command not found
make: sh4-linux-gcc: Command not found
/bin/sh: sh4-linux-gcc: command not found
/bin/sh: sh4-linux-gcc: command not found
/bin/sh: sh4-linux-gcc: command not found
HOSTCC scripts/basic/fixdep
/bin/sh: gcc: command not found
make[2]: *** [scripts/basic/fixdep] Error 127
make[1]: *** [scripts_basic] Error 2
CHK include/linux/version.h
UPD include/linux/version.h
Generating include/asm-sh/machtypes.h
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
help me, please))
-
Building STLinux Kernel
do you have the SH4-Linux-gcc installed,
search for it and put the full path in the command , in my case the path is /opt/STM/STLinux2.4/devkit/SH4/bin , so the command is
make ARCH=sh CROSS_COMPILE= '/opt/STM/STLinux2.4/devkit/SH4/bin/sh4-linux-' vmlinux
i hope it will help.
RGDS
Yasser
-
thank you!! it's working))