Fix and update the template prj.
[bertos.git] / boards / sam3n-ek / templates / sam3n-ek_empty / sam3n-ek_empty.mk
index 0b669328a1429f0b2af56aa5b463fc7b9f8638a6..bc50814c215ce88c68d831f07114a47fbdb58f12 100644 (file)
@@ -1,94 +1,95 @@
 #
 # Wizard autogenerated makefile.
-# DO NOT EDIT, use the empty_user.mk file instead.
+# DO NOT EDIT, use the sam3n-ek_empty_user.mk file instead.
 #
 
 # Constants automatically defined by the selected modules
-empty_DEBUG = 1
+sam3n-ek_empty_DEBUG = 1
 
 # Our target application
-TRG += empty
+TRG += sam3n-ek_empty
 
-empty_PREFIX = "arm-none-eabi-"
+sam3n-ek_empty_PREFIX = "/localhome/toolchain/arm/bin/arm-none-eabi-"
 
-empty_SUFFIX = ""
+sam3n-ek_empty_SUFFIX = ""
 
-empty_SRC_PATH = boards/sam3n-ek/templates/empty
+sam3n-ek_empty_SRC_PATH = boards/sam3n-ek/templates/sam3n-ek_empty
 
-empty_HW_PATH = boards/sam3n-ek
+sam3n-ek_empty_HW_PATH = boards/sam3n-ek
 
-# Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CSRC INSTEAD!
-empty_WIZARD_CSRC = \
-       bertos/mware/event.c \
-       bertos/gfx/bitmap.c \
-       bertos/gfx/text.c \
-       bertos/drv/lcd_ili9225.c \
+# Files automatically generated by the wizard. DO NOT EDIT, USE sam3n-ek_empty_USER_CSRC INSTEAD!
+sam3n-ek_empty_WIZARD_CSRC = \
        bertos/cpu/cortex-m3/drv/timer_cm3.c \
+       bertos/drv/kbd.c \
+       bertos/drv/lcd_ili9225.c \
        bertos/drv/timer.c \
-       bertos/mware/formatwr.c \
-       bertos/mware/sprintf.c \
+       bertos/fonts/luBS14.c \
+       bertos/gfx/bitmap.c \
        bertos/gfx/line.c \
+       bertos/gfx/text.c \
        bertos/gfx/text_format.c \
-       bertos/drv/kbd.c \
-       bertos/fonts/luBS14.c \
+       bertos/io/kfile.c \
+       bertos/mware/event.c \
+       bertos/mware/formatwr.c \
        bertos/mware/hex.c \
+       bertos/mware/sprintf.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 sam3n-ek_empty_USER_PCSRC INSTEAD!
+sam3n-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 sam3n-ek_empty_USER_CPPASRC INSTEAD!
+sam3n-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 sam3n-ek_empty_USER_CXXSRC INSTEAD!
+sam3n-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 sam3n-ek_empty_USER_ASRC INSTEAD!
+sam3n-ek_empty_WIZARD_ASRC = \
         \
        #
 
-empty_CPPFLAGS = -D'CPU_FREQ=(48000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(empty_HW_PATH) -I$(empty_SRC_PATH) $(empty_CPU_CPPFLAGS) $(empty_USER_CPPFLAGS)
+sam3n-ek_empty_CPPFLAGS = -D'CPU_FREQ=(48000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(sam3n-ek_empty_HW_PATH) -I$(sam3n-ek_empty_SRC_PATH) $(sam3n-ek_empty_CPU_CPPFLAGS) $(sam3n-ek_empty_USER_CPPFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_LDFLAGS = $(empty_CPU_LDFLAGS) $(empty_WIZARD_LDFLAGS) $(empty_USER_LDFLAGS)
+sam3n-ek_empty_LDFLAGS = $(sam3n-ek_empty_CPU_LDFLAGS) $(sam3n-ek_empty_WIZARD_LDFLAGS) $(sam3n-ek_empty_USER_LDFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CPPAFLAGS = $(empty_CPU_CPPAFLAGS) $(empty_WIZARD_CPPAFLAGS) $(empty_USER_CPPAFLAGS)
+sam3n-ek_empty_CPPAFLAGS = $(sam3n-ek_empty_CPU_CPPAFLAGS) $(sam3n-ek_empty_WIZARD_CPPAFLAGS) $(sam3n-ek_empty_USER_CPPAFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CSRC = $(empty_CPU_CSRC) $(empty_WIZARD_CSRC) $(empty_USER_CSRC)
+sam3n-ek_empty_CSRC = $(sam3n-ek_empty_CPU_CSRC) $(sam3n-ek_empty_WIZARD_CSRC) $(sam3n-ek_empty_USER_CSRC)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_PCSRC = $(empty_CPU_PCSRC) $(empty_WIZARD_PCSRC) $(empty_USER_PCSRC)
+sam3n-ek_empty_PCSRC = $(sam3n-ek_empty_CPU_PCSRC) $(sam3n-ek_empty_WIZARD_PCSRC) $(sam3n-ek_empty_USER_PCSRC)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CPPASRC = $(empty_CPU_CPPASRC) $(empty_WIZARD_CPPASRC) $(empty_USER_CPPASRC)
+sam3n-ek_empty_CPPASRC = $(sam3n-ek_empty_CPU_CPPASRC) $(sam3n-ek_empty_WIZARD_CPPASRC) $(sam3n-ek_empty_USER_CPPASRC)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CXXSRC = $(empty_CPU_CXXSRC) $(empty_WIZARD_CXXSRC) $(empty_USER_CXXSRC)
+sam3n-ek_empty_CXXSRC = $(sam3n-ek_empty_CPU_CXXSRC) $(sam3n-ek_empty_WIZARD_CXXSRC) $(sam3n-ek_empty_USER_CXXSRC)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_ASRC = $(empty_CPU_ASRC) $(empty_WIZARD_ASRC) $(empty_USER_ASRC)
+sam3n-ek_empty_ASRC = $(sam3n-ek_empty_CPU_ASRC) $(sam3n-ek_empty_WIZARD_ASRC) $(sam3n-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_SAM3N4__
-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 -T bertos/cpu/cortex-m3/scripts/sam3n4_rom.ld
-empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
-
-include $(empty_SRC_PATH)/empty_user.mk
+sam3n-ek_empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S
+sam3n-ek_empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
+sam3n-ek_empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3N4__
+sam3n-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
+sam3n-ek_empty_PROGRAMMER_CPU = sam3
+sam3n-ek_empty_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/sam3n4_rom.ld
+sam3n-ek_empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
+sam3n-ek_empty_CPU = cortex-m3
+sam3n-ek_empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
+sam3n-ek_empty_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
+sam3n-ek_empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
+
+include $(sam3n-ek_empty_SRC_PATH)/sam3n-ek_empty_user.mk