projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72855b6
)
reintroduce LINUX_2_4 and LINUX_2_6 as config variables
author
Mike Baker
<mbm@openwrt.org>
Tue, 14 Nov 2006 20:19:48 +0000
(20:19 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Tue, 14 Nov 2006 20:19:48 +0000
(20:19 +0000)
SVN-Revision: 5534
scripts/gen_target_config.pl
patch
|
blob
|
history
diff --git
a/scripts/gen_target_config.pl
b/scripts/gen_target_config.pl
index 4d0d6b13ef45e0f959a469ff40c2ef9b5391298d..10c6c2c0b2d8dbf9a58039a3d99a8c5f1bc580fe 100755
(executable)
--- a/
scripts/gen_target_config.pl
+++ b/
scripts/gen_target_config.pl
@@
-40,6
+40,7
@@
while (<>) {
board => $2,
kernel => $3
};
+ $target->{kernel} =~ tr/\./_/;
push @target, $target;
};
/^Target-Name:\s*(.+)\s*$/ and $target->{name} = $1;
@@
-107,6
+108,7
@@
foreach $target (@target) {
config LINUX_$target->{conf}
bool "$target->{name}"
select $target->{arch}
+ select LINUX_$target->{kernel}
$features$help
EOF