Commit Graph

14 Commits (fd5c16870169bb76dd3d3bcfbcc6a112f74aeefe)

Author SHA1 Message Date
Hauke Mehrtens fd5c168701 kernel: Build: Split kmod-regmap
This reduces the needed modifications to the mainline Linux kernel and
also makes the regmap package work with an out of tree kernel which
does not have these modifications.

The regmap-core is only added when it is really build as a module.
The regmap-core is normally bool so it cannot be built as a module in an
unmodified kernel. When it is selected by on other kernel module it will
always be selected as build in and it also does not show up in
$(LINUX_DIR)/modules.builtin as it is not supposed to be a kernel module.
When it is not in $(LINUX_DIR)/modules.builtin the build system expects
it to be built as a .ko file.
Just check if the module is really there and only add it in that case.

This splits the regmap package into multiple packages, one for each bus type.
This way only the bus maps which are really needed have to be added.
This also splits the I2C, SPI and MMIO regmap into separate packages to not
require all these subsystems to build them, on an unmodified upstream kernel
this also causes problems in some situations.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
5 years ago
Felix Fietkau 827672162a kernel: wpan: mrf24j40 depends on regmap-spi
kmod-mrf24j40 select REGMAP_SPI since 4.3, thus add dependency to
kmod-regmap.

Found by buildbot:
Package kmod-mrf24j40 is missing dependencies for the following libraries:
regmap-spi.ko

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 48484
8 years ago
Jonas Gorski 4454a3fb63 package: kernel: update dependencies for 4.4
Update dependencies for linux 4.4 and mark as broken where source code
needs updating.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47700
9 years ago
Hauke Mehrtens 59671b844a kernel: fix dependecy of kmod-ieee802154_6lowpan
This module also depends on kmod-ieee802154

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46407
9 years ago
Jonas Gorski 30f9eb4cef kernel: wpan: at86rf230 depends on regmap-spi
kmod-at86rf230 select REGMAP_SPI since 3.17, so add a dependency to
kmod-regmap.

Fixes the following error:

Package kmod-at86rf230 is missing dependencies for the following libraries:
regmap-core.ko
regmap-spi.ko

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46387
9 years ago
Hauke Mehrtens f60082f548 kernel: modules: activate wpan on kernel 4.1
Make wpan depend on not kernel 3.18 so it will get activated on all
other kernel versions like 4.0 and 4.1.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46276
9 years ago
John Crispin 81a7f0382f kernel: move wpan to separate menu
bluetooth is separate from 802.11 entries too

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46242
9 years ago
John Crispin 6bb20ea6d6 wpan: remove duplicate DEPENDS
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 45532
9 years ago
John Crispin 87ef12fad3 wpan: rework bluetooth / wpan and 6lowpan dependencies
- remove/rename of 6lowpan-iphc
upstream change in 3.17: 6lowpan: introduce new net/6lowpan directory
id: 2c6bed7cfcd3f594ed9e4d6919fa2ebea2243d19

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 45529
9 years ago
Luka Perkov 33b93243ec wpan: remove duplicate DEPENDS
Signed-off-by: Varka Bhadram <varkab@cdac.in>

SVN-Revision: 45409
9 years ago
John Crispin e4bf2d73f6 modules: more wpan fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45365
9 years ago
John Crispin e20e49273b modules: add missing wpan fakehard driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45364
9 years ago
Jonas Gorski edaf5c31da kernel: fix kmod-ieee802154_6lowpan config symbol
Fixes build failure caught by buildbot:

IEEE Std 802.15.4 Low-Rate Wireless Personal Area Networks support (IEEE802154) [M/n/y/?] m
  6lowpan support over IEEE 802.15.4 (IEEE802154_6LOWPAN) [N/m/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[6]: *** [silentoldconfig] Error 1
make[5]: *** [silentoldconfig] Error 2

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45357
9 years ago
John Crispin 5471e15bdb kernel: adds wpan related packages
This patch adds the IEEE-802.15.4 and 6LoWPAN related
packages.

Signed-off-by: Varka Bhadram <varkab@cdac.in>

SVN-Revision: 45348
9 years ago