|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 1/2] build: Always have 'BUILD_DIR' variable pointing to the root of the build tree |
Date: | Thu, 15 Sep 2011 22:11:16 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 |
On 09/15/2011 07:16 PM, Lluís Vilanova wrote:
subdir-%: $(GENERATED_HEADERS) - $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C $* V="$(V)" TARGET_DIR="$*/" all,) + $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C $* V="$(V)" BUILD_DIR=$(BUILD_DIR) TARGET_DIR="$*/" all,)
Since you have to add the s-o-b line anyway, please add BUILD_DIR to SUBDIR_MAKEFLAGS instead.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |