mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
buildroot: make it easier to build all kmods
Split out kmods from ALL to make it easier to create local builds that are compatible kmod-wise with releases. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44830 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -545,7 +545,11 @@ sub print_package_config_category($) {
|
||||
print "\t\t".($pkg->{tristate} ? 'tristate' : 'bool')." $title\n";
|
||||
print "\t\tdefault y if DEFAULT_".$pkg->{name}."\n";
|
||||
unless ($pkg->{hidden}) {
|
||||
$pkg->{default} ||= "m if ALL";
|
||||
if ($pkg->{name} =~ /^kmod-/) {
|
||||
$pkg->{default} ||= "m if ALL_KMODS";
|
||||
} else {
|
||||
$pkg->{default} ||= "m if ALL";
|
||||
}
|
||||
}
|
||||
if ($pkg->{default}) {
|
||||
foreach my $default (split /\s*,\s*/, $pkg->{default}) {
|
||||
|
||||
Reference in New Issue
Block a user