Cleanups on romboot and u-boot.
[openwrt-10.03/.git] / scripts / gen_busybox_config.pl
index 1a84ab999de3f0e3aa219e434745b6fefa3d2daf..9360052d293a30ad40564464930e2ffc419b4301 100755 (executable)
@@ -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 {