rt/Makefile
changeset 50 458e704afc6e
parent 46 f2d7a73d2f32
child 56 36d1fa37f5e1
equal deleted inserted replaced
49:3f8e769ca747 50:458e704afc6e
    35 else
    35 else
    36 
    36 
    37 #------------------------------------------------------------------------------
    37 #------------------------------------------------------------------------------
    38 # Default-Abschnitt
    38 # Default-Abschnitt
    39 
    39 
    40 default:
    40 ifneq ($(wildcard ethercat.conf),)
    41 	$(MAKE) -C ..
    41 include ethercat.conf
       
    42 else
       
    43 KERNELDIR = /lib/modules/`uname -r`/build
       
    44 endif
       
    45 
       
    46 modules:
       
    47 	$(MAKE) -C $(KERNELDIR) M=`pwd` modules
    42 
    48 
    43 clean:
    49 clean:
    44 	$(MAKE) -C .. clean
    50 	$(MAKE) -C $(KERNELDIR) M=`pwd` clean
    45 
    51 
    46 #------------------------------------------------------------------------------
    52 #------------------------------------------------------------------------------
    47 
    53 
    48 endif
    54 endif