From d1ed94328d98da9108d5d26272b5767c1813817d Mon Sep 17 00:00:00 2001 From: batt Date: Tue, 5 Aug 2008 10:58:39 +0000 Subject: [PATCH] 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 --- app/at91sam7s/at91sam7s.mk | 3 --- app/demo/demo.mk | 3 --- app/triface/triface.mk | 5 ----- bertos/rules.mk | 2 +- 4 files changed, 1 insertion(+), 12 deletions(-) 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 -- 2.25.1