equal
deleted
inserted
replaced
1 #------------------------------------------------------------------------------ |
1 #------------------------------------------------------------------------------ |
2 # |
|
3 # Kbuild |
|
4 # |
2 # |
5 # $Id$ |
3 # $Id$ |
6 # |
4 # |
7 # Copyright (C) 2006 Florian Pose, Ingenieurgemeinschaft IgH |
5 # Copyright (C) 2006 Florian Pose, Ingenieurgemeinschaft IgH |
8 # |
6 # |
31 # 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 |
32 # Technology, IP and trade marks. |
30 # Technology, IP and trade marks. |
33 # |
31 # |
34 #------------------------------------------------------------------------------ |
32 #------------------------------------------------------------------------------ |
35 |
33 |
|
34 include $(src)/../../config.kbuild |
|
35 |
36 MODULE := ec_msr_sample |
36 MODULE := ec_msr_sample |
37 |
37 |
38 obj-m := $(MODULE).o |
38 obj-m := $(MODULE).o |
39 |
39 |
40 $(MODULE)-objs := msr_sample.o \ |
40 $(MODULE)-objs := msr_sample.o \ |
50 rt_lib/msr-utils/msr_time.o \ |
50 rt_lib/msr-utils/msr_time.o \ |
51 rt_lib/msr-math/msr_base64.o \ |
51 rt_lib/msr-math/msr_base64.o \ |
52 rt_lib/msr-math/msr_hex_bin.o \ |
52 rt_lib/msr-math/msr_hex_bin.o \ |
53 libm.o |
53 libm.o |
54 |
54 |
55 EXTRA_CFLAGS := -I$(src)/rt_lib/msr-include -I/usr/realtime/include \ |
55 EXTRA_CFLAGS := -I$(EC_MSR_DIR)/include -I$(EC_RTAI_DIR)/include \ |
56 -D_SIMULATION -mhard-float |
56 -D_SIMULATION -mhard-float |
57 |
57 |
58 #------------------------------------------------------------------------------ |
58 #------------------------------------------------------------------------------ |