First working release
[rmslog.git] / rmslog / rmslog.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the rmslog_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7 rmslog_DEBUG = 1
8
9 # Our target application
10 TRG += rmslog
11
12 rmslog_PREFIX = "/usr/bin/avr-"
13
14 rmslog_SUFFIX = ""
15
16 rmslog_SRC_PATH = rmslog
17
18 rmslog_HW_PATH = rmslog
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE rmslog_USER_CSRC INSTEAD!
21 rmslog_WIZARD_CSRC = \
22         bertos/mware/event.c \
23         bertos/io/kfile.c \
24         bertos/mware/formatwr.c \
25         bertos/cpu/avr/drv/timer_avr.c \
26         bertos/drv/timer.c \
27         bertos/kern/signal.c \
28         bertos/kern/proc.c \
29         bertos/cpu/avr/drv/ser_avr.c \
30         bertos/drv/sd.c \
31         bertos/drv/ser.c \
32         bertos/mware/hex.c \
33         bertos/fs/fat.c \
34         bertos/fs/fatfs/ff.c \
35         bertos/fs/fatfs/diskio.c \
36         bertos/io/kblock.c \
37         FAT16/fat.c \
38         FAT16/sd_raw.c \
39         FAT16/partition.c \
40         #
41
42
43 # Files automatically generated by the wizard. DO NOT EDIT, USE rmslog_USER_PCSRC INSTEAD!
44 rmslog_WIZARD_PCSRC = \
45         bertos/mware/formatwr.c \
46         #
47
48 # Files automatically generated by the wizard. DO NOT EDIT, USE rmslog_USER_CPPASRC INSTEAD!
49 rmslog_WIZARD_CPPASRC = \
50         bertos/cpu/avr/hw/switch_ctx_avr.S \
51         #
52
53 # Files automatically generated by the wizard. DO NOT EDIT, USE rmslog_USER_CXXSRC INSTEAD!
54 rmslog_WIZARD_CXXSRC = \
55          \
56         #
57
58 # Files automatically generated by the wizard. DO NOT EDIT, USE rmslog_USER_ASRC INSTEAD!
59 rmslog_WIZARD_ASRC = \
60          \
61         #
62
63 rmslog_CPPFLAGS = -D'CPU_FREQ=(16000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(rmslog_HW_PATH) -I$(rmslog_SRC_PATH) $(rmslog_CPU_CPPFLAGS) $(rmslog_USER_CPPFLAGS)
64
65 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
66 rmslog_LDFLAGS = $(rmslog_CPU_LDFLAGS) $(rmslog_WIZARD_LDFLAGS) $(rmslog_USER_LDFLAGS)
67
68 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
69 rmslog_CPPAFLAGS = $(rmslog_CPU_CPPAFLAGS) $(rmslog_WIZARD_CPPAFLAGS) $(rmslog_USER_CPPAFLAGS)
70
71 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
72 rmslog_CSRC = $(rmslog_CPU_CSRC) $(rmslog_WIZARD_CSRC) $(rmslog_USER_CSRC)
73
74 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
75 rmslog_PCSRC = $(rmslog_CPU_PCSRC) $(rmslog_WIZARD_PCSRC) $(rmslog_USER_PCSRC)
76
77 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
78 rmslog_CPPASRC = $(rmslog_CPU_CPPASRC) $(rmslog_WIZARD_CPPASRC) $(rmslog_USER_CPPASRC)
79
80 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
81 rmslog_CXXSRC = $(rmslog_CPU_CXXSRC) $(rmslog_WIZARD_CXXSRC) $(rmslog_USER_CXXSRC)
82
83 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
84 rmslog_ASRC = $(rmslog_CPU_ASRC) $(rmslog_WIZARD_ASRC) $(rmslog_USER_ASRC)
85
86 # CPU specific flags and options, defined in the CPU definition files.
87 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
88 rmslog_MCU = atmega328p
89 rmslog_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
90 rmslog_PROGRAMMER_CPU = atmega328p
91 rmslog_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
92 rmslog_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
93 rmslog_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
94 rmslog_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
95
96 include $(rmslog_SRC_PATH)/rmslog_user.mk