examples/rtai/Kbuild
changeset 485 8354ddf38481
parent 450 03523dfc4dff
child 685 3e7828ef0cd8
equal deleted inserted replaced
484:9fde4a17b820 485:8354ddf38481
    29 #  standard) as the (only) precondition to have the right to use EtherCAT
    29 #  standard) as the (only) precondition to have the right to use EtherCAT
    30 #  Technology, IP and trade marks.
    30 #  Technology, IP and trade marks.
    31 #
    31 #
    32 #------------------------------------------------------------------------------
    32 #------------------------------------------------------------------------------
    33 
    33 
       
    34 include $(src)/../../config.kbuild
       
    35 
    34 obj-m := ec_rtai_sample.o
    36 obj-m := ec_rtai_sample.o
    35 
    37 
    36 ec_rtai_sample-objs := rtai_sample.o
    38 ec_rtai_sample-objs := rtai_sample.o
    37 
    39 
    38 EXTRA_CFLAGS := -I/usr/realtime/include
    40 EXTRA_CFLAGS := -I$(EC_RTAI_DIR)/include
    39 
    41 
    40 #------------------------------------------------------------------------------
    42 #------------------------------------------------------------------------------