mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
You can now enable/disable tasks more easily. To conditionally compile a C file depending on the task FOO activation, just write something like that in the build.mk file : common-$(CONFIG_TASK_FOO)+=foo_source.o Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=None TEST=make all BOARD=link && make qemu-tests Change-Id: I760fb248e1599d13190ccd937a68ef47da17b510
14 lines
505 B
Makefile
14 lines
505 B
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 util.o console.o vboot.o pwm_commands.o
|
|
common-y+=flash_commands.o port80.o
|
|
common-y+=memory_commands.o shared_mem.o temp_sensor_commands.o usb_charge.o
|
|
common-$(CONFIG_TASK_HOSTCMD)+=host_command.o
|
|
common-$(CONFIG_TASK_I8042CMD)+=i8042.o keyboard.o
|
|
common-$(CONFIG_TASK_X86POWER)+=x86_power.o
|