sbsv2/raptor/notes/query_cli.txt
author Ross Qin <ross.qin@nokia.com>
Tue, 30 Nov 2010 14:05:41 +0800
changeset 713 7b7f0409fc00
parent 591 22486c9c7b15
permissions -rw-r--r--
merge
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