--- zzzz-none-000/linux-2.6.39.4/drivers/usb/gadget/Makefile 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/drivers/usb/gadget/Makefile 2021-11-10 13:38:17.000000000 +0000 @@ -34,7 +34,11 @@ # g_zero-y := zero.o g_audio-y := audio.o -g_ether-y := ether.o +g_ether-y := usbstring.o config.o epautoconf.o ether.o +ifeq ($(CONFIG_USB_ETH_RNDIS),y) +g_ether-y += rndis.o +endif + g_serial-y := serial.o g_midi-y := gmidi.o gadgetfs-y := inode.o