I am trying to compile RPi kernel on Kali Linux. I have downloaded GIT & the tools-master from git. Can anyone help me in resolving this issue & understand why this error comes?
Below is the environment variable setup.
$ export CCPREFIX=arm-linux-gnueabihf-
$ export PATH=/media/6605-F597/toolchain/tools-master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/:$PATH
$ make ARCH=arm CROSS_COMPILE=$CCPREFIX bcmrpi_defconfig
While running last command I get following error.
HOSTCC scripts/basic/fixdep
/bin/sh: 1: scripts/basic/fixdep: Permission denied
make[1]: *** [scripts/basic/fixdep] Error 126
make: *** [scripts_basic] Error 2
I tried goggling it but could not resolve this issue. I have this code in my vfat partition.
/dev/sda3 on /media/6605-F597 type vfat (rw,nosuid,nodev,relatime,fmask=0022,dmask=0077,codepage=437,iocharset=utf8,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks)
– fadedreamz Mar 04 '15 at 05:10file <path_to_kernel_source>/scripts/basic/fixdep