diff options
Diffstat (limited to 'recipes-demo/de10-nano-fftdriver-mod/files/Makefile')
-rw-r--r-- | recipes-demo/de10-nano-fftdriver-mod/files/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-demo/de10-nano-fftdriver-mod/files/Makefile b/recipes-demo/de10-nano-fftdriver-mod/files/Makefile new file mode 100644 index 0000000..024f913 --- /dev/null +++ b/recipes-demo/de10-nano-fftdriver-mod/files/Makefile @@ -0,0 +1,14 @@ +obj-m := fft_driver.o + +SRC := $(shell pwd) + +all: + $(MAKE) -C $(KERNEL_SRC) M=$(SRC) + +modules_install: + $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install + +clean: + rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c + rm -f Module.markers Module.symvers modules.order + rm -rf .tmp_versions Modules.symvers |