?? config.bld
字號:
/* * ======== config.bld ======== * This script is run prior to all build scripts. It sets host-system- * independent values for targets and platforms, then it attempts to * find the host-system-specific user.bld script that sets rootDirs. * * These settings may be a function of the following global variables: * * environment a hash table of environment strings * * arguments an array of string arguments to the config.bld script * initialized as follows: * arguments[0] - the file name of the config.bld script * arguments[1] - the first argument specified in XDCARGS * : * arguments[n] - the n'th argument in XDCARGS * * Build an alias for xdc.om.xdc.bld.BuildEnvironment *//* * ======== Arm target, but builds with "_MVArm9.o extension" ======== * [dm]TODO:H double-check all these options! Decide what to add or remove. */var MVArm9_o = xdc.useModule('gnu.targets.MVArm9');MVArm9_o.ccOpts.prefix += " " // options that check quality/strictness of code + "-Wall " // supress some warnings caused by .xdc.h files + "-fno-strict-aliasing " ;MVArm9_o.platform = "ti.platforms.evmDM6446";/* remove reference to C++ from opts */MVArm9_o.lnkOpts.suffix = "";/* set the "_MVArm9.o" extension */MVArm9_o.execExt = "_470MV.o";/* * ======== Pkg.attrs.profile ======== */Pkg.attrs.profile = "release";/* * ======== Pkg.libTemplate ======== * Set default library version template to be used by all packages */Pkg.libTemplate = null;/* * ======== Tool Location ========= *//* location of your Montavista Arm9 tools */MVArm9_o.rootDir = java.lang.System.getenv("MONTAVISTA_DEVKIT") + "/arm/v5t_le/armv5tl-montavista-linuxeabi";/* * ======== Build.targets ======== * list of targets (ISAs + compilers) to build for */Build.targets = [ MVArm9_o,];
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -