summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuo Yejun <yejun.guo@intel.com>2015-01-07 13:25:14 +0800
committerZhigang Gong <zhigang.gong@intel.com>2015-01-07 16:06:08 +0800
commitdaabc2b375611e933493adaeded6b9a73f21e205 (patch)
tree76ee0489b2738be058cbc753fb77e8b5ae1daa59
parent9d77bb72715e5bbb7c1260fa02ada0a52723c03b (diff)
refine gbe_bin_generater usage to add -t option
-t option specifies the gen target pci id, it tells gbe_bin_generater the target platform that it compiles for. The compile result is llvm level binary if this option is not given. Signed-off-by: Guo Yejun <yejun.guo@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
-rw-r--r--backend/src/gbe_bin_generater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/gbe_bin_generater.cpp b/backend/src/gbe_bin_generater.cpp
index f8e45fb1..f4be488d 100644
--- a/backend/src/gbe_bin_generater.cpp
+++ b/backend/src/gbe_bin_generater.cpp
@@ -310,7 +310,7 @@ int main (int argc, const char **argv)
deque<int> used_index;
if (argc < 2) {
- cout << "Usage: kernel_path [-pbuild_parameter]\n[-obin_path]" << endl;
+ cout << "Usage: kernel_path [-pbuild_parameter] [-obin_path] [-tgen_pci_id]" << endl;
return 0;
}