mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
This was used on the hybrid Badger-Lumpy systems for one-off testing. It wouldn't necessarily work on a bare Badger board, and maintaining it resulted in frequent build breaks. Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=none TEST=build link, bds, daisy; boot link and bds Change-Id: Ib64ccad9f38d76832ab57f7254dbf32f3d5e4a5e
60 lines
1.9 KiB
Makefile
60 lines
1.9 KiB
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.
|
|
#
|
|
# Common files build
|
|
#
|
|
|
|
common-y=main.o message.o util.o console.o uart_buffering.o
|
|
common-y+=memory_commands.o shared_mem.o system_common.o hooks.o
|
|
common-y+=gpio_commands.o version.o
|
|
common-$(CONFIG_BATTERY_ATL706486)+=battery_atl706486.o
|
|
common-$(CONFIG_CHARGER_BQ24725)+=charger_bq24725.o
|
|
common-$(CONFIG_EOPTION)+=eoption.o
|
|
common-$(CONFIG_FLASH)+=flash_common.o flash_commands.o
|
|
common-$(CONFIG_LPC)+=port80.o host_event_commands.o
|
|
common-$(CONFIG_POWER_LED)+=power_led.o
|
|
common-$(CONFIG_PSTORE)+=pstore_commands.o
|
|
common-$(CONFIG_TASK_PWM)+=pwm_commands.o
|
|
common-$(CONFIG_TASK_GAIAPOWER)+=gaia_power.o
|
|
common-$(CONFIG_TASK_HOSTCMD)+=host_command.o
|
|
common-$(CONFIG_TASK_I8042CMD)+=i8042.o keyboard.o
|
|
common-$(CONFIG_TASK_LIGHTBAR)+=lightbar.o
|
|
common-$(CONFIG_TASK_POWERSTATE)+=smart_battery.o charge_state.o \
|
|
battery_precharge.o
|
|
common-$(CONFIG_TASK_TEMPSENSOR)+=temp_sensor.o
|
|
common-$(CONFIG_TASK_THERMAL)+=thermal.o thermal_commands.o
|
|
common-$(CONFIG_TASK_X86POWER)+=x86_power.o
|
|
common-$(CONFIG_TMP006)+=tmp006.o
|
|
common-$(CONFIG_USB_CHARGE)+=usb_charge.o usb_charge_commands.o
|
|
|
|
# verified boot stuff
|
|
VBOOT_SOURCE?=/usr/src/vboot
|
|
VBOOT_DEVKEYS?=/usr/share/vboot/devkeys
|
|
|
|
CFLAGS_$(CONFIG_VBOOT)+= -DCHROMEOS_ENVIRONMENT -DCHROMEOS_EC
|
|
# CFLAGS_$(CONFIG_VBOOT)+= -DVBOOT_DEBUG
|
|
|
|
common-$(CONFIG_VBOOT)+= fmap.o vboot.o vboot_stub.o
|
|
|
|
includes-$(CONFIG_VBOOT)+= \
|
|
$(VBOOT_SOURCE)/include \
|
|
$(VBOOT_SOURCE)/lib/include \
|
|
$(VBOOT_SOURCE)/lib/cryptolib/include
|
|
|
|
dirs-$(CONFIG_VBOOT)+= \
|
|
vboot/lib vboot/lib/cryptolib
|
|
|
|
vboot-$(CONFIG_VBOOT)+= \
|
|
lib/vboot_common.o \
|
|
lib/utility.o \
|
|
lib/cryptolib/padding.o \
|
|
lib/cryptolib/rsa_utility.o \
|
|
lib/cryptolib/rsa.o \
|
|
lib/cryptolib/sha_utility.o \
|
|
lib/cryptolib/sha256.o \
|
|
lib/stateful_util.o
|
|
|
|
sign-$(CONFIG_VBOOT)+=sign_image
|