commit aaf7f32a63cb0eba4ac88b72da8328a5ac76b0b3
parent 8e1140bdf618ee898e69f637d6fd8ebf8152931c
Author: Roberto E. Vargas Caballero <roberto@clue.aero>
Date: Tue, 13 Aug 2019 09:39:59 +0200
[test/unit] Add the driver object to tests 002 and 003
As these tests are linking with romfw/builtin.o then
they also need the driver builtin. It would be
a good idea to break this dependency.
Change-Id: Ib2fb54155784307620968a913e494221d8707d6b
Diffstat:
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/rules.mk b/scripts/rules.mk
@@ -14,7 +14,6 @@ SCRIPTDIR = $(PROJECTDIR)/scripts
CONFDIR = $(PROJECTDIR)/config
INCLUDES = -I$(INCDIR) -I$(INCDIR)/bits/$(ARCH)/ -I$(INCDIR)/bits/$(SYS)
LIBS = -lhdl -lrmu -l9p -lk -lc
-DRIVERS = $(PROJECTDIR)/drivers/builtin.o
ENVIRON = $(SCRIPTDIR)/env.sh
LIBDEP = $(LIBDIR)/libhdl.a \
diff --git a/test/unit/002/Makefile b/test/unit/002/Makefile
@@ -6,6 +6,7 @@ include ../rules.mk
OBJS = $(LIBDIR)/crt.o \
$(TARGETDIR)/arch.o \
$(SRCDIR)/romfw/builtin.o \
+ $(DRVDIR)/builtin.o \
test.o \
TARGET = run
diff --git a/test/unit/003/Makefile b/test/unit/003/Makefile
@@ -6,6 +6,7 @@ include ../rules.mk
OBJS = $(LIBDIR)/crt.o \
$(TARGETDIR)/arch.o \
$(SRCDIR)/romfw/builtin.o \
+ $(DRVDIR)/builtin.o \
test.o \
TARGET = run