From 117c7711ce2bfcf23c2a5169fb9d2b56eae7bff2 Mon Sep 17 00:00:00 2001 From: hadaq Date: Mon, 23 May 2011 00:36:09 +0000 Subject: [PATCH] pexor dma support added --- trbrich/Makefile | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) 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) -- 2.43.0