]> rtime.felk.cvut.cz Git - orte.git/commitdiff
Add missing OMK Makefile for rtems-shell example.
authorPavel Pisa <pi@thor>
Fri, 13 Sep 2013 20:29:43 +0000 (22:29 +0200)
committerPavel Pisa <pi@thor>
Fri, 13 Sep 2013 20:29:43 +0000 (22:29 +0200)
Signed-off-by: Pavel Pisa <pi@thor>
orte/examples/rtems-shell/Makefile [new file with mode: 0644]

diff --git a/orte/examples/rtems-shell/Makefile b/orte/examples/rtems-shell/Makefile
new file mode 100644 (file)
index 0000000..b22a357
--- /dev/null
@@ -0,0 +1,14 @@
+# Generic directory or leaf node makefile for OCERA make framework
+
+ifndef MAKERULES_DIR
+MAKERULES_DIR := $(shell ( old_pwd="" ;  while [ ! -e Makefile.rules ] ; do if [ "$$old_pwd" = `pwd`  ] ; then exit 1 ; else old_pwd=`pwd` ; cd -L .. 2>/dev/null ; fi ; done ; pwd ) )
+endif
+
+ifeq ($(MAKERULES_DIR),)
+all : default
+.DEFAULT::
+       @echo -e "\nThe Makefile.rules has not been found in this or partent directory\n"
+else
+include $(MAKERULES_DIR)/Makefile.rules
+endif
+