diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-07-17 00:06:49 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-07-17 00:06:49 +0000 |
commit | e5a07e89eee07991812965e5de9855524326046d (patch) | |
tree | af0292e04acbd90cec81e21a5c10b76731ed7bba /packages/neuros-pkggen/files/config | |
parent | af568c07872e91924a320060b9b651ad23efc67c (diff) | |
parent | ce10c417ad24f7d9d1db3e63a076d56ac9143252 (diff) |
merge of '4c6f4640a8b948badde77deaaebbfc2c9959ecae'
and 'e5e5a9814f67f07864e0b56012257f49ace89669'
Diffstat (limited to 'packages/neuros-pkggen/files/config')
-rw-r--r-- | packages/neuros-pkggen/files/config | 40 |
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 |