summaryrefslogtreecommitdiff
path: root/digital/avr/modules/trace/test/test_target/Makefile
diff options
context:
space:
mode:
authorNélio Laranjeiro2008-11-10 21:11:44 +0100
committerNélio Laranjeiro2008-11-10 21:11:44 +0100
commite2b76c46c6d26d26b1666f94f4d22fb2e7cb0f86 (patch)
tree73a8b11ab9ce2b5f3f08077ddc96d1eab09c044e /digital/avr/modules/trace/test/test_target/Makefile
parente15619e199eed4a40aa401f1f6db8c1d81d87c65 (diff)
avr/modules/trace: unit tests
* Moved the tests to the test_host (test sub-directory) * Added a target test.
Diffstat (limited to 'digital/avr/modules/trace/test/test_target/Makefile')
-rw-r--r--digital/avr/modules/trace/test/test_target/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/digital/avr/modules/trace/test/test_target/Makefile b/digital/avr/modules/trace/test/test_target/Makefile
new file mode 100644
index 00000000..010ba999
--- /dev/null
+++ b/digital/avr/modules/trace/test/test_target/Makefile
@@ -0,0 +1,14 @@
+BASE = ../../../..
+AVR_PROGS = test-trace
+
+test-trace_SOURCES = test-trace.c
+
+MODULES = utils spi flash proto uart trace
+CONFIGFILE = avrconfig.h
+# atmega8, atmega8535, atmega128...
+AVR_MCU = atmega128
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -O2
+
+include $(BASE)/make/Makefile.gen