kernel: avoid underscore in *6lowpan package names
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Tue, 18 Feb 2020 20:47:20 +0000 (17:47 -0300)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 19 Feb 2020 21:07:40 +0000 (22:07 +0100)
commit07e1d88d7beb43a4152460b82976dbe49919b264
tree3a92b0eb71751c1694f62f46c05ddddd5a1a0a89
parent731f7ea48a8a1f62de1a63e52b2ed8e245f12ac3
kernel: avoid underscore in *6lowpan package names

Packages kmod-bluetooth_6lowpan and kmod-ieee802154_6lowpan contain an
underscore in the package name.  This causes problems in package/install
because when building a list of package files to install offline using
opkg, it uses a wildcard of the form $(dir)/$(pkg)_*.ipk.

If you were to select kmod-bluetooth=y, but kmod-bluetooth_6lowpan=m,
the latter would be picked up by that wildcard, and make package/install
would fail:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies
 * for kmod-bluetooth_6lowpan:
 *      kmod-6lowpan
 * opkg_install_cmd: Cannot install package kmod-bluetooth_6lowpan.

Changing the wildcard pattern is not trivial, and there may be other
places in the build system making this assumption about the package name
format.

Using a dash in place of the underscore avoids the issue.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
package/kernel/linux/modules/other.mk
package/kernel/linux/modules/wpan.mk