The "official" layout according to scripts/compile-flickernoise/Makefile
defines /opt/milkymist/ as the standard location for sources, and
adds a .git extension to each repository's directory. Neither
makes it very convenient.

A better choice is to use relative paths and to accept the
directory name git uses by default. With this patch,
ptest/Makefile does this, and we should convert everything
to this kind of layout.

If you're still using the old layout, you need to pass
MMDIR=/opt/milkymist/milkymist.git

- Werner

---
 src/compiler/ptest/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/compiler/ptest/Makefile b/src/compiler/ptest/Makefile
index 19901ef..465f577 100644
--- a/src/compiler/ptest/Makefile
+++ b/src/compiler/ptest/Makefile
@@ -3,7 +3,7 @@ RTEMS_MAKEFILE_PATH ?= \
     /opt/rtems-$(RTEMS_VERSION)/lm32-rtems$(RTEMS_VERSION)/milkymist/
 RTEMS_FPVM_H = $(RTEMS_MAKEFILE_PATH)/lib/include/fpvm
 
-MMDIR ?= /opt/milkymist/milkymist.git
+MMDIR ?= ../../../../milkymist
 LIBFPVM_X86 = $(MMDIR)/software/libfpvm/x86-linux
 
 CFLAGS_STANDALONE = -DSTANDALONE=\"standalone.h\"
-- 
1.7.1

_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to