summaryrefslogtreecommitdiff
path: root/recipes/neuros-pkggen/files/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/neuros-pkggen/files/Makefile.rules')
-rw-r--r--recipes/neuros-pkggen/files/Makefile.rules18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/neuros-pkggen/files/Makefile.rules b/recipes/neuros-pkggen/files/Makefile.rules
new file mode 100644
index 0000000000..17550c5e39
--- /dev/null
+++ b/recipes/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