mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
BUG=chrome-os-partner:7459 TEST=manual In the chroot: cd src/platform/ec make BOARD=link The firmware image (build/link/ec.bin) is signed with dev-keys. Reflash the EC and try it, and it should verify and reboot into RW A. Additional tests (setting USE_RO_NORMAL, poking random values into VBLOCK_A or FW_MAIN_A to force RW B to run, etc.) are left as an exercise for the reader. I've done them and they work, though. Change-Id: I29a23ea69aef02a11aebd4af3b043f6864723523 Signed-off-by: Bill Richardson <wfrichar@chromium.org>
18 lines
501 B
Makefile
18 lines
501 B
Makefile
# -*- makefile -*-
|
|
# Copyright (c) 2012 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.
|
|
#
|
|
# Cortex-M4 core OS files build
|
|
#
|
|
|
|
# FPU compilation flags
|
|
CFLAGS_FPU-$(CONFIG_FPU)=-mfpu=fpv4-sp-d16 -mfloat-abi=hard
|
|
|
|
# CPU specific compilation flags
|
|
CFLAGS_CPU=-mcpu=cortex-m4 -mthumb -Os -mno-sched-prolog
|
|
CFLAGS_CPU+=$(CFLAGS_FPU-y)
|
|
|
|
core-y=init.o panic.o switch.o task.o timer.o
|
|
core-$(CONFIG_FPU)+=fpu.o
|