summaryrefslogtreecommitdiff
path: root/src/grt
diff options
context:
space:
mode:
authorTristan Gingold2014-12-13 07:44:49 +0100
committerTristan Gingold2014-12-13 07:44:49 +0100
commite3f6f212fe25e2fdb757d6bbf27fd51d0c296e8d (patch)
treebd82e7d1626d26cda90cff5f32bf47b44e477910 /src/grt
parentaa38995f30b7d0ed3d040622aecdb3e6e11385f0 (diff)
downloadghdl-e3f6f212fe25e2fdb757d6bbf27fd51d0c296e8d.tar.gz
ghdl-e3f6f212fe25e2fdb757d6bbf27fd51d0c296e8d.tar.bz2
ghdl-e3f6f212fe25e2fdb757d6bbf27fd51d0c296e8d.zip
Add support for NetBSD.
Diffstat (limited to 'src/grt')
-rw-r--r--src/grt/Makefile.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/grt/Makefile.inc b/src/grt/Makefile.inc
index 3bd6ac2..eafa8aa 100644
--- a/src/grt/Makefile.inc
+++ b/src/grt/Makefile.inc
@@ -53,6 +53,14 @@ ifeq ($(filter-out x86_64 linux,$(arch) $(osys)),)
GRT_TARGET_OBJS=amd64.o linux.o times.o
GRT_EXTRA_LIB=-ldl -lm $(GRT_ELF_OPTS)
endif
+ifeq ($(filter-out i%86 netbsd,$(arch) $(osys)),)
+ GRT_TARGET_OBJS=i386.o linux.o times.o
+ GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS)
+endif
+ifeq ($(filter-out x86_64 netbsd,$(arch) $(osys)),)
+ GRT_TARGET_OBJS=amd64.o linux.o times.o
+ GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS)
+endif
ifeq ($(filter-out i%86 freebsd%,$(arch) $(osys)),)
GRT_TARGET_OBJS=i386.o linux.o times.o
GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS)