zephyr/scripts
Patrice Buriez 49a8de7ae3 build: use -O2 instead of -Os for ARC with SDK 0.9
This is intended as a temporary fix for ZEP-1882.
Investigation for this bug has shown that the current SDK 0.9 compiler
for ARC generates incorrect code under -Os optimization level.

Kuo-Lang Tseng found out that SDK 0.8.2 does not have this issue, and
that lowering optimization level to -O2 fixes the issue with SDK 0.9.
Juro Bystricky is working on an updated SDK with ARC GCC 6.3.0, but
there are still problems with it, so he also suggested to use -O2 in
the meantime.

Instead of blindly setting -O2 for all toolchains and architectures,
let Makefile.toolchain.zephyr make the decision for ARC and 0.9 only.
Tested with hello_world, CONFIG_ADC=y and BOARD=arduino_101_sss.

Jira: ZEP-1882
Change-Id: Ifde2e3950c9d93eed8982149805acfda9d13a94f
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2017-04-09 14:57:50 +00:00
..
basic scripts: Update fixdep from kernel.org 2016-10-31 20:58:57 +00:00
cross_compiler build: update xtools configurations 2016-02-05 20:25:13 -05:00
gen_idt gen_idt: show vector assignments in debug output 2017-01-19 20:16:08 +00:00
gen_offset_header license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kconfig scrips/kconfig: reduce impact of getenv() buffer overflow 2016-12-02 04:16:53 +00:00
sanity_chk sanitycheck: run legacy tests only on daily basis 2017-03-07 22:54:54 +00:00
support scripts/dfuutil: support both "alternate setting" name and number 2017-04-09 14:57:36 +00:00
.gitignore expr_parser.py: simple expression language 2016-05-04 22:57:39 +00:00
build_grub.sh grub: Tweak build_grub.sh for proxy issues 2016-08-23 13:20:52 +00:00
check_known_checkpatch_issues.sh license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
check_link_map.py scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
checkconfig.py scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
checkpatch.pl checkpatch: Recognized volatile as part of a declaration. 2017-02-22 14:56:44 +00:00
checkstack.pl
compare_footprint scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
config
devicetree.py scripts: Add device tree parser script 2017-01-30 20:51:21 +00:00
diffconfig scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
do_checkpatch.sh license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
expr_parser.py license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
extract_dts_includes.py dts/extract_dts_includes.py: Fix IRQ define name creation 2017-03-27 18:26:22 +00:00
filter-known-issues.py filter-known-issues: fix missing variable printing 2017-02-27 21:51:47 +00:00
gcc-version.sh
get_maintainer.pl scripts: Port get_maintainer.pl to Zephyr 2016-09-12 00:24:13 +00:00
headerdep.pl
Kbuild.include build: support pre-built host tools 2016-11-12 00:34:03 +00:00
maintainer-checkpatch.bash license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
make-ll license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile build: remove unused linux related code 2016-02-05 20:25:15 -05:00
Makefile.build build: support pre-built host tools 2016-11-12 00:34:03 +00:00
Makefile.clean
Makefile.extrawarn
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.lib dts: Add application overlay support. 2017-04-06 09:19:28 +00:00
Makefile.modbuiltin
Makefile.qemu license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile.toolchain.gccarmemb toolchain.gccarmemb: set DTC for building targets that use devicetrees 2017-02-14 14:15:10 +00:00
Makefile.toolchain.issm build: Improve usage of the ISSM toolchain 2016-07-21 02:48:03 +00:00
Makefile.toolchain.riscv32 scripts: added Makefile to handle an external riscv32 toolchain 2017-01-13 19:52:22 +00:00
Makefile.toolchain.xcc xcc: add ccache support 2017-02-13 11:39:02 -08:00
Makefile.toolchain.xtools build: Make QEMU_BIN_PATH optional 2016-09-12 02:35:20 +00:00
Makefile.toolchain.zephyr build: use -O2 instead of -Os for ARC with SDK 0.9 2017-04-09 14:57:50 +00:00
Makefile.xt-run xt-run: don't leave dead emulator processes lying around 2017-02-13 11:39:02 -08:00
Makefile.xtsc-run Xtensa port: xt*-run requires options to be passed before file to be ran. 2017-02-13 08:04:27 -08:00
mkmakefile
mksysmap
qemu-machine-hack.py HACK: qemu: change e_machine for IAMCU binaries 2016-03-12 02:24:46 +00:00
sanitycheck scripts: sanitycheck: Typo fixes in docstring. 2017-03-13 18:06:05 +03:00
size_report license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
spelling.txt
sysgen build: have sysgen create SPDX license identifiers 2017-01-20 02:29:41 +00:00
tags.sh
timestamp license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uncrustify.cfg scripts: add configuration file for uncrustify 2017-02-04 01:46:29 +00:00
vercomp sdk: zephyr: check for minimum required version of SDK 2016-09-15 21:17:02 +00:00
waitpid xt-run: fix sanitycheck communication 2017-02-13 08:04:27 -08:00