• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

コミットメタ情報

リビジョンf3e330e3c319160ac04954399b5a10afc965098c (tree)
日時2019-10-07 21:54:48
作者Michael Roth <mdroth@linu...>
コミッターPhilippe Mathieu-Daudé

ログメッセージ

roms/Makefile.edk2: don't pull in submodules when building from tarball

Currently the make efi target pulls submodules nested under the
roms/edk2 submodule as dependencies. However, when we attempt to build
from a tarball this fails since we are no longer in a git tree.

A preceding patch will pre-populate these submodules in the tarball,
so assume this build dependency is only needed when building from a
git tree.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Bruce Rogers <brogers@suse.com>
Cc: qemu-stable@nongnu.org # v4.1.0
Reported-by: Bruce Rogers <brogers@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Message-Id: <20190912231202.12327-3-mdroth@linux.vnet.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

変更サマリ

差分

--- a/roms/Makefile.edk2
+++ b/roms/Makefile.edk2
@@ -46,8 +46,13 @@ all: $(foreach flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd.bz2) \
4646 # files.
4747 .INTERMEDIATE: $(foreach flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd)
4848
49+# Fetch edk2 submodule's submodules. If it is not in a git tree, assume
50+# we're building from a tarball and that they've already been fetched by
51+# make-release/tarball scripts.
4952 submodules:
50- cd edk2 && git submodule update --init --force
53+ if test -d edk2/.git; then \
54+ cd edk2 && git submodule update --init --force; \
55+ fi
5156
5257 # See notes on the ".NOTPARALLEL" target and the "+" indicator in
5358 # "tests/uefi-test-tools/Makefile".