Forum Discussion
Altera_Forum
Honored Contributor
10 years agoThanks in advance.
I'm having trouble compiling my custom device driver. I'm using the 14.1 tools. My compiled linux is in /home/user1/linux-socfpga My cross compiler is in /home/user1/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin/arm-linux-gnueabihf- My device driver is in /home/user1/newDriver I'VE TRIED LOTS OF THINGS - and googled for a few hours One was -- from the newDriver directory I tried: # ] make ARCH=arm CROSS_COMPILE=/home/user1/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin/arm-linux-gnueabihf- KERNEL_SRC=/home/user1/linux-socfpga IT TRIES BUT CAN'T FIND the kernel header files. Any help would be greatly appreicated.