X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=scripts%2Fgen_busybox_config.pl;h=9360052d293a30ad40564464930e2ffc419b4301;hb=f9e5c1b1d5c9d4968f8a3ca32a29e65997b704b9;hp=1a84ab999de3f0e3aa219e434745b6fefa3d2daf;hpb=3d904bb14a330fb72f60d4b78a40435389398655;p=openwrt-github%2F.git diff --git a/scripts/gen_busybox_config.pl b/scripts/gen_busybox_config.pl index 1a84ab999d..9360052d29 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 {