forked from xuos/xiuos
Generate the usb_driver_service program.
This commit is contained in:
parent
398c2590c7
commit
5168e88911
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
SRC_DIR := fs shell lib boards drivers semaphore drivers tools net app
|
SRC_DIR := fs shell lib boards semaphore drivers tools net app
|
||||||
|
|
||||||
|
|
||||||
include $(KERNEL_ROOT)/compiler.mk
|
include $(KERNEL_ROOT)/compiler.mk
|
||||||
|
|
|
@ -3,8 +3,28 @@ include $(KERNEL_ROOT)/services/drivers/usb/components/usb.mk
|
||||||
objs = usb_host.o
|
objs = usb_host.o
|
||||||
objs += $(KERNEL_ROOT)/services/net/libnet/lwip_rndis_service.o
|
objs += $(KERNEL_ROOT)/services/net/libnet/lwip_rndis_service.o
|
||||||
|
|
||||||
all: ${objs}
|
libserial = $(KERNEL_ROOT)/services/app/libserial.o
|
||||||
|
printf = $(KERNEL_ROOT)/services/app/printf.o
|
||||||
|
libmem = $(KERNEL_ROOT)/services/app/libmem.o
|
||||||
|
usyscall = $(KERNEL_ROOT)/services/app/usyscall.o
|
||||||
|
arch_usyscall = $(KERNEL_ROOT)/services/app/arch_usyscall.o
|
||||||
|
session = $(KERNEL_ROOT)/services/app/session.o
|
||||||
|
libipc = $(KERNEL_ROOT)/services/app/libipc.o
|
||||||
|
libsem = $(KERNEL_ROOT)/services/app/libsemaphore.o
|
||||||
|
|
||||||
|
usb_components = $(KERNEL_ROOT)/services/drivers/usb/components/rndis_host.o \
|
||||||
|
$(KERNEL_ROOT)/services/drivers/usb/components/usb_hc_xhci.o \
|
||||||
|
$(KERNEL_ROOT)/services/drivers/usb/components/usb_mem.o \
|
||||||
|
$(KERNEL_ROOT)/services/drivers/usb/components/usb_osal.o \
|
||||||
|
$(KERNEL_ROOT)/services/drivers/usb/components/usbh_core.o \
|
||||||
|
$(KERNEL_ROOT)/services/drivers/usb/components/usbh_hub.o \
|
||||||
|
$(KERNEL_ROOT)/services/drivers/usb/components/usbh_rndis.o \
|
||||||
|
$(KERNEL_ROOT)/services/drivers/usb/components/xhci.o
|
||||||
|
|
||||||
|
usb_driver_service: ${objs}
|
||||||
@echo "generate $^"
|
@echo "generate $^"
|
||||||
|
@${ld} ${user_ldflags} -e main -o $@ $^ ${usb_components} ${libserial} ${printf} ${libmem} ${usyscall} ${arch_usyscall} ${session} ${libipc} ${libsem} ${board_specs}
|
||||||
|
@${objdump} -S $@ > $@.asm
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@echo "cc $^"
|
@echo "cc $^"
|
||||||
|
|
Loading…
Reference in New Issue