X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=scripts%2Fgen_busybox_config.pl;h=9360052d293a30ad40564464930e2ffc419b4301;hb=3caab973533fa2775fa5dca7975c1d6d8141b934;hp=1a84ab999de3f0e3aa219e434745b6fefa3d2daf;hpb=f77b88d124ea1c900f9cf5e04046939aad48bbe1;p=openwrt-10.03%2F.git 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 {