diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/class/Makefile b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/class/Makefile index d0ecbc1b9..0b42922a2 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/class/Makefile +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/class/Makefile @@ -1,4 +1,4 @@ -SRC_DIR := hub +SRC_DIR := hub wireless -include $(KERNEL_ROOT)/compiler.mk \ No newline at end of file +include $(KERNEL_ROOT)/compiler.mk diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/class/wireless/Makefile b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/class/wireless/Makefile new file mode 100644 index 000000000..b156211d4 --- /dev/null +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/class/wireless/Makefile @@ -0,0 +1,11 @@ +include $(KERNEL_ROOT)/services/drivers/usb/components/usb.mk + +objs = usbh_rndis.o rndis_host.o + +all: ${objs} + @echo "generate $^" + @mv $^ $(KERNEL_ROOT)/services/drivers/usb/components + +%.o: %.c + @echo "cc $^" + @${cc} ${cflags} ${c_useropts} ${INC_DIR} -o $@ -c $^