Commit Graph

7 Commits

Author SHA1 Message Date
Thomas De Schampheleire
35eaed8d07 Config.in files: use if/endif instead of 'depends on' for main symbol
In the Config.in file of package foo, it often happens that there are other
symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense
when foo itself is enabled. There are two ways to express this: with
    depends on BR2_PACKAGE_FOO
in each extra symbol, or with
    if BR2_PACKAGE_FOO
        ...
    endif
around the entire set of extra symbols.

The if/endif approach avoids the repetition of 'depends on' statements on
multiple symbols, so this is clearly preferred. But even when there is only
one extra symbol, if/endif is a more logical choice:
- it is future-proof for when extra symbols are added
- it allows to have just one strategy instead of two (less confusion)

This patch modifies the Config.in files accordingly.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-12-25 12:21:39 +01:00
Thomas Petazzoni
b7c0041c31 kmod: does not support static builds
Since kmod 14, the support for building a static library has been
removed completely from kmod. Therefore, we mark kmod as
!BR2_PREFER_STATIC_LIB, as well as all its reverse dependencies, which
includes the option to use the "udev" /dev management method.

[Peter: show comment for udev when BR2_PREFER_STATIC_LIB is enabled]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-02 23:22:14 +02:00
Peter Korsgaard
93216b6419 kmod: _TOOLS option should only be visible if kmod is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-06-20 22:45:10 +02:00
Peter Korsgaard
5347910b9d kmod: only show tools option if BUSYBOX_SHOW_OTHERS
As pointed out by Arnout.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-22 22:47:59 +01:00
Peter Korsgaard
78f5ac2908 kmod: add option to install module utilities
And ensure optional zlib+xz dependencies gets picked up.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-22 16:03:12 +01:00
Peter Korsgaard
d0c4b02664 kmod: adjust upstream URL
kmod still doesn't have a real website, but git tree moved to
kernel.org, so update help to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-22 15:33:43 +01:00
Yegor Yefremov
cb749b5126 New package: kmod
[Peter: needs host-pkg-config]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-16 16:15:42 +01:00