Project

General

Profile

RE: FPGA GPIO interrupt » Makefile

V J, 12/21/2017 08:47 AM

 
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
(2-2/4) Go to top
Add picture from clipboard (Maximum size: 1 GB)