From: Mike Baker Date: Fri, 12 May 2006 21:33:07 +0000 (+0000) Subject: fix busybox config parsing for new config format X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4811f9dcdc666f950551ad27b4d49ad52bb7b9d0;p=openwrt%2Fstaging%2Frmilecki.git fix busybox config parsing for new config format SVN-Revision: 3770 --- diff --git a/openwrt/scripts/gen_busybox_config.pl b/openwrt/scripts/gen_busybox_config.pl index 1a84ab999de..0c70b4a1163 100755 --- a/openwrt/scripts/gen_busybox_config.pl +++ b/openwrt/scripts/gen_busybox_config.pl @@ -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 {