aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/target-metadata.pl
diff options
context:
space:
mode:
authorSergey Sergeev <adron@yapic.net>2016-06-28 14:55:12 +0300
committerJohn Crispin <john@phrozen.org>2016-07-05 22:59:14 +0200
commit17ee6bb8f344dd1db027186de272badb6ba2020b (patch)
tree9ab204a41ad2ed904684052035c00b1864e06c45 /scripts/target-metadata.pl
parenta3e7d5e7ae25ffb6fbae30fa6dc65fbc73d1297f (diff)
downloadupstream-17ee6bb8f344dd1db027186de272badb6ba2020b.tar.gz
upstream-17ee6bb8f344dd1db027186de272badb6ba2020b.tar.bz2
upstream-17ee6bb8f344dd1db027186de272badb6ba2020b.zip
tools: add kernel2minor utility for Mikrotik devices
This patch adds support of Mikrotik yaffs2 filesystem image for kernel file and tools/kernel2minor package. We neede this to boot kernel through RouterBoot on new Mikrotik NOR flash devices. Signed-off-by: Sergey Sergeev <adron@yapic.net>
Diffstat (limited to 'scripts/target-metadata.pl')
-rwxr-xr-xscripts/target-metadata.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index ea6462c94f..ca9940e9d9 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -27,6 +27,7 @@ sub target_config_features(@) {
/ext4/ and $ret .= "\tselect USES_EXT4\n";
/targz/ and $ret .= "\tselect USES_TARGZ\n";
/cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
+ /minor/ and $ret .= "\tselect USES_MINOR\n";
/ubifs/ and $ret .= "\tselect USES_UBIFS\n";
/fpu/ and $ret .= "\tselect HAS_FPU\n";
/spe_fpu/ and $ret .= "\tselect HAS_SPE_FPU\n";