source: freewrt/scripts/gen_busybox_config.pl@ fdd4f59

freewrt_1_0 freewrt_2_0
Last change on this file since fdd4f59 was c04ece1, checked in by Thorsten Glaser <tg@…>, 19 years ago

as discussed with wbx@ some 2-3 weeks ago, change
the BR2_ prefix to FWRT_

tested with a standard build (only the squashfs
image since the jffs2 didn't get built)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@360 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100755
File size: 335 bytes
Line 
1#!/usr/bin/perl
2use strict;
3
4my $line;
5my $l1 = '';
6my $l2 = '=y';
7while (<>) {
8 chomp;
9 /^(# )FWRT_LARGEFILE(.+)$/ and do {
10 $l1 = $1;
11 $l2 = $2;
12 };
13 /^(# )?BUSYBOX_(.+)/ and do {
14 my $p1 = $1;
15 my $p2 = $2;
16 $p2 =~ /(CONFIG_LFS|FDISK_SUPPORT_LARGE_DISKS)/ and do {
17 $p1 = $l1;
18 $p2 = "$1$l2";
19 };
20 print "$p1$p2\n";
21 }
22}
Note: See TracBrowser for help on using the repository browser.