sbsv2/raptor/notes/query_cli.txt
author jascui
Mon, 29 Nov 2010 15:43:27 +0800
changeset 709 1ec2202bb75b
parent 591 22486c9c7b15
permissions -rw-r--r--
Removing "repeated" file existence checking from ROMBUILD
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