mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 00:21:46 +00:00
With this change, we can pass "make buildall" at local
after it83xx based boards were removed from skip_boards.
BRANCH=none
BUG=none
TEST=- Passed "make buildall -j"
- CROSS_COMPILE_nds32=nds32le-cros-elf- make BOARD=it83xx_evb -j,
build ec image by using nds32le-cros-elf toolchain.
- make BOARD=it83xx_evb -j, coreboot-sdk is used.
Change-Id: I689b67ed50ac5c80e7526f157ba28733d7216e14
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/762807
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
20 lines
641 B
Makefile
20 lines
641 B
Makefile
# -*- makefile -*-
|
|
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#
|
|
# Andestar v3m architecture core OS files build
|
|
#
|
|
|
|
# Set coreboot-sdk as the default toolchain for nds32
|
|
NDS32_DEFAULT_COMPILE=/opt/coreboot-sdk/bin/nds32le-elf-
|
|
|
|
# Select Andes bare-metal toolchain
|
|
$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_nds32),$(NDS32_DEFAULT_COMPILE))
|
|
|
|
# CPU specific compilation flags
|
|
CFLAGS_CPU+=-march=v3m -Os
|
|
|
|
core-y=cpu.o init.o panic.o task.o switch.o __muldi3.o math.o __builtin.o
|
|
core-$(CONFIG_FPU)+=__libsoftfpu.o
|