I ran into a build failure:
drivers/built-in.o: In function pcd_init': odroid-battery.c:(.text+0x1e6008): undefined reference tousb_add_gadget_udc'
odroid-battery.c:(.text+0x1e6008): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_add_gadget_udc'
Makefile:831: recipe for target 'vmlinux' failed
make[2]: *** [vmlinux] Error 1
Apparently USB Gadget support needs to be enabled (compiling as a module isn't sufficient).
CONFIG_USB_GADGET=y
This would imply there is a missing dependancy, in a relevant Config.in.
Regarding: https://github.com/hardkernel/linux/tree/odroidc2-3.14.y
I ran into a build failure: drivers/built-in.o: In function
pcd_init': odroid-battery.c:(.text+0x1e6008): undefined reference to
usb_add_gadget_udc' odroid-battery.c:(.text+0x1e6008): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_add_gadget_udc' Makefile:831: recipe for target 'vmlinux' failed make[2]: *** [vmlinux] Error 1Apparently USB Gadget support needs to be enabled (compiling as a module isn't sufficient). CONFIG_USB_GADGET=y
This would imply there is a missing dependancy, in a relevant Config.in.