summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-02-26 15:45:21 -0500
committerPeter Foley <pefoley2@verizon.net>2013-02-26 16:51:55 -0500
commit7f3c006d9b7fb8d57d69e3385703516f0932b168 (patch)
tree7b8282af55575f68a12a2eb7dcd462b8108d192c /Makefile.in
parent98814c01f3ed572109caf6595669e2a6c30faae3 (diff)
fixes for building in a separate dir
Change-Id: I244fa0c54c8d98827ab0a987ba353dedf733e695
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 35a24d802f99..00ae07e3b6f4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -65,7 +65,7 @@ endif
$(WORKDIR)/modules.mk: $(wildcard */Module_*.mk) $(wildcard */prj/dmake) $(BUILDDIR)/config_host.mk
mkdir -p $(dir $@)
echo "gbuild_modules:= tail_build \\" > $@
- for m in */Module_*.mk; do echo $$m | sed -e 's/\/.*$$/ \\/'; done >> $@
+ for m in `cd $(SRCDIR) && */Module_*.mk`; do echo $$m | sed -e 's/\/.*$$/ \\/'; done >> $@
echo >> $@
echo -n "dmake_modules:=" >> $@
echo >> $@