From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Mon, 10 Feb 2014 22:59:04 +0100 Subject: [Buildroot] [PATCH] Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG In-Reply-To: <1392068935-25510-1-git-send-email-arnout@mind.be> References: <1392068935-25510-1-git-send-email-arnout@mind.be> Message-ID: <20140210215904.GF5239@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Arnout, All, On 2014-02-10 22:48 +0100, Arnout Vandecappelle (Essensium/Mind) spake thusly: > The legacy support for the old BUILDROOT_DL_DIR and BUILDROOT_CONFIG > breaks down when make is invoked recursively - which is done in a few > cases, e.g. silentoldconfig, external-defs, ... These targets always > give a legacy error. > > For BUILDROOT_DL_DIR, this is fixed by making sure that the original > value of BR2_DL_DIR taken from the environment is also exported again. > > For BUILDROOT_CONFIG, this is fixed with an additional comparison of > the environment variable's value with the fake value that we introduce > ourselves. > > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Tested-by: "Yann E. MORIN" Fixes (at least): make graph-depends make PKG-graph-depends Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'