diff options
author | Mike Baker <mbm@openwrt.org> | 2006-05-12 21:33:07 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-05-12 21:33:07 +0000 |
commit | 4811f9dcdc666f950551ad27b4d49ad52bb7b9d0 (patch) | |
tree | 683ad5e195750a0ac4bac9197e640867cbebbefd /openwrt/scripts/gen_busybox_config.pl | |
parent | 7e8b5f9c557000110be7911811f144002cce2a29 (diff) | |
download | mtk-20170518-4811f9dcdc666f950551ad27b4d49ad52bb7b9d0.zip mtk-20170518-4811f9dcdc666f950551ad27b4d49ad52bb7b9d0.tar.gz mtk-20170518-4811f9dcdc666f950551ad27b4d49ad52bb7b9d0.tar.bz2 |
fix busybox config parsing for new config format
SVN-Revision: 3770
Diffstat (limited to 'openwrt/scripts/gen_busybox_config.pl')
-rwxr-xr-x | openwrt/scripts/gen_busybox_config.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/scripts/gen_busybox_config.pl b/openwrt/scripts/gen_busybox_config.pl index 1a84ab9..0c70b4a 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 { |