Skip to content

Commit

Permalink
tools/qemu: use default host configure rule ; set appropriate vars & …
Browse files Browse the repository at this point in the history
…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: Alexandru Ardelean <ardeleanalex@gmail.com>
  • Loading branch information
commodo authored and blogic committed Jan 18, 2017
1 parent 6b5dab9 commit 2b84dfa
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions tools/qemu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ include $(INCLUDE_DIR)/host-build.mk

HOST_CFLAGS += -I$(STAGING_DIR_HOST)/include/e2fsprogs

define Host/Configure
(cd $(HOST_BUILD_DIR); \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
$(HOST_CONFIGURE_CMD) \
--extra-cflags="$(HOST_CFLAGS)" \
--enable-uuid \
)
endef
HOST_CONFIGURE_VARS := \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)"

HOST_CONFIGURE_ARGS := \
--extra-cflags="$(HOST_CFLAGS)" \
--enable-uuid

define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR) qemu-img
Expand Down

0 comments on commit 2b84dfa

Please sign in to comment.