From 029b7663b9f02b88f57f5e65bceffc979d235ffc Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 8 Sep 2009 16:53:30 +0000 Subject: [PATCH 1/1] Add template flags for users. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2909 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/mktemplates/template.mk | 12 ++++++++++++ wizard/mktemplates/template_wiz.mk | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/wizard/mktemplates/template.mk b/wizard/mktemplates/template.mk index 96e6928e..99607a8a 100644 --- a/wizard/mktemplates/template.mk +++ b/wizard/mktemplates/template.mk @@ -33,5 +33,17 @@ $pname_USER_CXXSRC = \ $pname_USER_ASRC = \ # +# Flags included by the user. +$pname_USER_LDFLAGS = \ + # + +# Flags included by the user. +$pname_USER_CPPAFLAGS = \ + # + +# Flags included by the user. +$pname_CPU_CPPFLAGS = \ + # + # Include the mk file generated by the wizard include $pname/$pname_wiz.mk diff --git a/wizard/mktemplates/template_wiz.mk b/wizard/mktemplates/template_wiz.mk index f2d34621..8edc07c5 100644 --- a/wizard/mktemplates/template_wiz.mk +++ b/wizard/mktemplates/template_wiz.mk @@ -43,13 +43,13 @@ $pname_WIZARD_ASRC = \ $asrc # -$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$pname/ $($pname_CPU_CPPFLAGS) +$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$pname/ $($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) +$pname_LDFLAGS = $($pname_CPU_LDFLAGS) $($pname_WIZARD_LDFLAGS) $($pname_USER_LDFLAGS) # Automatically generated by the wizard. PLEASE DO NOT EDIT! -$pname_CPPAFLAGS = $($pname_CPU_CPPAFLAGS) $($pname_WIZARD_CPPAFLAGS) $($pname_USER_CPPAFLAGS) +$pname_CPPAFLAGS = $($pname_CPU_CPPAFLAGS) $($pname_WIZARD_CPPAFLAGS) $($pname_USER_CPPAFLAGS) # Automatically generated by the wizard. PLEASE DO NOT EDIT! $pname_CSRC = $($pname_CPU_CSRC) $($pname_WIZARD_CSRC) $($pname_USER_CSRC) -- 2.25.1