fix busybox config parsing for new config format
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 May 2006 21:33:07 +0000 (21:33 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 May 2006 21:33:07 +0000 (21:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3770 3c298f89-4303-0410-b956-a3cf2f4a3e73

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 {