[OpenWrt-Devel] [PATCH v2] kernel: Fix USB gadget modules for v3.18
osk at exegin.com
Fri Feb 20 20:26:47 EST 2015
On 15-02-19 05:48 PM, Daniel Golle wrote:
> On Thu, Feb 19, 2015 at 02:41:57PM -0800, Owen Kirby wrote:
>> +ifeq ($(CONFIG_LINUX_3_8)$(CONFIG_LINUX_3_10),)
> Note that there are (unfortunately) still targets stuck on 3.3.
> I doubt that this is relevant, but as that whole legacy section
> can most likely be removed in the near future, I reckon it doesn't
> hurt to add it for now.
> Probably it makes more sense to simply add a dependency
> DEPENDS:=@!LINUX_3_3 @!LINUX_3_8 @!LINUX_3_10
> for all usb-gadget packages instead of creating an empty package
> for these kernels (unless this is intended e.g. in case of the
> driver having to be built-in or something like that)
From what I could see, the only target with the usbgadget feature enabled,
and on the 3.3 kernel is the omap24xx target, but it's also marked as broken
and it doesn't build for me.
The ifeq condition in the Makefile is just separating between the kernel
versions where the USB gadget drivers were monolithic and when they were
split into separate gadget and function modules. Even for versions 3.8
this should still build working packages, just that they only contain
or g_serial.ko modules (because that's all that should be needed).
I will follow up shortly with a third patch that fixes the whitespace
any targets still stuck on 3.3.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel