Skip to content
Snippets Groups Projects
Commit ff95d60e authored by Jerome Forissier's avatar Jerome Forissier Committed by Jérôme Forissier
Browse files

qemu_v8: add scripts_gdb to LINUX_COMMON_FLAGS


Commit c993ec99 ("qemu_v8.mk: add scripts_gdb kernel build target")
has added "$(MAKE) -C $(LINUX_PATH) $(LINUX_COMMON_FLAGS) scripts_gdb" to the
linux: recipe. Since linux: depends on linux-common which already runs
"$(MAKE) -C $(LINUX_PATH) $(LINUX_COMMON_FLAGS)", and since
$(LINUX_COMMON_FLAGS) contains "Image", the Image target is made twice.
It is more efficient to remove the added line and add scripts_gdb to
LINUX_COMMON_FLAGS instead.

Signed-off-by: default avatarJerome Forissier <jerome@forissier.org>
Acked-by: default avatarPeter Griffin <peter.griffin@linaro.org>
parent 02eaba7d
No related branches found
No related tags found
No related merge requests found
......@@ -218,10 +218,9 @@ LINUX_DEFCONFIG_COMMON_FILES := \
linux-defconfig: $(LINUX_PATH)/.config
LINUX_COMMON_FLAGS += ARCH=arm64 Image
LINUX_COMMON_FLAGS += ARCH=arm64 Image scripts_gdb
linux: linux-common
$(MAKE) -C $(LINUX_PATH) $(LINUX_COMMON_FLAGS) scripts_gdb
mkdir -p $(BINARIES_PATH)
ln -sf $(LINUX_PATH)/arch/arm64/boot/Image $(BINARIES_PATH)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment