summaryrefslogtreecommitdiff
path: root/packages/neuros-pkggen/files/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'packages/neuros-pkggen/files/Makefile.rules')
-rw-r--r--packages/neuros-pkggen/files/Makefile.rules18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/neuros-pkggen/files/Makefile.rules b/packages/neuros-pkggen/files/Makefile.rules
new file mode 100644
index 0000000000..17550c5e39
--- /dev/null
+++ b/packages/neuros-pkggen/files/Makefile.rules
@@ -0,0 +1,18 @@
+# * Copyright(C) 2007 Neuros Technology International LLC.
+# * <www.neurostechnology.com>
+# *
+# * Terminal application make rules..........TQ 2007-02-05
+
+## build target config.
+ifeq ($(BUILD_TARGET), ARM)
+DEFINES += -DBUILD_TARGET_ARM=1
+else
+DEFINES += -DBUILD_TARGET_ARM=0
+endif
+
+## global test code switch.
+ifeq ($(INCLUDE_TEST_CODE), YES)
+DEFINES += -DTERMINAL_TEST_CODE=1
+else
+DEFINES += -DTERMINAL_TEST_CODE=0
+endif