immortalwrt/target/linux/at91
Adrian Schmutzler 152511f634 at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget
The at91 target sets

  FEATURES:=usb usbgadget ...

in the target Makefile, which sets CONFIG_USB_SUPPORT=y in the
.config file for both subtargets.

However, when building with all kmods, the build fails with the
following error message:

  ERROR: module [...]/drivers/bluetooth/btusb.ko is missing.

It appears that only a part of the bluetooth files are compiled.
The package depends @USB_SUPPORT.

This can be easily healed by adding CONFIG_USB_SUPPORT=y to the
sam9x subtarget configuration. Before the 4.14->5.4 bump, the
same was also set in the target's config-4.14 file along with
several other USB config options that are not reimplemented.

Still, it remains a mystery to me why setting the same symbol
via target kernel config creates a different result than the
feature setting the same symbol in target-metadata.pl.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-28 09:28:31 +08:00
..
base-files/etc at91: introduce vendor_model scheme and drop board names 2020-08-26 11:56:25 +08:00
files/arch/arm/boot/dts at91: switch to 4.14 (#3040) 2020-02-11 17:26:30 +08:00
image at91: introduce vendor_model scheme and drop board names 2020-08-26 11:56:25 +08:00
patches-5.4 at91: bump linux version to 5.4 2020-08-26 11:49:43 +08:00
sam9x at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget 2020-08-28 09:28:31 +08:00
sama5 at91: Refresh kernel config 2020-08-26 11:51:30 +08:00
Makefile at91: bump linux version to 5.4 2020-08-26 11:49:43 +08:00
modules.mk kernel: Build: Split kmod-regmap 2019-04-15 21:48:10 +08:00