Skip to content
Snippets Groups Projects
Commit 2b84dfaf authored by Alexandru Ardelean's avatar Alexandru Ardelean Committed by John Crispin
Browse files

tools/qemu: use default host configure rule ; set appropriate vars & args


Admittedly, this is my own OCD wanting to get rid of this.

Because I tried (a while back to upgrade QEMU to a newer version),
and (during that attempt) I tried to get rid of this.

Tested on Linux & Mac.

Signed-off-by: default avatarAlexandru Ardelean <ardeleanalex@gmail.com>
parent 6b5dab94
No related branches found
No related tags found
No related merge requests found
...@@ -18,15 +18,13 @@ include $(INCLUDE_DIR)/host-build.mk ...@@ -18,15 +18,13 @@ include $(INCLUDE_DIR)/host-build.mk
HOST_CFLAGS += -I$(STAGING_DIR_HOST)/include/e2fsprogs HOST_CFLAGS += -I$(STAGING_DIR_HOST)/include/e2fsprogs
define Host/Configure HOST_CONFIGURE_VARS := \
(cd $(HOST_BUILD_DIR); \ CFLAGS="$(HOST_CFLAGS)" \
CFLAGS="$(HOST_CFLAGS)" \ LDFLAGS="$(HOST_LDFLAGS)"
LDFLAGS="$(HOST_LDFLAGS)" \
$(HOST_CONFIGURE_CMD) \ HOST_CONFIGURE_ARGS := \
--extra-cflags="$(HOST_CFLAGS)" \ --extra-cflags="$(HOST_CFLAGS)" \
--enable-uuid \ --enable-uuid
)
endef
define Host/Compile define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR) qemu-img $(MAKE) -C $(HOST_BUILD_DIR) qemu-img
......
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