examples/mini/Makefile
branchstable-1.0
changeset 1620 9d7453c16ade
parent 1619 0d4119024f55
child 1621 4bbe090553f7
equal deleted inserted replaced
1619:0d4119024f55 1620:9d7453c16ade
    51 
    51 
    52 #----------------------------------------------------------------
    52 #----------------------------------------------------------------
    53 #  default section
    53 #  default section
    54 #----------------------------------------------------------------
    54 #----------------------------------------------------------------
    55 
    55 
    56 ifneq ($(wildcard ethercat.conf),)
    56 ifneq ($(wildcard kernel.conf),)
    57 include ethercat.conf
    57 include kernel.conf
    58 else
    58 else
    59 KERNELDIR = /usr/src/linux
    59 KERNELDIR = /lib/modules/`uname -r`/build
    60 endif
    60 endif
    61 
    61 
    62 modules:
    62 modules:
    63 	$(MAKE) -C $(KERNELDIR) M=`pwd`
    63 	$(MAKE) -C $(KERNELDIR) M=`pwd`
    64 
    64