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 5LOCAL_DIR := $(GET_LOCAL_DIR) 6 7MODULE := $(LOCAL_DIR) 8 9MODULE_TYPE := driver 10 11MODULE_SRCS += \ 12 $(LOCAL_DIR)/usb-peripheral.c \ 13 14MODULE_STATIC_LIBS := system/ulib/ddk \ 15 system/dev/lib/usb-request \ 16 17MODULE_LIBS := \ 18 system/ulib/driver \ 19 system/ulib/zircon \ 20 system/ulib/c \ 21 22 23# Set default configuration here, rather than relying on usbctl to do it 24MODULE_DEFINES := USB_DEVICE_VID=0x18D1 \ 25 USB_DEVICE_PID=0xA020 \ 26 USB_DEVICE_MANUFACTURER=\"Zircon\" \ 27 USB_DEVICE_PRODUCT=\"CDC-Ethernet\" \ 28 USB_DEVICE_SERIAL=\"0123456789ABCDEF\" \ 29 USB_DEVICE_FUNCTIONS=\"cdc\" 30 31include make/module.mk 32