diff options
author | 2022-03-02 16:11:35 +0530 | |
---|---|---|
committer | 2022-05-13 06:10:15 +0000 | |
commit | 8d283a3f7cfb491b881e4393e75fc66a2c11c0dc (patch) | |
tree | 14c6deef8787e021891a856f7ab7721cf16f0e1c /src | |
parent | 2fcc501a8cf9f5a7dbcedf48946e225dfc485ff8 (diff) |
QEMU: Fix Qemu Build.
This patch fixes the qemu build issue.
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Change-Id: I9ffa9487b392a309141b8abfb3fa951c0b89e2fd
Diffstat (limited to 'src')
-rwxr-xr-x | src/qemu/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qemu/Makefile b/src/qemu/Makefile index b105496c..fe658c41 100755 --- a/src/qemu/Makefile +++ b/src/qemu/Makefile @@ -1,7 +1,7 @@ # makefile to manage qemu package # -# Copyright (c) 2015-2016 OPNFV and Intel Corporation. +# Copyright (c) 2015-2022 Anuket, Intel Corporation, and The Linux Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ include ../mk/master.mk include ../package-list.mk WORK_DIR = qemu +SUBMODULE_CONFIG_FILE = $(WORK_DIR)/.gitmodules TAG_DONE_FLAG = $(WORK_DIR)/.$(QEMU_TAG).done INSTALL_TARGET = force_make force_install CONFIG_CMD = @@ -40,6 +41,9 @@ config $(WORK_DIR)/Makefile: $(WORK_DIR)/configure force_make: $(WORK_DIR)/Makefile $(AT)cd $(WORK_DIR) && git pull $(QEMU_URL) $(QEMU_TAG) $(AT)echo "git pull done" + $(AT)sed -i -e 's/https\:\/\/git.qemu.org\/git\/capstone\.git/https\:\/\/github.com\/capstone-engine\/capstone\.git/g' $(SUBMODULE_CONFIG_FILE) + $(AT)sed -i -e 's/https\:\/\/git.qemu.org\/git\/dtc\.git/https\:\/\/github.com\/qemu\/dtc\.git/g' $(SUBMODULE_CONFIG_FILE) + $(AT)sed -i -e 's/https\:\/\/git.qemu.org\/git\/keycodemapdb\.git/https\:\/\/github.com\/qemu\/keycodemapdb\.git/g' $(SUBMODULE_CONFIG_FILE) $(AT)$(MAKE) -C $(WORK_DIR) $(MORE_MAKE_FLAGS) @echo "Make done" |