X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f77b88d124ea1c900f9cf5e04046939aad48bbe1..56574ceb396a26315114e5ddb37cbc41f79b3030:/scripts/gen_busybox_config.pl diff --git a/scripts/gen_busybox_config.pl b/scripts/gen_busybox_config.pl index 1a84ab999..9360052d2 100755 --- a/scripts/gen_busybox_config.pl +++ b/scripts/gen_busybox_config.pl @@ -1,4 +1,11 @@ #!/usr/bin/perl +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + use strict; my $line; @@ -6,11 +13,11 @@ my $l1 = ''; my $l2 = '=y'; while (<>) { chomp; - /^(# )BR2_LARGEFILE(.+)$/ and do { + /^(# )CONFIG_LARGEFILE(.+)$/ and do { $l1 = $1; $l2 = $2; }; - /^(# )?BUSYBOX_(.+)/ and do { + /^(# )?CONFIG_BUSYBOX_(.+)/ and do { my $p1 = $1; my $p2 = $2; $p2 =~ /(CONFIG_LFS|FDISK_SUPPORT_LARGE_DISKS)/ and do {