summaryrefslogtreecommitdiff
path: root/board/zinger/build.mk
blob: fd04fe05215d233abcde65af6c404b77a20e9a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- makefile -*-
# Copyright (c) 2014 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.
#
# Board specific files build

# the IC is STmicro STM32F031F6
CHIP:=stm32
CHIP_FAMILY:=stm32f0
CHIP_VARIANT:=stm32f03x

board-y=board.o hardware.o runtime.o usb_pd_policy.o
board-$(CONFIG_DEBUG_PRINTF)+=debug.o

# Add dependency to generate the public key coefficients header
$(out)/RO/board/$(BOARD)/board.o: $(out)/gen_pub_key.h
$(out)/RW/board/$(BOARD)/board.o: $(out)/gen_pub_key.h