fix busybox config parsing for new config format
authorMike Baker <mbm@openwrt.org>
Fri, 12 May 2006 21:33:07 +0000 (21:33 +0000)
committerMike Baker <mbm@openwrt.org>
Fri, 12 May 2006 21:33:07 +0000 (21:33 +0000)
SVN-Revision: 3770

openwrt/scripts/gen_busybox_config.pl

index 1a84ab999de3f0e3aa219e434745b6fefa3d2daf..0c70b4a116311fa3642a388e93d1513ef384e71b 100755 (executable)
@@ -6,11 +6,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 {