sbsv2/raptor/notes/query_cli.txt
author Zheng Shen <zheng.shen@nokia.com>
Wed, 27 Oct 2010 19:16:18 +0800
changeset 663 8e27d440923e
parent 591 22486c9c7b15
permissions -rw-r--r--
revert to 7c11c3d8d025
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     1
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     2
A new --query command-line option allows other tools to easily read raptor's
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     3
configuration data without having to understand exactly how raptor config
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     4
files work.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     5
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     6
For example, all the valid build aliases which can be used to build with
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     7
the -c option can be obtained using:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     8
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     9
sbs --query=aliases
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    10
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    11
All the known product variants can be obtained using:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    12
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    13
sbs --query=products
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    14
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    15
And the details of a particular configuration can be found using:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    16
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    17
sbs --query=config[armv5_urel.n8]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    18