Remove the need of a specific flag to distinguish between embedded/not embeded targets.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 5 Aug 2008 10:58:39 +0000 (10:58 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 5 Aug 2008 10:58:39 +0000 (10:58 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1544 38d2e660-2303-0410-9eaa-f027e97ec537

app/at91sam7s/at91sam7s.mk
app/demo/demo.mk
app/triface/triface.mk
bertos/rules.mk

index 3b06e9f744ffcff115dd879ee6312eda6b2dcae5..d75c396ae088945213855b36973cb495b2587cc9 100644 (file)
@@ -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
 
index b69a9a62f7cd1dcc3ef45d32e919d7836532737b..884755165f5983aa056f6c5b173460abd501b7db 100644 (file)
@@ -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
 
index 8c8d566a45fcc14054b5c2398ee8cd063afc5e44..4d9fc96304fcb1efebfabef067983657637e1dc1 100644 (file)
@@ -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
 
index ec0943ae59905af2788bc793de348bcbe6c4b593..1729fbf829511b9f133881973d646cfc031203b8 100644 (file)
@@ -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