generate-config.pl: Be more verbose about missing options

For instance, the current 3.10 kernel build fails at the end with:

unused option: BRCMFMAC_PCIE
unused option: FW_LOADER_USER_HELPER_FALLBACK
unused option: KEXEC_FILE
unused option: RANDOMIZE_BASE

However, it's not obvious that only the _last_ one is actually fatal to
the build. After this change it's at least somewhat better:

warning: unused option: BRCMFMAC_PCIE
warning: unused option: FW_LOADER_USER_HELPER_FALLBACK
warning: unused option: KEXEC_FILE
error: unused option: RANDOMIZE_BASE

+1 -1
+1 -1
pkgs/os-specific/linux/kernel/generate-config.pl
··· 134 134 135 135 foreach my $name (sort (keys %answers)) { 136 136 my $f = $requiredAnswers{$name} && $ENV{'ignoreConfigErrors'} ne "1" 137 - ? sub { die @_; } : sub { warn @_; }; 137 + ? sub { die "error: " . $_[0]; } : sub { warn "warning: " . $_[0]; }; 138 138 &$f("unused option: $name\n") unless defined $config{$name}; 139 139 &$f("option not set correctly: $name\n") 140 140 if $config{$name} && $config{$name} ne $answers{$name};