]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: refactor BuildDPDK
authorKefu Chai <kchai@redhat.com>
Thu, 24 Oct 2019 06:07:18 +0000 (14:07 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 24 Oct 2019 07:15:51 +0000 (15:15 +0800)
commitd82ea5d738282ad0b418fc30b1179a9cab9bc290
treed4001553f64f916d3868d78f1b69355f4e6b3131
parent097de62bf98229e398f28233220772f04c5c93bc
cmake: refactor BuildDPDK

* extract `do_export_dpdk()` into a separated function
* no need to check for `dpdk-ext` target before calling `build_dpdk()`,
  as the name of this target should be hidden from the caller of this
  function.

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
cmake/modules/BuildDPDK.cmake