fifobuf: introduce DECLARE_FIFO() macro
[bertos.git] / wizard / mktemplates / template.mk
index ca87743f103fd1f70c5f70fe97126c18f86bcd2a..ef9d934d2d438fe3aa6acf8287d375230aa75eab 100644 (file)
@@ -1,11 +1,6 @@
 #
-# Copyright 2009 Develer S.r.l. (http://www.develer.com/)
-# All rights reserved.
-#
-# Makefile template for BeRTOS wizard.
-#
-# Author: Lorenzo Berni <duplo@develer.com>
-#
+# Wizard autogenerated makefile.
+# DO NOT EDIT, use the $pname_user.mk file instead.
 #
 
 # Constants automatically defined by the selected modules
@@ -18,6 +13,10 @@ $pname_PREFIX = "$prefix"
 
 $pname_SUFFIX = "$suffix"
 
+$pname_SRC_PATH = $ppath
+
+$pname_HW_PATH = $hwpath
+
 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CSRC INSTEAD!
 $pname_WIZARD_CSRC = \
        $csrc
@@ -43,7 +42,7 @@ $pname_WIZARD_ASRC = \
        $asrc
        #
 
-$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$pname/ $($pname_CPU_CPPFLAGS) $($pname_USER_CPPFLAGS)
+$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$($pname_HW_PATH) -I$($pname_SRC_PATH) $($pname_CPU_CPPFLAGS) $($pname_USER_CPPFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
 $pname_LDFLAGS = $($pname_CPU_LDFLAGS) $($pname_WIZARD_LDFLAGS) $($pname_USER_LDFLAGS)
@@ -70,4 +69,4 @@ $pname_ASRC = $($pname_CPU_ASRC) $($pname_WIZARD_ASRC) $($pname_USER_ASRC)
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
 $cpuparameters
 
-include $ppath/$pname_user.mk
+include $($pname_SRC_PATH)/$pname_user.mk