RE: FPGA GPIO interrupt » Makefile
1 |
KERNEL_LOCATION=~/projects/MitySOM-5CSx/linux_kernel_3_16/linux-socfpga |
---|---|
2 |
ARMMAKE=make ARCH=arm SUBARCH=arm CROSS_COMPILE=~/intelFPGA/17.0/embedded/ds-5/sw/gcc/bin/arm-linux-gnueabihf- |
3 |
|
4 |
obj-m := fpga_uinput.o |
5 |
|
6 |
fpga_uinput.ko: fpga_uinput.c |
7 |
$(ARMMAKE) -C $(KERNEL_LOCATION) M=$(PWD) modules |
8 |
|
9 |
clean: |
10 |
rm -f *.ko *.o *.mod.c *.symvers *.order |