/* * File: elftosb.cpp * * Copyright (c) Freescale Semiconductor, Inc. All rights reserved. * See included license file for license details. */ #include "stdafx.h" #include #include #include #include #include #include "ConversionController.h" #include "options.h" #include "Version.h" #include "EncoreBootImage.h" #include "smart_ptr.h" #include "Logging.h" #include "EncoreBootImageGenerator.h" #include "SearchPath.h" #include "format_string.h" //! An array of strings. typedef std::vector string_vector_t; //! The tool's name. const char k_toolName[] = "elftosb"; //! Current version number for the tool. const char k_version[] = "2.6.1"; //! Copyright string. const char k_copyright[] = "Copyright (c) 2004-2010 Freescale Semiconductor, Inc.\nAll rights reserved."; static const char * k_optionsDefinition[] = { "?|help", "v|version", "f:chip-family ", "c:command ", "o:output ", "P:product ", "C:component ", "k:key ", "z|zero-key", "D:define ", "O:option