Makefile
changeset 195 674071846ee3
parent 180 786d4cba38fb
child 197 b9a6e2c22745
equal deleted inserted replaced
194:c21e7c12dd50 195:674071846ee3
     7 #------------------------------------------------------------------------------
     7 #------------------------------------------------------------------------------
     8 
     8 
     9 ifneq ($(KERNELRELEASE),)
     9 ifneq ($(KERNELRELEASE),)
    10 
    10 
    11 #------------------------------------------------------------------------------
    11 #------------------------------------------------------------------------------
    12 # kbuild section
    12 #  kbuild section
    13 
    13 
    14 obj-m := master/ devices/
    14 obj-m := master/ devices/
    15 
    15 
    16 #------------------------------------------------------------------------------
    16 #------------------------------------------------------------------------------
    17 
    17 
    18 else
    18 else
    19 
    19 
    20 #------------------------------------------------------------------------------
    20 #------------------------------------------------------------------------------
    21 # default section
    21 #  default section
    22 
    22 
    23 ifneq ($(wildcard ethercat.conf),)
    23 ifneq ($(wildcard ethercat.conf),)
    24 include ethercat.conf
    24 include ethercat.conf
    25 else
    25 else
    26 KERNEL := `uname -r`
    26 KERNEL := `uname -r`