yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [diff] [blame^] | 1 | Upper = $(subst z,Z,$(subst y,Y,$(subst x,X,$(subst w,W,$(subst v,V,$(subst u,U,$(subst t,T,$(subst s,S,$(subst r,R,$(subst q,Q,$(subst p,P,$(subst o,O,$(subst n,N,$(subst m,M,$(subst l,L,$(subst k,K,$(subst j,J,$(subst i,I,$(subst h,H,$(subst g,G,$(subst f,F,$(subst e,E,$(subst d,D,$(subst c,C,$(subst b,B,$(subst a,A,$(1))))))))))))))))))))))))))) |
| 2 | |
| 3 | # ************************************************************************* |
| 4 | # Feature Removing / Can't be enabled in custom projects. |
| 5 | # ************************************************************************* |
| 6 | |
| 7 | # ************************************************************************* |
| 8 | # Feature Removing / non-MP |
| 9 | # ************************************************************************* |
| 10 | |
| 11 | # ************************************************************************* |
| 12 | # Feature Dependency |
| 13 | # ************************************************************************* |
| 14 | |
| 15 | ifeq ($(strip $(PRODUCTION_RELEASE)),TRUE) |
| 16 | ifdef CUSTOM_CFLAGS |
| 17 | ifneq ($(strip $(CUSTOM_CFLAGS)),) |
| 18 | $(warning ERROR: Customer projects can not define CUSTOM_CFLAGS such as --debug --no_debug_macros.) |
| 19 | DEPENDENCY_CONFLICT = TRUE |
| 20 | endif |
| 21 | endif |
| 22 | endif |
| 23 | |
| 24 | ifeq ($(strip $(PRODUCTION_RELEASE)),TRUE) |
| 25 | ifneq ($(filter REL_CR_%,$(strip $(RELEASE_PACKAGE))),) |
| 26 | ifdef SCC_SIB_SUPPORT |
| 27 | ifeq ($(strip $(SCC_SIB_SUPPORT)),TRUE) |
| 28 | $(warning ERROR: SCC_SIB_SUPPORT cannot be enabled in customer projects.) |
| 29 | DEPENDENCY_CONFLICT = TRUE |
| 30 | endif |
| 31 | endif |
| 32 | endif |
| 33 | endif |
| 34 | |
| 35 | ifeq ($(strip $(PRODUCTION_RELEASE)),TRUE) |
| 36 | ifneq ($(filter REL_CR_%,$(strip $(RELEASE_PACKAGE))),) |
| 37 | ifdef FCS_SUPPORT |
| 38 | ifeq ($(strip $(FCS_SUPPORT)),TRUE) |
| 39 | $(warning ERROR: Customer projects can not define FCS_SUPPORT. Internal use only!) |
| 40 | DEPENDENCY_CONFLICT = TRUE |
| 41 | endif |
| 42 | endif |
| 43 | endif |
| 44 | endif |
| 45 | |
| 46 | ifeq ($(filter REL_CR_%,$(strip $(RELEASE_PACKAGE))),) |
| 47 | ifeq ($(filter __MTK_INTERNAL_ENG_USER__,$(COM_DEFS)),) |
| 48 | $(warning ERROR: __MTK_INTERNAL_ENG_USER__ should be enabled in MTK_INTERNAL(eng/user) projects.) |
| 49 | DEPENDENCY_CONFLICT = TRUE |
| 50 | endif |
| 51 | else #neq REL_CR_xxx |
| 52 | ifneq ($(filter __MTK_INTERNAL_ENG_USER__,$(COM_DEFS)),) |
| 53 | $(warning ERROR: __MTK_INTERNAL_ENG_USER__ cannot be enabled in customer projects.) |
| 54 | DEPENDENCY_CONFLICT = TRUE |
| 55 | endif |
| 56 | endif |