mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
With these changes $ CROSS_COMPILE_nds32=/opt/coreboot-sdk/bin/nds32le-elf- \ make BOARD=it83xx_evb works for me. The -mno-gp-direct option is replaced with -mcmodel=large in new compilers, as indicated in private email with Andes Tech. It was also used as a work-around and leaving out the option altogether reduces the code size significantly, so it's now dropped. BRANCH=none BUG=b:35572628 TEST=the above command creates an image Change-Id: Ib580d65e6e52f291fdb920b7b65fb22cfda9f736 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/753623 Commit-Ready: Stefan Reinauer <reinauer@google.com> Tested-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@chromium.org>