summaryrefslogtreecommitdiff
path: root/packages/neuros-pkggen/files/config
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-07-07 20:45:00 +0000
committerKoen Kooi <koen@openembedded.org>2008-07-07 20:45:00 +0000
commitf556eb47ca170da06fc44bc6ea96e41d1e2f496d (patch)
tree3a1f8ec46a8c4d8a657a3b6b22612be08e743331 /packages/neuros-pkggen/files/config
parentde146d9244042609a485b4906ffdcf57864c0f07 (diff)
neuros-pkggen native: add tool to generate ready to flash upk images
Diffstat (limited to 'packages/neuros-pkggen/files/config')
-rw-r--r--packages/neuros-pkggen/files/config40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/neuros-pkggen/files/config b/packages/neuros-pkggen/files/config
new file mode 100644
index 0000000000..d323978b6d
--- /dev/null
+++ b/packages/neuros-pkggen/files/config
@@ -0,0 +1,40 @@
+# * Copyright(C) 2007 Neuros Technology International LLC.
+# * <www.neurostechnology.com>
+# *
+# * Terminal application config file.........TQ 2007-02-05
+
+# build target
+# ARM -- Neuros hardware.
+# HOST -- Host PC
+BUILD_TARGET := HOST
+
+# global test code switch
+# YES -- include test code
+# NO -- exclude all test code
+INCLUDE_TEST_CODE:= NO
+
+# BSP root directory
+BSP_ROOT := $(PRJROOT)
+
+
+# setting up tools etc.
+ifeq ($(BUILD_TARGET), ARM)
+ TOOLS_PREFIX :=arm-linux-
+ PROJ_TERMINAL_ENV :="--ARM--"
+ TOOLS_PATH :=${PATH}:${BSP_ROOT}/toolchain/bin
+endif
+ifeq ($(BUILD_TARGET), HOST)
+ TOOLS_PREFIX:=
+ PROJ_TERMINAL_ENV="--HOST--"
+ TOOLS_PATH :=${PATH}
+endif
+PATH:=${TOOLS_PATH}
+
+
+# tools definition
+CC := $(TOOLS_PREFIX)gcc
+CXX := $(TOOLS_PREFIX)g++
+AR := $(TOOLS_PREFIX)ar
+LD := $(TOOLS_PREFIX)ld
+NM := $(TOOLS_PREFIX)nm
+STRIP := $(TOOLS_PREFIX)strip