From: hadaq Date: Mon, 23 May 2011 00:36:09 +0000 (+0000) Subject: pexor dma support added X-Git-Tag: v6.0~149 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=117c7711ce2bfcf23c2a5169fb9d2b56eae7bff2;p=trbnettools.git pexor dma support added --- diff --git a/trbrich/Makefile b/trbrich/Makefile index 94b4ffb..997b019 100644 --- a/trbrich/Makefile +++ b/trbrich/Makefile @@ -1,11 +1,18 @@ # ------------ Compiler / Linker Options ------------------------------- -AXIS_USABLE_LIBS = UCLIBC GLIBC -include $(AXIS_TOP_DIR)/tools/build/Rules.axis - -INCDIR = -I. -I../libtrbnet -CPPFLAGS = - +ifdef AXIS_TOP_DIR + AXIS_USABLE_LIBS = UCLIBC GLIBC + include $(AXIS_TOP_DIR)/tools/build/Rules.axis +else + CC = gcc + ifeq ($(shell uname -m), x86_64) + CPPFLAGS = -DPEXOR -DX86_64 + else + CPPFLAGS = -DPEXOR + endif +endif + +INCDIR = -I../libtrbnet CFLAGS = -pipe -g -Wall -Winline -O3 -fPIC -finline-functions -finline-limit=600000 LD = $(CC)