master/Makefile
changeset 191 ca805255a935
parent 180 786d4cba38fb
child 196 f8a1e9f364a3
equal deleted inserted replaced
190:4e32bcc6b361 191:ca805255a935
    31 include ../ethercat.conf
    31 include ../ethercat.conf
    32 else
    32 else
    33 KERNEL := $(shell uname -r)
    33 KERNEL := $(shell uname -r)
    34 endif
    34 endif
    35 
    35 
    36 KERNELDIR = /lib/modules/$(KERNEL)/build
    36 KERNELDIR := /lib/modules/$(KERNEL)/build
    37 
    37 
    38 modules:
    38 modules:
    39 	$(MAKE) -C $(KERNELDIR) M=`pwd`
    39 	$(MAKE) -C $(KERNELDIR) M=`pwd`
    40 
    40 
    41 clean:
    41 clean: