Makefile
changeset 54 7506e67dd122
parent 50 458e704afc6e
child 57 bae4965439b8
equal deleted inserted replaced
53:6b3b8acb71b5 54:7506e67dd122
    11 ifneq ($(KERNELRELEASE),)
    11 ifneq ($(KERNELRELEASE),)
    12 
    12 
    13 #------------------------------------------------------------------------------
    13 #------------------------------------------------------------------------------
    14 # Kbuild-Abschnitt
    14 # Kbuild-Abschnitt
    15 
    15 
    16 obj-m := drivers/ rt/ mini/
    16 obj-m := master/ devices/ rt/ mini/
    17 
    17 
    18 #------------------------------------------------------------------------------
    18 #------------------------------------------------------------------------------
    19 
    19 
    20 else
    20 else
    21 
    21 
    36 
    36 
    37 config conf $(CONFIG_FILE):
    37 config conf $(CONFIG_FILE):
    38 	@echo "# EtherCAT Konfigurationsdatei Kernel 2.6" > $(CONFIG_FILE)
    38 	@echo "# EtherCAT Konfigurationsdatei Kernel 2.6" > $(CONFIG_FILE)
    39 	@echo >> $(CONFIG_FILE)
    39 	@echo >> $(CONFIG_FILE)
    40 	@echo "KERNELDIR = /usr/src/linux" >> $(CONFIG_FILE)
    40 	@echo "KERNELDIR = /usr/src/linux" >> $(CONFIG_FILE)
    41 	@echo "RTAIDIR   =" >> $(CONFIG_FILE)
       
    42 	@echo "RTLIBDIR  =" >> $(CONFIG_FILE)
       
    43 	@echo >> $(CONFIG_FILE)
       
    44 	@echo "MAKE_RT    = yes" >> $(CONFIG_FILE)
       
    45 	@echo >> $(CONFIG_FILE)
    41 	@echo >> $(CONFIG_FILE)
    46 	@echo "$(CONFIG_FILE) erstellt."
    42 	@echo "$(CONFIG_FILE) erstellt."
    47 
    43 
    48 #----------------------------------------------------------------
    44 #----------------------------------------------------------------
    49 
    45