aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-03-16 10:18:50 -0400
committerPaul Selkirk <paul@psgd.org>2016-03-16 10:18:50 -0400
commit533898d765397abb07be72d7c394a8908157ad8c (patch)
treef5e88b52f52f0f1896c887c4445e152767269aec /Makefile
parentc77986dcefbf2123caea6c2fb0573eb81226348c (diff)
Added uart_recv_char() to support RPC.
Moved hal_io_fmc.c to libhal repo.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bfd8a02..3324969 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ SELF-TESTS = fmc-test led-test short-test uart-test fmc-perf
vpath %.c self-test
# apps originally written for unix-like environment
-LIBHAL-TESTS = cores test-bus test-trng test-hash test-aes-key-wrap test-pbkdf2 test-ecdsa test-rsa
+LIBHAL-TESTS = cores test-bus test-trng test-hash test-aes-key-wrap test-pbkdf2 test-ecdsa test-rsa test-rpc_server
vpath %.c libhal/tests libhal/utils
# absolute path, because we're going to be passing -I cflags to sub-makes
@@ -90,8 +90,8 @@ $(STD_PERIPH_LIB)/libstmf4.a:
thirdparty/libtfm/libtfm.a:
$(MAKE) -C thirdparty/libtfm PREFIX=$(PREFIX)
-libhal/libhal.a: hal_io_fmc.o thirdparty/libtfm/libtfm.a
- $(MAKE) -C libhal IO_OBJ=../hal_io_fmc.o libhal.a
+libhal/libhal.a: thirdparty/libtfm/libtfm.a
+ $(MAKE) -C libhal IO_BUS=fmc RPC_SERVER=yes RPC_TRANSPORT=serial KS=volatile libhal.a
self-test: $(SELF-TESTS:=.elf)