Add some modules.
[bertos.git] / wizard / mktemplates / template.mk
index e55bd89be3d09f02e9f7684c1f53e3ec24dfc6c1..acb72c0228648b2161e1d9429cc01a9021d1841e 100644 (file)
@@ -8,22 +8,23 @@
 #
 #
 
-# Set to 1 for debug builds
-$pname_DEBUG = 1
+# Constants automatically defined by the selected modules
+$constants
 
 # Our target application
 TRG += $pname
-CPU = $cpuname
-BOOT_ADDR_START = 0x1E000
 
 $pname_PREFIX = $prefix
 
 $pname_SUFFIX = $suffix
 
-$pname_MCU = $(CPU)
+$pname_CROSS = $cross
+
+$pname_MCU = $cpuname
 
 $pname_CSRC = \
        $csrc
+       $main \
        #
 
 $pname_PCSRC += $pcsrc