diff options
author | Amritanshu <a.pandia1@samsung.com> | 2020-10-08 11:27:32 +0530 |
---|---|---|
committer | Amritanshu <a.pandia1@samsung.com> | 2020-10-08 11:27:32 +0530 |
commit | ee676c5982a04f241ceff64544e013c2b396d0cd (patch) | |
tree | babbcf4c57d4f9aab70e3662d760c7f93cade938 | |
parent | 95274c3cdd201294c5b7f7de7c89cd26fcc4171f (diff) | |
download | recovery-app-ui-tizen_8.0.tar.gz recovery-app-ui-tizen_8.0.tar.bz2 recovery-app-ui-tizen_8.0.zip |
Modified build make filetizen_8.0_m2_releasetizen_7.0_src.m2_releasetizen_6.5_src.m2_releasetizen_6.0_src.m2_releasesubmit/tizen_6.5/20211029.123901submit/tizen_6.5/20211028.164201submit/tizen_6.0_hotfix/20201103.115104submit/tizen_6.0_hotfix/20201102.192904submit/tizen_6.0/20201029.205504submit/tizen/20201209.025754submit/tizen/20201008.092151tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizen
Change-Id: I9784039d057eabbe4d2d955a975a1f8ae03d7df7
Signed-off-by: Amritanshu <a.pandia1@samsung.com>
-rwxr-xr-x | Build/flags.mk | 59 |
1 files changed, 35 insertions, 24 deletions
diff --git a/Build/flags.mk b/Build/flags.mk index dfaffbe..0eb7e41 100755 --- a/Build/flags.mk +++ b/Build/flags.mk @@ -1,24 +1,35 @@ -
-DEBUG_OP = -g3 -D_DEBUG
-CPP_DEBUG_OP = -D_DEBUG
-
-OPTIMIZATION_OP = -O0
-CPP_OPTIMIZATION_OP =
-
-COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0
-
-CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP)
-
-LINK_FLAGS =
-
-ifeq ($(STRIP_INFO),off)
-LINK_FLAGS =
-else
-ifeq ($(STRIP_INFO),on)
-LINK_FLAGS = -s
-endif
-endif
-
-AR_FLAGS =
-
-EDC_COMPILE_FLAGS =
\ No newline at end of file +# Add tools flags defines + +ifeq ($(strip $(BUILD_CONFIG)),Debug) +OPTIMIZATION_OP := -O0 +DEBUG_OP := -g3 -D_DEBUG +CPP_OPTIMIZATION_OP := -O0 +CPP_DEBUG_OP := -g3 -D_DEBUG +LINK_OP := +else +ifeq ($(strip $(BUILD_CONFIG)),Release) +OPTIMIZATION_OP := -O3 +DEBUG_OP := +CPP_OPTIMIZATION_OP := -O3 +CPP_DEBUG_OP := +LINK_OP := -s +endif +endif + +ifeq ($(STRIP_INFO),off) +LINK_OP := +else +ifeq ($(STRIP_INFO),on) +LINK_OP := -s +endif +endif + +COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 + +CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) -Wall -c -fmessage-length=0 -std=c++11 + +LINK_FLAGS = -L"$(PROJ_PATH)/lib" -Wl,--no-undefined $(LINK_OP) + +AR_FLAGS = + +EDC_COMPILE_FLAGS = -id "$(PROJ_PATH)/edje/images" -sd "$(PROJ_PATH)/edje/sounds" -fd "$(PROJ_PATH)/edje/fonts" |