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/.

The problem is connected with make/system symbolic link path resolution.  Corrected by a patch submitted by Artur Mądrzak with Issue 5.
This commit is contained in:
Gregory Nutt 2017-05-11 07:57:37 -06:00
parent 1bad025c81
commit 114a1d2846

View file

@ -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)))