From 114a1d2846d5c16ebcc591eca92c41a1411eb6bb Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 11 May 2017 07:57:37 -0600 Subject: [PATCH] Issue 5: I found an unexpected behavior in apps/ configuration generation. Adding external symbolic link in apps/ directory and using Make.defs for Kconfig generation, Kconfig file has a wrong path in the source argument. It contains original dir path outside of the source tree instead path to sub-directory in apps/. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The problem is connected with make/system symbolic link path resolution. Corrected by a patch submitted by Artur MÄ…drzak with Issue 5. --- Directory.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.mk b/Directory.mk index eb528b696..82bb719c7 100644 --- a/Directory.mk +++ b/Directory.mk @@ -46,7 +46,7 @@ all: nothing define SDIR_template $(1)_$(2): - $(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" + $(Q) cd $(1) $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" endef $(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),preconfig)))