Author: jogo Date: 2015-03-16 12:51:54 +0100 (Mon, 16 Mar 2015) New Revision: 44830
Modified: trunk/config/Config-build.in trunk/include/version.mk trunk/scripts/metadata.pl Log: 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 <[email protected]> Modified: trunk/config/Config-build.in =================================================================== --- trunk/config/Config-build.in 2015-03-16 10:58:43 UTC (rev 44829) +++ trunk/config/Config-build.in 2015-03-16 11:51:54 UTC (rev 44830) @@ -6,8 +6,12 @@ menu "Global build settings" + config ALL_KMODS + bool "Select all kernel module packages by default" + default ALL + config ALL - bool "Select all packages by default" + bool "Select all userspace packages by default" default n comment "General build options" Modified: trunk/include/version.mk =================================================================== --- trunk/include/version.mk 2015-03-16 10:58:43 UTC (rev 44829) +++ trunk/include/version.mk 2015-03-16 11:51:54 UTC (rev 44830) @@ -53,7 +53,7 @@ endef VERSION_TAINT_SPECS := \ - -ALL:no-all \ + -ALL_KMODS:no-all \ -IPV6:no-ipv6 \ +USE_GLIBC:glibc \ +USE_MKLIBS:mklibs \ Modified: trunk/scripts/metadata.pl =================================================================== --- trunk/scripts/metadata.pl 2015-03-16 10:58:43 UTC (rev 44829) +++ trunk/scripts/metadata.pl 2015-03-16 11:51:54 UTC (rev 44830) @@ -545,7 +545,11 @@ 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}) { _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
