blob: 0e94d99e31d741adfe83f2a6dc8d888ca35c5f34 [file] [log] [blame]
# Copyright 2016 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
MODULE_TYPE := userlib
MODULE_SRCS += \
$(LOCAL_DIR)/io-buffer.c \
$(LOCAL_DIR)/iotxn.c \
$(LOCAL_DIR)/phys-iter.c \
$(LOCAL_DIR)/usb-request.c \
MODULE_STATIC_LIBS := system/ulib/pretty system/ulib/sync
MODULE_EXPORT := a
include make/module.mk
#
# ddk-test
#
MODULE := $(LOCAL_DIR).ddk-test
MODULE_NAME := ddk-test
MODULE_TYPE := drivertest
TEST_DIR := $(LOCAL_DIR)/test
MODULE_SRCS := \
$(TEST_DIR)/ddk-test.c \
$(TEST_DIR)/ddk-test-binding.c \
$(TEST_DIR)/iotxn-test.c \
$(TEST_DIR)/usb-request-test.c \
MODULE_STATIC_LIBS := system/ulib/ddk system/ulib/sync
MODULE_LIBS := \
system/ulib/unittest \
system/ulib/fdio \
system/ulib/driver \
system/ulib/zircon \
system/ulib/c
include make/module.mk