From: batt Date: Tue, 5 Aug 2008 10:58:39 +0000 (+0000) Subject: Remove the need of a specific flag to distinguish between embedded/not embeded targets. X-Git-Tag: 2.0.0~390 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=d1ed94328d98da9108d5d26272b5767c1813817d;hp=e3180b9c694d1458b9784ac6504764799421354c;p=bertos.git Remove the need of a specific flag to distinguish between embedded/not embeded targets. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1544 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/app/at91sam7s/at91sam7s.mk b/app/at91sam7s/at91sam7s.mk index 3b06e9f7..d75c396a 100644 --- a/app/at91sam7s/at91sam7s.mk +++ b/app/at91sam7s/at91sam7s.mk @@ -12,9 +12,6 @@ # Set to 1 for debug builds at91sam7s_DEBUG = 1 -#This is an embedded project -at91sam7s_EMBEDDED_TGT = 1 - # Our target application TRG += at91sam7s diff --git a/app/demo/demo.mk b/app/demo/demo.mk index b69a9a62..88475516 100644 --- a/app/demo/demo.mk +++ b/app/demo/demo.mk @@ -11,9 +11,6 @@ include bertos/fonts/fonts.mk include bertos/emul/emul.mk -#Demo application is hosted -demo_EMBEDDED_TGT = 0 - # Set to 1 for debug builds demo_DEBUG = 1 diff --git a/app/triface/triface.mk b/app/triface/triface.mk index 8c8d566a..4d9fc963 100644 --- a/app/triface/triface.mk +++ b/app/triface/triface.mk @@ -9,9 +9,6 @@ # # -# This is an embedded project -triface_EMBEDDED_TGT = 1 - # Set to 1 for debug builds triface_DEBUG = 1 @@ -56,8 +53,6 @@ ifeq ($(triface_DEBUG),1) triface_PCSRC += bertos/drv/kdebug.c endif - -boot_EMBEDDED_TGT = 1 # Set to 1 for debug builds boot_DEBUG = 0 diff --git a/bertos/rules.mk b/bertos/rules.mk index ec0943ae..1729fbf8 100644 --- a/bertos/rules.mk +++ b/bertos/rules.mk @@ -67,7 +67,7 @@ check: define build_target -ifeq ($$($(1)_EMBEDDED_TGT),1) +ifneq ($$($(1)_CROSS),) #use embedded specific map flags $(1)_MAP_FLAGS = $$(MAP_FLAGS_EMB) #In embedded we need s19, hex and bin