#=============================================================================== # # mldap build script # # GENERAL DESCRIPTION # build script # # Copyright (c) 2010 by QUALCOMM, Incorporated. # All Rights Reserved. # QUALCOMM Proprietary/GTDR # #------------------------------------------------------------------------------- # # $Header: $ # $DateTime: $ # $Author: $ # $Change: $ # EDIT HISTORY FOR FILE # # This section contains comments describing changes made to the module. # Notice that changes are listed in reverse chronological order. # #=============================================================================== import os Import('env') env = env.Clone() #------------------------------------------------------------------------------ # Check if we need to load this script or just bail-out #------------------------------------------------------------------------------ # alias - First alias is always the target then the other possible aliases aliases = [ 'mldap' ] env.InitImageVars( alias_list = aliases, # list of aliases, unique name index [0] proc = 'scorpion', # proc settings config = 'apps', # config settings build_tags = ['APPS_PROC', # list of build tags for sub lib scripts 'MLDAP_IMAGE' ], ) if not env.CheckAlias(): Return() #------------------------------------------------------------------------------ # Configure and load in USES and path variables #------------------------------------------------------------------------------ env.LoadToolScript('${BUILD_ROOT}/core/bsp/build/scripts/secure_app_builder.py') env.InitBuildConfig() env.Append(OUT_DIR = os.getcwd()) sconspath = env.subst('${BUILD_ROOT}/core/securemsm/trustzone/qsapps/mldap/src/SConscript') env.Replace(SRC_SCONS_ROOT = sconspath.split('SConscript')[0]) SConscript(sconspath, exports='env',) env.Deploy('SConscript')