]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
build/gumstix: Add directory for cross-compilation for gumstix.
authorMichal Vokac <vokac.m@gmail.com>
Thu, 31 Mar 2011 11:59:27 +0000 (13:59 +0200)
committerMichal Vokac <vokac.m@gmail.com>
Thu, 31 Mar 2011 11:59:27 +0000 (13:59 +0200)
build/gumstix/Makefile [new file with mode: 0644]
build/gumstix/Makefile.omk [new file with mode: 0644]
build/gumstix/Makefile.rules [new symlink]
build/gumstix/config.target [new file with mode: 0644]
build/gumstix/display-qt [new symlink]

diff --git a/build/gumstix/Makefile b/build/gumstix/Makefile
new file mode 100644 (file)
index 0000000..08cf5ff
--- /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
+
diff --git a/build/gumstix/Makefile.omk b/build/gumstix/Makefile.omk
new file mode 100644 (file)
index 0000000..5baf5ed
--- /dev/null
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS = $(ALL_OMK_SUBDIRS)
diff --git a/build/gumstix/Makefile.rules b/build/gumstix/Makefile.rules
new file mode 120000 (symlink)
index 0000000..3f37f8d
--- /dev/null
@@ -0,0 +1 @@
+../_infrastructure/Makefile.rules
\ No newline at end of file
diff --git a/build/gumstix/config.target b/build/gumstix/config.target
new file mode 100644 (file)
index 0000000..8391743
--- /dev/null
@@ -0,0 +1,16 @@
+CROSS_COMPILE = arm-linux-gnueabi-
+CC = $(CROSS_COMPILE)gcc
+CXX = $(CROSS_COMPILE)g++
+AS = $(CROSS_COMPILE)as
+AR = $(CROSS_COMPILE)ar
+STRIP = $(CROSS_COMPILE)strip
+
+CFLAGS = -Wall
+CXXFLAGS = $(CFLAGS)
+
+#INCLUDES = $(-I/home/zandar/programovani/embedded/qt4/target/include)
+
+IDL_COMPILER = orte-idl
+IDL_COMPILER=$(MAKERULES_DIR)/../host/_compiled/bin/orte-idl
+CONFIG_UOLED_TTY="/dev/null"
+CONFIG_OC_ULUTKERN=n
diff --git a/build/gumstix/display-qt b/build/gumstix/display-qt
new file mode 120000 (symlink)
index 0000000..adaa284
--- /dev/null
@@ -0,0 +1 @@
+../../src/display-qt/
\ No newline at end of file