1# Copyright 2017 The Fuchsia Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# TODO(dje): This can either be removed (we only support arm,x86)
6# or even add arm to the filter-out list when arm supported is added.
7ifeq ($(filter-out $(ARCH),x86),)
8
9LOCAL_DIR := $(GET_LOCAL_DIR)
10
11MODULE := $(LOCAL_DIR)
12
13MODULE_TYPE := driver
14
15MODULE_SRCS := \
16    $(LOCAL_DIR)/cpu-trace.c
17
18ifeq ($(ARCH),x86)
19MODULE_SRCS += \
20    $(LOCAL_DIR)/intel-pm.c \
21    $(LOCAL_DIR)/intel-pt.c
22endif
23
24MODULE_STATIC_LIBS := system/ulib/ddk system/ulib/zircon-internal
25
26MODULE_LIBS := system/ulib/driver system/ulib/zircon system/ulib/c
27
28include make/module.mk
29
30endif
31