forked from yystopf/xiuos
add DWC3 codes
This commit is contained in:
parent
2d3b8d0b95
commit
636d643a4b
|
@ -11,7 +11,7 @@
|
|||
# libipc = $(KERNEL_ROOT)/services/app/libipc.o
|
||||
# libsem = $(KERNEL_ROOT)/services/app/libsemaphore.o
|
||||
|
||||
SRC_DIR := class core mem osal port dev
|
||||
SRC_DIR := class core mem osal port dev usb_phy
|
||||
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
|
|
|
@ -45,6 +45,7 @@ INC_DIR = -I$(KERNEL_ROOT)/services/drivers/usb/ \
|
|||
-I$(KERNEL_ROOT)/services/drivers/usb/components/port \
|
||||
-I$(KERNEL_ROOT)/services/drivers/usb/components/port/dwc3 \
|
||||
-I$(KERNEL_ROOT)/services/drivers/usb/components/port/xhci \
|
||||
-I$(KERNEL_ROOT)/services/drivers/usb/components/usb_phy \
|
||||
-I$(KERNEL_ROOT)/services/drivers/usb/usb_service \
|
||||
-I$(KERNEL_ROOT)/services//semaphore \
|
||||
-I$(KERNEL_ROOT)/services/lib/ipc \
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
include $(KERNEL_ROOT)/services/drivers/usb/components/usb.mk
|
||||
|
||||
objs += usb_phy.o
|
||||
|
||||
all: ${objs}
|
||||
@echo "generate $^"
|
||||
@mv $^ $(KERNEL_ROOT)/services/drivers/usb/components
|
||||
|
||||
%.o: %.c
|
||||
@echo "cc $^"
|
||||
@${cc} ${cflags} ${c_useropts} ${INC_DIR} -o $@ -c $^
|
|
@ -0,0 +1 @@
|
|||
#include "usb_phy.h"
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef USB_PHY_H_
|
||||
#define USB_PHY_H_
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue