Fix and update project.
[bertos.git] / boards / sam3x-ek / templates / sam3x-ek_empty / sam3x-ek_empty.mk
index 2f397bbc41afa2c6566c77219fd09905e0da7c8e..2d8f22110d047b1a7188dd6b1abb409077ef4f6a 100644 (file)
@@ -1,87 +1,87 @@
 #
 # Wizard autogenerated makefile.
-# DO NOT EDIT, use the empty_user.mk file instead.
+# DO NOT EDIT, use the sam3x-ek_empty_user.mk file instead.
 #
 
 # Constants automatically defined by the selected modules
-empty_DEBUG = 1
+sam3x-ek_empty_DEBUG = 1
 
 # Our target application
-TRG += empty
+TRG += sam3x-ek_empty
 
-empty_PREFIX = "arm-none-eabi-"
+sam3x-ek_empty_PREFIX = "arm-none-eabi-"
 
-empty_SUFFIX = ""
+sam3x-ek_empty_SUFFIX = ""
 
-empty_SRC_PATH = boards/sam3x-ek/templates/empty
+sam3x-ek_empty_SRC_PATH = boards/sam3x-ek/templates/sam3x-ek_empty
 
-empty_HW_PATH = boards/sam3x-ek
+sam3x-ek_empty_HW_PATH = boards/sam3x-ek
 
-# Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CSRC INSTEAD!
-empty_WIZARD_CSRC = \
+# Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_CSRC INSTEAD!
+sam3x-ek_empty_WIZARD_CSRC = \
+       bertos/cpu/cortex-m3/drv/timer_cm3.c \
        bertos/drv/lcd_hx8347.c \
+       bertos/drv/timer.c \
        bertos/mware/event.c \
-       bertos/cpu/cortex-m3/drv/timer_cm3.c \
        bertos/mware/formatwr.c \
-       bertos/drv/timer.c \
        bertos/mware/hex.c \
        #
 
-# Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_PCSRC INSTEAD!
-empty_WIZARD_PCSRC = \
+# Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_PCSRC INSTEAD!
+sam3x-ek_empty_WIZARD_PCSRC = \
         \
        #
 
-# Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CPPASRC INSTEAD!
-empty_WIZARD_CPPASRC = \
+# Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_CPPASRC INSTEAD!
+sam3x-ek_empty_WIZARD_CPPASRC = \
         \
        #
 
-# Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CXXSRC INSTEAD!
-empty_WIZARD_CXXSRC = \
+# Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_CXXSRC INSTEAD!
+sam3x-ek_empty_WIZARD_CXXSRC = \
         \
        #
 
-# Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_ASRC INSTEAD!
-empty_WIZARD_ASRC = \
+# Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_ASRC INSTEAD!
+sam3x-ek_empty_WIZARD_ASRC = \
         \
        #
 
-empty_CPPFLAGS = -D'CPU_FREQ=(84000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(empty_HW_PATH) -I$(empty_SRC_PATH) $(empty_CPU_CPPFLAGS) $(empty_USER_CPPFLAGS)
+sam3x-ek_empty_CPPFLAGS = -D'CPU_FREQ=(84000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(sam3x-ek_empty_HW_PATH) -I$(sam3x-ek_empty_SRC_PATH) $(sam3x-ek_empty_CPU_CPPFLAGS) $(sam3x-ek_empty_USER_CPPFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_LDFLAGS = $(empty_CPU_LDFLAGS) $(empty_WIZARD_LDFLAGS) $(empty_USER_LDFLAGS)
+sam3x-ek_empty_LDFLAGS = $(sam3x-ek_empty_CPU_LDFLAGS) $(sam3x-ek_empty_WIZARD_LDFLAGS) $(sam3x-ek_empty_USER_LDFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CPPAFLAGS = $(empty_CPU_CPPAFLAGS) $(empty_WIZARD_CPPAFLAGS) $(empty_USER_CPPAFLAGS)
+sam3x-ek_empty_CPPAFLAGS = $(sam3x-ek_empty_CPU_CPPAFLAGS) $(sam3x-ek_empty_WIZARD_CPPAFLAGS) $(sam3x-ek_empty_USER_CPPAFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CSRC = $(empty_CPU_CSRC) $(empty_WIZARD_CSRC) $(empty_USER_CSRC)
+sam3x-ek_empty_CSRC = $(sam3x-ek_empty_CPU_CSRC) $(sam3x-ek_empty_WIZARD_CSRC) $(sam3x-ek_empty_USER_CSRC)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_PCSRC = $(empty_CPU_PCSRC) $(empty_WIZARD_PCSRC) $(empty_USER_PCSRC)
+sam3x-ek_empty_PCSRC = $(sam3x-ek_empty_CPU_PCSRC) $(sam3x-ek_empty_WIZARD_PCSRC) $(sam3x-ek_empty_USER_PCSRC)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CPPASRC = $(empty_CPU_CPPASRC) $(empty_WIZARD_CPPASRC) $(empty_USER_CPPASRC)
+sam3x-ek_empty_CPPASRC = $(sam3x-ek_empty_CPU_CPPASRC) $(sam3x-ek_empty_WIZARD_CPPASRC) $(sam3x-ek_empty_USER_CPPASRC)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CXXSRC = $(empty_CPU_CXXSRC) $(empty_WIZARD_CXXSRC) $(empty_USER_CXXSRC)
+sam3x-ek_empty_CXXSRC = $(sam3x-ek_empty_CPU_CXXSRC) $(sam3x-ek_empty_WIZARD_CXXSRC) $(sam3x-ek_empty_USER_CXXSRC)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_ASRC = $(empty_CPU_ASRC) $(empty_WIZARD_ASRC) $(empty_USER_ASRC)
+sam3x-ek_empty_ASRC = $(sam3x-ek_empty_CPU_ASRC) $(sam3x-ek_empty_WIZARD_ASRC) $(sam3x-ek_empty_USER_ASRC)
 
 # CPU specific flags and options, defined in the CPU definition files.
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
-empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
-empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3X8__
-empty_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/clock_sam3.c 
-empty_PROGRAMMER_CPU = sam3
-empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
-empty_CPU = cortex-m3
-empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
-empty_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
-empty_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/sam3x8_rom.ld
-empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
-
-include $(empty_SRC_PATH)/empty_user.mk
+sam3x-ek_empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S
+sam3x-ek_empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
+sam3x-ek_empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3X8__
+sam3x-ek_empty_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/clock_sam3.c
+sam3x-ek_empty_PROGRAMMER_CPU = sam3
+sam3x-ek_empty_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/sam3x8_rom.ld
+sam3x-ek_empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
+sam3x-ek_empty_CPU = cortex-m3
+sam3x-ek_empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
+sam3x-ek_empty_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
+sam3x-ek_empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
+
+include $(sam3x-ek_empty_SRC_PATH)/sam3x-ek_empty_user.mk