OpenCores
URL https://opencores.org/ocsvn/pcie_ds_dma/pcie_ds_dma/trunk

Subversion Repositories pcie_ds_dma

[/] [pcie_ds_dma/] [trunk/] [soft/] [linux/] [driver/] [pexdrv/] [Makefile] - Diff between revs 2 and 6

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 6
Line 1... Line 1...
 
 
KERNELVER := $(shell uname -r)
KERNELVER := $(shell uname -r)
EXTRA_CFLAGS += -O2
EXTRA_CFLAGS += -O2
 
EXTRA_CFLAGS += -I $(PWD)/../../common/board
 
 
ifneq ($(KERNELRELEASE),)
ifneq ($(KERNELRELEASE),)
 
 
pexdrv-objs := event.o dmachan.o ioctlrw.o pexmodule.o pexproc.o hardware.o
pexdrv-objs := event.o dmachan.o ioctlrw.o pexmodule.o pexproc.o hardware.o
obj-m := pexdrv.o
obj-m := pexdrv.o
Line 12... Line 13...
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
 
 
PWD := $(shell pwd)
PWD := $(shell pwd)
 
 
modules:
modules:
        $(MAKE) -C $(KERNELDIR) M=$(PWD) $(DIRS)
        $(MAKE) -C $(KERNELDIR) M=$(PWD) EXTRA_CFLAGS="$(EXTRA_CFLAGS)"
 
 
endif
endif
 
 
distclean:
distclean:
        rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions *.bak .*.cache *.d
        rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions *.bak .*.cache *.d
Line 27... Line 28...
        $(CC) $(EXTRA_CFLAGS) -M *.c > .depend
        $(CC) $(EXTRA_CFLAGS) -M *.c > .depend
 
 
ifeq (.depend, $(wildcard .depend))
ifeq (.depend, $(wildcard .depend))
include .depend
include .depend
endif
endif
 
 
 
install:
 
        ./insert
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.