diff --git a/components/drivers/usb/usbdevice/SConscript b/components/drivers/usb/usbdevice/SConscript index 6cb9d0f5d9..afaac2e89f 100644 --- a/components/drivers/usb/usbdevice/SConscript +++ b/components/drivers/usb/usbdevice/SConscript @@ -13,6 +13,9 @@ if GetDepend('RT_USB_DEVICE_CDC'): if GetDepend('RT_USB_DEVICE_MSTORAGE'): src += Glob('class/mstorage.c') +if GetDepend('RT_USB_DEVICE_RNDIS'): + src += Glob('class/rndis.c') + CPPPATH = [cwd] group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_USB_DEVICE'], CPPPATH = CPPPATH)