Makefile
changeset 57 bae4965439b8
parent 54 7506e67dd122
child 58 21b7342e2a90
equal deleted inserted replaced
56:36d1fa37f5e1 57:bae4965439b8
    11 ifneq ($(KERNELRELEASE),)
    11 ifneq ($(KERNELRELEASE),)
    12 
    12 
    13 #------------------------------------------------------------------------------
    13 #------------------------------------------------------------------------------
    14 # Kbuild-Abschnitt
    14 # Kbuild-Abschnitt
    15 
    15 
    16 obj-m := master/ devices/ rt/ mini/
    16 obj-m := master/ devices/ libec/ rt/ mini/
    17 
    17 
    18 #------------------------------------------------------------------------------
    18 #------------------------------------------------------------------------------
    19 
    19 
    20 else
    20 else
    21 
    21 
    23 # Default-Abschnitt
    23 # Default-Abschnitt
    24 
    24 
    25 include ethercat.conf
    25 include ethercat.conf
    26 
    26 
    27 modules:
    27 modules:
    28 	$(MAKE) -C $(KERNELDIR) M=`pwd` modules
    28 	$(MAKE) -C $(KERNELDIR) M=`pwd`
    29 
    29 
    30 clean:
    30 clean:
    31 	$(MAKE) -C $(KERNELDIR) M=`pwd` clean
    31 	$(MAKE) -C $(KERNELDIR) M=`pwd` clean
    32 	@rm -rf */.tmp_versions
    32 	@rm -rf */.tmp_versions
    33 
    33