diff options
author | Daniel P. Berrange | 2017-09-29 12:11:56 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2017-10-16 14:46:44 +0200 |
commit | aef45d51d1204f3335fb99de6658e0c5612c2b67 (patch) | |
tree | 3dd65cf0fd7f685cfd245e6f14f591f53de24126 /.gitignore | |
parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20171012'... (diff) | |
download | qemu-aef45d51d1204f3335fb99de6658e0c5612c2b67.tar.gz qemu-aef45d51d1204f3335fb99de6658e0c5612c2b67.tar.xz qemu-aef45d51d1204f3335fb99de6658e0c5612c2b67.zip |
build: automatically handle GIT submodule checkout for dtc
Currently if DTC is required by configure and not available in the host
OS install, we exit with an error message telling the user to checkout a
git submodule or install the library.
This introduces automatic handling of the git submodule checkout process
and enables it for dtc. This only runs if building from GIT, so users of
release tarballs still need the system library install. The current state
of the git checkout is stashed in .git-submodule-status, and a helper
program is used to determine if this state matches the desired submodule
state. A dependency against 'Makefile' ensures that the submodule state
is refreshed at the start of the build process
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170929101201.21039-2-berrange@redhat.com
[ kraxel: use /bin/sh not bash for scripts/git-submodule.sh ]
[ kraxel: fix Makefile dependencies ]
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
[fixup] Makefile dep
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 3a7e01dc6a..b5e115d96b 100644 --- a/.gitignore +++ b/.gitignore @@ -113,6 +113,7 @@ /docs/version.texi *.tps .stgit-* +.git-submodule-status cscope.* tags TAGS |