get submodules in cmake and package build
authorYonghong Song <yhs@fb.com>
Wed, 16 Jan 2019 23:47:24 +0000 (15:47 -0800)
committerYonghong Song <yhs@fb.com>
Thu, 17 Jan 2019 22:17:04 +0000 (14:17 -0800)
commitfbe94ddbde49a0b5d78cea0183dcaf10fe9e059e
tree022ae73dc4e8d3a501e6af239fa76bce7f96f1de
parentbf5b9a5bf4094fc129c76b95029e6fa034509c80
get submodules in cmake and package build

If the target directory src/cc/libbpf/ does not exist,
the top level CMakeLists.txt is changed to fetch
submodules with the following command
  git submodule update --init --recursive

The dev/rpm build scripts are also changed
to do git submodule update.

Signed-off-by: Yonghong Song <yhs@fb.com>
CMakeLists.txt
scripts/build-deb.sh
scripts/build-release-rpm.sh
scripts/build-rpm.sh