blob: f167b0b85c58ea668b3f75dd351f06a870ac9848 [file] [log] [blame]
#
# 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.
#
# Alternatively, this software may be distributed under the terms of the
# GNU General Public License ("GPL") version 2 as published by the Free
# Software Foundation.
#
include $(TOPDIR)/config.mk
LIB = $(obj)libcros_board.o
COBJS-$(CONFIG_CHROMEOS) += power_management.o
COBJS-$(CONFIG_CHROMEOS) += utility.o
COBJS-$(CONFIG_CHROMEOS_GPIO_FLAG) += vboot_flag_gpio_arch.o
COBJS-$(CONFIG_CHROMEOS) += legacy.o
COBJS := $(COBJS-y)
OBJS := $(addprefix $(obj),$(COBJS))
$(LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
#########################################################################
# defines $(obj).depend target
include $(SRCTREE)/rules.mk
sinclude $(obj).depend
#########################################################################