summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKoop Mast <kwm@rainbow-runner.nl>2015-07-14 11:54:16 +0200
committerYang Rong <rong.r.yang@intel.com>2015-07-17 12:48:07 +0800
commit9b9caff76a1cf6b0648c14ceb2a0ecd6753f7c78 (patch)
tree876e9422837469854292e2bafd60a2414520b358 /src
parent55c85381ceecbb12d4bf8135251c8a3fca4617c0 (diff)
downloadbeignet-9b9caff76a1cf6b0648c14ceb2a0ecd6753f7c78.tar.gz
Reorder GBE_BIN_GENERATER arguments.
Basically, it boils down to a difference in getopt(3). The getopt(3) on (Free)BSD will exit parsing arguments at the first unknown argument. Signed-off-by: Koop Mast <kwm@rainbow-runner.nl> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4e67c71f..40a9afbe 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -16,13 +16,13 @@ foreach (KF ${KERNEL_FILES})
add_custom_command(
OUTPUT ${output_file}
COMMAND rm -rf ${output_file}
- COMMAND ${GBE_BIN_GENERATER} -s ${input_file} -o${output_file} -t${GEN_PCI_ID}
+ COMMAND ${GBE_BIN_GENERATER} -s -o${output_file} -t${GEN_PCI_ID} ${input_file}
DEPENDS ${input_file} ${GBE_BIN_FILE})
else(GEN_PCI_ID)
add_custom_command(
OUTPUT ${output_file}
COMMAND rm -rf ${output_file}
- COMMAND ${GBE_BIN_GENERATER} -s ${input_file} -o${output_file}
+ COMMAND ${GBE_BIN_GENERATER} -s -o${output_file} ${input_file}
DEPENDS ${input_file} ${GBE_BIN_FILE})
endif(GEN_PCI_ID)
endforeach (KF)